Class AttachedClusterGroup.Builder (0.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AttachedClusterGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AttachedClusterGroup.Builder
Overrides

build()

public AttachedClusterGroup build()
Returns
TypeDescription
AttachedClusterGroup

buildPartial()

public AttachedClusterGroup buildPartial()
Returns
TypeDescription
AttachedClusterGroup

clear()

public AttachedClusterGroup.Builder clear()
Returns
TypeDescription
AttachedClusterGroup.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AttachedClusterGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
AttachedClusterGroup.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AttachedClusterGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AttachedClusterGroup.Builder
Overrides

clone()

public AttachedClusterGroup.Builder clone()
Returns
TypeDescription
AttachedClusterGroup.Builder
Overrides

getDefaultInstanceForType()

public AttachedClusterGroup getDefaultInstanceForType()
Returns
TypeDescription
AttachedClusterGroup

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for group.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AttachedClusterGroup other)

public AttachedClusterGroup.Builder mergeFrom(AttachedClusterGroup other)
Parameter
NameDescription
otherAttachedClusterGroup
Returns
TypeDescription
AttachedClusterGroup.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AttachedClusterGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttachedClusterGroup.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AttachedClusterGroup.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AttachedClusterGroup.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AttachedClusterGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AttachedClusterGroup.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AttachedClusterGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The group to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for group to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AttachedClusterGroup.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AttachedClusterGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AttachedClusterGroup.Builder
Overrides