Class GetPrivateCloudRequest.Builder (0.11.0)

public static final class GetPrivateCloudRequest.Builder extends GeneratedMessageV3.Builder<GetPrivateCloudRequest.Builder> implements GetPrivateCloudRequestOrBuilder

Request message for VmwareEngine.GetPrivateCloud

Protobuf type google.cloud.vmwareengine.v1.GetPrivateCloudRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetPrivateCloudRequest build()
Returns
TypeDescription
GetPrivateCloudRequest

buildPartial()

public GetPrivateCloudRequest buildPartial()
Returns
TypeDescription
GetPrivateCloudRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetPrivateCloudRequest.Builder clearName()

Required. The resource name of the private cloud to retrieve. 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 name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetPrivateCloudRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetPrivateCloudRequest getDefaultInstanceForType()
Returns
TypeDescription
GetPrivateCloudRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the private cloud to retrieve. 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 name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the private cloud to retrieve. 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 name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetPrivateCloudRequest other)

public GetPrivateCloudRequest.Builder mergeFrom(GetPrivateCloudRequest other)
Parameter
NameDescription
otherGetPrivateCloudRequest
Returns
TypeDescription
GetPrivateCloudRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetPrivateCloudRequest.Builder setName(String value)

Required. The resource name of the private cloud to retrieve. 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 name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetPrivateCloudRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetPrivateCloudRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the private cloud to retrieve. 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 name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetPrivateCloudRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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