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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ShowVcenterCredentialsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ShowVcenterCredentialsRequest build()
Returns
buildPartial()
public ShowVcenterCredentialsRequest buildPartial()
Returns
clear()
public ShowVcenterCredentialsRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ShowVcenterCredentialsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ShowVcenterCredentialsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public ShowVcenterCredentialsRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ShowVcenterCredentialsRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Type | Description |
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
Type | Description |
ByteString | The bytes for privateCloud.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ShowVcenterCredentialsRequest other)
public ShowVcenterCredentialsRequest.Builder mergeFrom(ShowVcenterCredentialsRequest other)
Parameter
Returns
public ShowVcenterCredentialsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ShowVcenterCredentialsRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ShowVcenterCredentialsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ShowVcenterCredentialsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | String
The privateCloud to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for privateCloud to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ShowVcenterCredentialsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ShowVcenterCredentialsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides