Class Credentials (0.29.0)

public final class Credentials extends GeneratedMessageV3 implements CredentialsOrBuilder

Credentials for a private cloud.

Protobuf type google.cloud.vmwareengine.v1.Credentials

Static Fields

PASSWORD_FIELD_NUMBER

public static final int PASSWORD_FIELD_NUMBER
Field Value
TypeDescription
int

USERNAME_FIELD_NUMBER

public static final int USERNAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Credentials getDefaultInstance()
Returns
TypeDescription
Credentials

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Credentials.Builder newBuilder()
Returns
TypeDescription
Credentials.Builder

newBuilder(Credentials prototype)

public static Credentials.Builder newBuilder(Credentials prototype)
Parameter
NameDescription
prototypeCredentials
Returns
TypeDescription
Credentials.Builder

parseDelimitedFrom(InputStream input)

public static Credentials parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Credentials
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Credentials parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Credentials
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Credentials parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Credentials
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Credentials parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Credentials
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Credentials parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Credentials
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Credentials parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Credentials
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Credentials parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Credentials
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Credentials parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Credentials
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Credentials parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Credentials
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Credentials parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Credentials
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Credentials parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Credentials
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Credentials parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Credentials
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Credentials> parser()
Returns
TypeDescription
Parser<Credentials>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Credentials getDefaultInstanceForType()
Returns
TypeDescription
Credentials

getParserForType()

public Parser<Credentials> getParserForType()
Returns
TypeDescription
Parser<Credentials>
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Credentials.Builder newBuilderForType()
Returns
TypeDescription
Credentials.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Credentials.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Credentials.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Credentials.Builder toBuilder()
Returns
TypeDescription
Credentials.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException