/** * * * <pre> * Required. Names of one or more parent resources from which to * retrieve log entries: * "projects/[PROJECT_ID]" * "organizations/[ORGANIZATION_ID]" * "billingAccounts/[BILLING_ACCOUNT_ID]" * "folders/[FOLDER_ID]" * Projects listed in the `project_ids` field are added to this list. * </pre> * * <code>repeated string resource_names = 8;</code> */ public Builder addResourceNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureResourceNamesIsMutable(); resourceNames_.add(value); onChanged(); return this; }
/** * * * <pre> * Required. Names of one or more parent resources from which to * retrieve log entries: * "projects/[PROJECT_ID]" * "organizations/[ORGANIZATION_ID]" * "billingAccounts/[BILLING_ACCOUNT_ID]" * "folders/[FOLDER_ID]" * Projects listed in the `project_ids` field are added to this list. * </pre> * * <code>repeated string resource_names = 8;</code> */ public Builder setResourceNames(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureResourceNamesIsMutable(); resourceNames_.set(index, value); onChanged(); return this; } /**
/** * * * <pre> * Required. Names of one or more parent resources from which to * retrieve log entries: * "projects/[PROJECT_ID]" * "organizations/[ORGANIZATION_ID]" * "billingAccounts/[BILLING_ACCOUNT_ID]" * "folders/[FOLDER_ID]" * Projects listed in the `project_ids` field are added to this list. * </pre> * * <code>repeated string resource_names = 8;</code> */ public Builder addResourceNames(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureResourceNamesIsMutable(); resourceNames_.add(value); onChanged(); return this; } /**
bitField0_ = (bitField0_ & ~0x00000002); } else { ensureResourceNamesIsMutable(); resourceNames_.addAll(other.resourceNames_);
/** * * * <pre> * Required. Names of one or more parent resources from which to * retrieve log entries: * "projects/[PROJECT_ID]" * "organizations/[ORGANIZATION_ID]" * "billingAccounts/[BILLING_ACCOUNT_ID]" * "folders/[FOLDER_ID]" * Projects listed in the `project_ids` field are added to this list. * </pre> * * <code>repeated string resource_names = 8;</code> */ public Builder addAllResourceNames(java.lang.Iterable<java.lang.String> values) { ensureResourceNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceNames_); onChanged(); return this; } /**