Class ShowNsxCredentialsRequest.Builder (0.37.0)

public static final class ShowNsxCredentialsRequest.Builder extends GeneratedMessageV3.Builder<ShowNsxCredentialsRequest.Builder> implements ShowNsxCredentialsRequestOrBuilder

Request message for VmwareEngine.ShowNsxCredentials

Protobuf type google.cloud.vmwareengine.v1.ShowNsxCredentialsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ShowNsxCredentialsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ShowNsxCredentialsRequest.Builder
Overrides

build()

public ShowNsxCredentialsRequest build()
Returns
Type Description
ShowNsxCredentialsRequest

buildPartial()

public ShowNsxCredentialsRequest buildPartial()
Returns
Type Description
ShowNsxCredentialsRequest

clear()

public ShowNsxCredentialsRequest.Builder clear()
Returns
Type Description
ShowNsxCredentialsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ShowNsxCredentialsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ShowNsxCredentialsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ShowNsxCredentialsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ShowNsxCredentialsRequest.Builder
Overrides

clearPrivateCloud()

public ShowNsxCredentialsRequest.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
Type Description
ShowNsxCredentialsRequest.Builder

This builder for chaining.

clone()

public ShowNsxCredentialsRequest.Builder clone()
Returns
Type Description
ShowNsxCredentialsRequest.Builder
Overrides

getDefaultInstanceForType()

public ShowNsxCredentialsRequest getDefaultInstanceForType()
Returns
Type Description
ShowNsxCredentialsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ShowNsxCredentialsRequest other)

public ShowNsxCredentialsRequest.Builder mergeFrom(ShowNsxCredentialsRequest other)
Parameter
Name Description
other ShowNsxCredentialsRequest
Returns
Type Description
ShowNsxCredentialsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ShowNsxCredentialsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ShowNsxCredentialsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ShowNsxCredentialsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ShowNsxCredentialsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ShowNsxCredentialsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ShowNsxCredentialsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ShowNsxCredentialsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ShowNsxCredentialsRequest.Builder
Overrides

setPrivateCloud(String value)

public ShowNsxCredentialsRequest.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
Type Description
ShowNsxCredentialsRequest.Builder

This builder for chaining.

setPrivateCloudBytes(ByteString value)

public ShowNsxCredentialsRequest.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
Type Description
ShowNsxCredentialsRequest.Builder

This builder for chaining.

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

public ShowNsxCredentialsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ShowNsxCredentialsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ShowNsxCredentialsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ShowNsxCredentialsRequest.Builder
Overrides