Class AzureClusterUser.Builder (0.53.0)

public static final class AzureClusterUser.Builder extends GeneratedMessageV3.Builder<AzureClusterUser.Builder> implements AzureClusterUserOrBuilder

Identities of a user-type subject for Azure clusters.

Protobuf type google.cloud.gkemulticloud.v1.AzureClusterUser

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AzureClusterUser build()
Returns
Type Description
AzureClusterUser

buildPartial()

public AzureClusterUser buildPartial()
Returns
Type Description
AzureClusterUser

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUsername()

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AzureClusterUser getDefaultInstanceForType()
Returns
Type Description
AzureClusterUser

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUsername(String value)

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

This builder for chaining.

setUsernameBytes(ByteString value)

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

This builder for chaining.