Class AzureClusterUser.Builder (0.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AzureClusterUser build()
Returns
TypeDescription
AzureClusterUser

buildPartial()

public AzureClusterUser buildPartial()
Returns
TypeDescription
AzureClusterUser

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AzureClusterUser getDefaultInstanceForType()
Returns
TypeDescription
AzureClusterUser

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

public AzureClusterUser.Builder mergeFrom(AzureClusterUser other)
Parameter
NameDescription
otherAzureClusterUser
Returns
TypeDescription
AzureClusterUser.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The username to set.

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

The bytes for username to set.

Returns
TypeDescription
AzureClusterUser.Builder

This builder for chaining.