Class AttachedClusterGroup.Builder (0.52.0)

public static final class AttachedClusterGroup.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public AttachedClusterGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public AttachedClusterGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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