Class Organization.Builder (0.3.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Organization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Organization.Builder
Overrides

build()

public Organization build()
Returns
Type Description
Organization

buildPartial()

public Organization buildPartial()
Returns
Type Description
Organization

clear()

public Organization.Builder clear()
Returns
Type Description
Organization.Builder
Overrides

clearDisplayName()

public Organization.Builder clearDisplayName()

The human-readable name for the organization.

string display_name = 2;

Returns
Type Description
Organization.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Organization.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Organization.Builder
Overrides

clearName()

public Organization.Builder clearName()

Identifier. The resource name of the GMP organization. Format: organizations/{org_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
Organization.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Organization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Organization.Builder
Overrides

clone()

public Organization.Builder clone()
Returns
Type Description
Organization.Builder
Overrides

getDefaultInstanceForType()

public Organization getDefaultInstanceForType()
Returns
Type Description
Organization

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The human-readable name for the organization.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The human-readable name for the organization.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

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.

getNameBytes()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Organization other)

public Organization.Builder mergeFrom(Organization other)
Parameter
Name Description
other Organization
Returns
Type Description
Organization.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Organization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Organization.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Organization.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Organization.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Organization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Organization.Builder
Overrides

setDisplayName(String value)

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.

Returns
Type Description
Organization.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

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.

Returns
Type Description
Organization.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Organization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Organization.Builder
Overrides

setName(String value)

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.

Returns
Type Description
Organization.Builder

This builder for chaining.

setNameBytes(ByteString value)

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.

Returns
Type Description
Organization.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Organization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Organization.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Organization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Organization.Builder
Overrides