Class AttachedClusterGroup.Builder (0.84.0)

public static final class AttachedClusterGroup.Builder extends GeneratedMessage.Builder<AttachedClusterGroup.Builder> implements AttachedClusterGroupOrBuilder

Identities of a group-type subject for Attached clusters.

Protobuf type google.cloud.gkemulticloud.v1.AttachedClusterGroup

Static Methods

getDescriptor()

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

Methods

build()

public AttachedClusterGroup build()
Returns
Type Description
AttachedClusterGroup

buildPartial()

public AttachedClusterGroup buildPartial()
Returns
Type Description
AttachedClusterGroup

clear()

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

clearGroup()

public AttachedClusterGroup.Builder clearGroup()

Required. The name of the group, e.g. my-group@domain.com.

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

Returns
Type Description
AttachedClusterGroup.Builder

This builder for chaining.

getDefaultInstanceForType()

public AttachedClusterGroup getDefaultInstanceForType()
Returns
Type Description
AttachedClusterGroup

getDescriptorForType()

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

getGroup()

public String getGroup()

Required. The name of the group, e.g. my-group@domain.com.

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

Returns
Type Description
String

The group.

getGroupBytes()

public ByteString getGroupBytes()

Required. The name of the group, e.g. my-group@domain.com.

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

Returns
Type Description
ByteString

The bytes for group.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AttachedClusterGroup other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setGroup(String value)

public AttachedClusterGroup.Builder setGroup(String value)

Required. The name of the group, e.g. my-group@domain.com.

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

Parameter
Name Description
value String

The group to set.

Returns
Type Description
AttachedClusterGroup.Builder

This builder for chaining.

setGroupBytes(ByteString value)

public AttachedClusterGroup.Builder setGroupBytes(ByteString value)

Required. The name of the group, e.g. my-group@domain.com.

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

Parameter
Name Description
value ByteString

The bytes for group to set.

Returns
Type Description
AttachedClusterGroup.Builder

This builder for chaining.