Class ShowVcenterCredentialsRequest.Builder (0.7.0)

public static final class ShowVcenterCredentialsRequest.Builder extends GeneratedMessageV3.Builder<ShowVcenterCredentialsRequest.Builder> implements ShowVcenterCredentialsRequestOrBuilder

Request message for VmwareEngine.ShowVcenterCredentials

Protobuf type google.cloud.vmwareengine.v1.ShowVcenterCredentialsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ShowVcenterCredentialsRequest build()
Returns
TypeDescription
ShowVcenterCredentialsRequest

buildPartial()

public ShowVcenterCredentialsRequest buildPartial()
Returns
TypeDescription
ShowVcenterCredentialsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPrivateCloud()

public ShowVcenterCredentialsRequest.Builder clearPrivateCloud()

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
ShowVcenterCredentialsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ShowVcenterCredentialsRequest getDefaultInstanceForType()
Returns
TypeDescription
ShowVcenterCredentialsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ShowVcenterCredentialsRequest other)

public ShowVcenterCredentialsRequest.Builder mergeFrom(ShowVcenterCredentialsRequest other)
Parameter
NameDescription
otherShowVcenterCredentialsRequest
Returns
TypeDescription
ShowVcenterCredentialsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPrivateCloud(String value)

public ShowVcenterCredentialsRequest.Builder setPrivateCloud(String value)

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) = { ... }

Parameter
NameDescription
valueString

The privateCloud to set.

Returns
TypeDescription
ShowVcenterCredentialsRequest.Builder

This builder for chaining.

setPrivateCloudBytes(ByteString value)

public ShowVcenterCredentialsRequest.Builder setPrivateCloudBytes(ByteString value)

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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for privateCloud to set.

Returns
TypeDescription
ShowVcenterCredentialsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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