Class Credentials.Builder (0.40.0)

public static final class Credentials.Builder extends GeneratedMessageV3.Builder<Credentials.Builder> implements CredentialsOrBuilder

Credentials for a private cloud.

Protobuf type google.cloud.vmwareengine.v1.Credentials

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Credentials build()
Returns
Type Description
Credentials

buildPartial()

public Credentials buildPartial()
Returns
Type Description
Credentials

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPassword()

public Credentials.Builder clearPassword()

Initial password.

string password = 2;

Returns
Type Description
Credentials.Builder

This builder for chaining.

clearUsername()

public Credentials.Builder clearUsername()

Initial username.

string username = 1;

Returns
Type Description
Credentials.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Credentials getDefaultInstanceForType()
Returns
Type Description
Credentials

getDescriptorForType()

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

getPassword()

public String getPassword()

Initial password.

string password = 2;

Returns
Type Description
String

The password.

getPasswordBytes()

public ByteString getPasswordBytes()

Initial password.

string password = 2;

Returns
Type Description
ByteString

The bytes for password.

getUsername()

public String getUsername()

Initial username.

string username = 1;

Returns
Type Description
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Initial username.

string username = 1;

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPassword(String value)

public Credentials.Builder setPassword(String value)

Initial password.

string password = 2;

Parameter
Name Description
value String

The password to set.

Returns
Type Description
Credentials.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public Credentials.Builder setPasswordBytes(ByteString value)

Initial password.

string password = 2;

Parameter
Name Description
value ByteString

The bytes for password to set.

Returns
Type Description
Credentials.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUsername(String value)

public Credentials.Builder setUsername(String value)

Initial username.

string username = 1;

Parameter
Name Description
value String

The username to set.

Returns
Type Description
Credentials.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public Credentials.Builder setUsernameBytes(ByteString value)

Initial username.

string username = 1;

Parameter
Name Description
value ByteString

The bytes for username to set.

Returns
Type Description
Credentials.Builder

This builder for chaining.