Class CoordinatorKeyInfo.Builder (0.16.0)

public static final class CoordinatorKeyInfo.Builder extends GeneratedMessage.Builder<CoordinatorKeyInfo.Builder> implements CoordinatorKeyInfoOrBuilder

Information about the coordinator key.

Protobuf type google.ads.datamanager.v1.CoordinatorKeyInfo

Static Methods

getDescriptor()

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

Methods

build()

public CoordinatorKeyInfo build()
Returns
Type Description
CoordinatorKeyInfo

buildPartial()

public CoordinatorKeyInfo buildPartial()
Returns
Type Description
CoordinatorKeyInfo

clear()

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

clearKeyId()

public CoordinatorKeyInfo.Builder clearKeyId()

Required. The ID of the chosen coordinator key.

string key_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CoordinatorKeyInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public CoordinatorKeyInfo getDefaultInstanceForType()
Returns
Type Description
CoordinatorKeyInfo

getDescriptorForType()

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

getKeyId()

public String getKeyId()

Required. The ID of the chosen coordinator key.

string key_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The keyId.

getKeyIdBytes()

public ByteString getKeyIdBytes()

Required. The ID of the chosen coordinator key.

string key_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for keyId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CoordinatorKeyInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setKeyId(String value)

public CoordinatorKeyInfo.Builder setKeyId(String value)

Required. The ID of the chosen coordinator key.

string key_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The keyId to set.

Returns
Type Description
CoordinatorKeyInfo.Builder

This builder for chaining.

setKeyIdBytes(ByteString value)

public CoordinatorKeyInfo.Builder setKeyIdBytes(ByteString value)

Required. The ID of the chosen coordinator key.

string key_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for keyId to set.

Returns
Type Description
CoordinatorKeyInfo.Builder

This builder for chaining.