Class ShowNsxCredentialsRequest.Builder (0.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ShowNsxCredentialsRequest build()
Returns
TypeDescription
ShowNsxCredentialsRequest

buildPartial()

public ShowNsxCredentialsRequest buildPartial()
Returns
TypeDescription
ShowNsxCredentialsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ShowNsxCredentialsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ShowNsxCredentialsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ShowNsxCredentialsRequest getDefaultInstanceForType()
Returns
TypeDescription
ShowNsxCredentialsRequest

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(ShowNsxCredentialsRequest other)

public ShowNsxCredentialsRequest.Builder mergeFrom(ShowNsxCredentialsRequest other)
Parameter
NameDescription
otherShowNsxCredentialsRequest
Returns
TypeDescription
ShowNsxCredentialsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ShowNsxCredentialsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The privateCloud to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for privateCloud to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ShowNsxCredentialsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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