Class AwsClusterUser.Builder (0.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AwsClusterUser build()
Returns
TypeDescription
AwsClusterUser

buildPartial()

public AwsClusterUser buildPartial()
Returns
TypeDescription
AwsClusterUser

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsClusterUser.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AwsClusterUser.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AwsClusterUser getDefaultInstanceForType()
Returns
TypeDescription
AwsClusterUser

getDescriptorForType()

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

The bytes for username.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AwsClusterUser other)

public AwsClusterUser.Builder mergeFrom(AwsClusterUser other)
Parameter
NameDescription
otherAwsClusterUser
Returns
TypeDescription
AwsClusterUser.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsClusterUser.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The username to set.

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

The bytes for username to set.

Returns
TypeDescription
AwsClusterUser.Builder

This builder for chaining.