public static final class Organization.Builder extends GeneratedMessageV3.Builder<Organization.Builder> implements OrganizationOrBuilder
A resource message representing a Google Marketing Platform organization.
Protobuf type google.marketingplatform.admin.v1alpha.Organization
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public Organization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Organization build()
public Organization buildPartial()
public Organization.Builder clear()
Overrides
public Organization.Builder clearDisplayName()
The human-readable name for the organization.
string display_name = 2;
public Organization.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Organization.Builder clearName()
Identifier. The resource name of the GMP organization.
Format: organizations/{org_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
public Organization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Organization.Builder clone()
Overrides
public Organization getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getDisplayName()
The human-readable name for the organization.
string display_name = 2;
Returns |
Type |
Description |
String |
The displayName.
|
public ByteString getDisplayNameBytes()
The human-readable name for the organization.
string display_name = 2;
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
Identifier. The resource name of the GMP organization.
Format: organizations/{org_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
Identifier. The resource name of the GMP organization.
Format: organizations/{org_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Organization.Builder mergeFrom(Organization other)
public Organization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Organization.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final Organization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Organization.Builder setDisplayName(String value)
The human-readable name for the organization.
string display_name = 2;
Parameter |
Name |
Description |
value |
String
The displayName to set.
|
public Organization.Builder setDisplayNameBytes(ByteString value)
The human-readable name for the organization.
string display_name = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for displayName to set.
|
public Organization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Organization.Builder setName(String value)
Identifier. The resource name of the GMP organization.
Format: organizations/{org_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter |
Name |
Description |
value |
String
The name to set.
|
public Organization.Builder setNameBytes(ByteString value)
Identifier. The resource name of the GMP organization.
Format: organizations/{org_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
public Organization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final Organization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides