Class Credentials.Builder (0.10.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Credentials build()
Returns
TypeDescription
Credentials

buildPartial()

public Credentials buildPartial()
Returns
TypeDescription
Credentials

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Credentials.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Credentials.Builder
Overrides

clearPassword()

public Credentials.Builder clearPassword()

Initial password.

string password = 2;

Returns
TypeDescription
Credentials.Builder

This builder for chaining.

clearUsername()

public Credentials.Builder clearUsername()

Initial username.

string username = 1;

Returns
TypeDescription
Credentials.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Credentials getDefaultInstanceForType()
Returns
TypeDescription
Credentials

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPassword()

public String getPassword()

Initial password.

string password = 2;

Returns
TypeDescription
String

The password.

getPasswordBytes()

public ByteString getPasswordBytes()

Initial password.

string password = 2;

Returns
TypeDescription
ByteString

The bytes for password.

getUsername()

public String getUsername()

Initial username.

string username = 1;

Returns
TypeDescription
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Initial username.

string username = 1;

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

public Credentials.Builder mergeFrom(Credentials other)
Parameter
NameDescription
otherCredentials
Returns
TypeDescription
Credentials.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPassword(String value)

public Credentials.Builder setPassword(String value)

Initial password.

string password = 2;

Parameter
NameDescription
valueString

The password to set.

Returns
TypeDescription
Credentials.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public Credentials.Builder setPasswordBytes(ByteString value)

Initial password.

string password = 2;

Parameter
NameDescription
valueByteString

The bytes for password to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Credentials.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Credentials.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Credentials.Builder
Overrides

setUsername(String value)

public Credentials.Builder setUsername(String value)

Initial username.

string username = 1;

Parameter
NameDescription
valueString

The username to set.

Returns
TypeDescription
Credentials.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public Credentials.Builder setUsernameBytes(ByteString value)

Initial username.

string username = 1;

Parameter
NameDescription
valueByteString

The bytes for username to set.

Returns
TypeDescription
Credentials.Builder

This builder for chaining.