Class AwsClusterUser.Builder (0.42.0)

public static final class AwsClusterUser.Builder extends GeneratedMessageV3.Builder<AwsClusterUser.Builder> implements AwsClusterUserOrBuilder

Identities of a user-type subject for AWS clusters.

Protobuf type google.cloud.gkemulticloud.v1.AwsClusterUser

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AwsClusterUser build()
Returns
Type Description
AwsClusterUser

buildPartial()

public AwsClusterUser buildPartial()
Returns
Type Description
AwsClusterUser

clear()

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

clearField(Descriptors.FieldDescriptor field)

public AwsClusterUser.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AwsClusterUser.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUsername()

public AwsClusterUser.Builder clearUsername()

Required. The name of the user, e.g. my-gcp-id@gmail.com.

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

Returns
Type Description
AwsClusterUser.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AwsClusterUser getDefaultInstanceForType()
Returns
Type Description
AwsClusterUser

getDescriptorForType()

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

getUsername()

public String getUsername()

Required. The name of the user, e.g. my-gcp-id@gmail.com.

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

Returns
Type Description
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Required. The name of the user, e.g. my-gcp-id@gmail.com.

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

Returns
Type Description
ByteString

The bytes for username.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsClusterUser other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUsername(String value)

public AwsClusterUser.Builder setUsername(String value)

Required. The name of the user, e.g. my-gcp-id@gmail.com.

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

Parameter
Name Description
value String

The username to set.

Returns
Type Description
AwsClusterUser.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public AwsClusterUser.Builder setUsernameBytes(ByteString value)

Required. The name of the user, e.g. my-gcp-id@gmail.com.

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

Parameter
Name Description
value ByteString

The bytes for username to set.

Returns
Type Description
AwsClusterUser.Builder

This builder for chaining.