Class AwsClusterGroup.Builder (0.39.0)

public static final class AwsClusterGroup.Builder extends GeneratedMessageV3.Builder<AwsClusterGroup.Builder> implements AwsClusterGroupOrBuilder

Identities of a group-type subject for AWS clusters.

Protobuf type google.cloud.gkemulticloud.v1.AwsClusterGroup

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AwsClusterGroup build()
Returns
TypeDescription
AwsClusterGroup

buildPartial()

public AwsClusterGroup buildPartial()
Returns
TypeDescription
AwsClusterGroup

clear()

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

clearField(Descriptors.FieldDescriptor field)

public AwsClusterGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AwsClusterGroup.Builder
Overrides

clearGroup()

public AwsClusterGroup.Builder clearGroup()

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

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

Returns
TypeDescription
AwsClusterGroup.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AwsClusterGroup getDefaultInstanceForType()
Returns
TypeDescription
AwsClusterGroup

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(AwsClusterGroup other)

public AwsClusterGroup.Builder mergeFrom(AwsClusterGroup other)
Parameter
NameDescription
otherAwsClusterGroup
Returns
TypeDescription
AwsClusterGroup.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGroup(String value)

public AwsClusterGroup.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
AwsClusterGroup.Builder

This builder for chaining.

setGroupBytes(ByteString value)

public AwsClusterGroup.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
AwsClusterGroup.Builder

This builder for chaining.

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

public AwsClusterGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AwsClusterGroup.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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