Class ShowVcenterCredentialsRequest (0.35.0)

public final class ShowVcenterCredentialsRequest extends GeneratedMessageV3 implements ShowVcenterCredentialsRequestOrBuilder

Request message for VmwareEngine.ShowVcenterCredentials

Protobuf type google.cloud.vmwareengine.v1.ShowVcenterCredentialsRequest

Static Fields

PRIVATE_CLOUD_FIELD_NUMBER

public static final int PRIVATE_CLOUD_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 ShowVcenterCredentialsRequest getDefaultInstance()
Returns
TypeDescription
ShowVcenterCredentialsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(ShowVcenterCredentialsRequest prototype)

public static ShowVcenterCredentialsRequest.Builder newBuilder(ShowVcenterCredentialsRequest prototype)
Parameter
NameDescription
prototypeShowVcenterCredentialsRequest
Returns
TypeDescription
ShowVcenterCredentialsRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ShowVcenterCredentialsRequest getDefaultInstanceForType()
Returns
TypeDescription
ShowVcenterCredentialsRequest

getParserForType()

public Parser<ShowVcenterCredentialsRequest> getParserForType()
Returns
TypeDescription
Parser<ShowVcenterCredentialsRequest>
Overrides

getPrivateCloud()

public String getPrivateCloud()

Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

string private_cloud = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The privateCloud.

getPrivateCloudBytes()

public ByteString getPrivateCloudBytes()

Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

string private_cloud = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for privateCloud.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUsername()

public String getUsername()

Optional. The username of the user to be queried for credentials. The default value of this field is CloudOwner@gve.local. The provided value must be one of the following: CloudOwner@gve.local, solution-user-01@gve.local, solution-user-02@gve.local, solution-user-03@gve.local, solution-user-04@gve.local, solution-user-05@gve.local, zertoadmin@gve.local.

string username = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Optional. The username of the user to be queried for credentials. The default value of this field is CloudOwner@gve.local. The provided value must be one of the following: CloudOwner@gve.local, solution-user-01@gve.local, solution-user-02@gve.local, solution-user-03@gve.local, solution-user-04@gve.local, solution-user-05@gve.local, zertoadmin@gve.local.

string username = 2 [(.google.api.field_behavior) = OPTIONAL];

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 ShowVcenterCredentialsRequest.Builder newBuilderForType()
Returns
TypeDescription
ShowVcenterCredentialsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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