public static final class CreateHcxActivationKeyRequest.Builder extends GeneratedMessageV3.Builder<CreateHcxActivationKeyRequest.Builder> implements CreateHcxActivationKeyRequestOrBuilder
Request message for VmwareEngine.CreateHcxActivationKey
Protobuf type google.cloud.vmwareengine.v1.CreateHcxActivationKeyRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateHcxActivationKeyRequest.BuilderImplements
CreateHcxActivationKeyRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateHcxActivationKeyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateHcxActivationKeyRequest.Builder |
build()
public CreateHcxActivationKeyRequest build()
Type | Description |
CreateHcxActivationKeyRequest |
buildPartial()
public CreateHcxActivationKeyRequest buildPartial()
Type | Description |
CreateHcxActivationKeyRequest |
clear()
public CreateHcxActivationKeyRequest.Builder clear()
Type | Description |
CreateHcxActivationKeyRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateHcxActivationKeyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CreateHcxActivationKeyRequest.Builder |
clearHcxActivationKey()
public CreateHcxActivationKeyRequest.Builder clearHcxActivationKey()
Required. The initial description of a new HCX activation key. When creating a new key, this field must be an empty object.
.google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_key = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
CreateHcxActivationKeyRequest.Builder |
clearHcxActivationKeyId()
public CreateHcxActivationKeyRequest.Builder clearHcxActivationKeyId()
Required. The user-provided identifier of the HcxActivationKey
to be
created. This identifier must be unique among HcxActivationKey
resources
within the parent and becomes the final token in the name URI.
The identifier must meet the following requirements:
- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (section 3.5)
string hcx_activation_key_id = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
CreateHcxActivationKeyRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateHcxActivationKeyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CreateHcxActivationKeyRequest.Builder |
clearParent()
public CreateHcxActivationKeyRequest.Builder clearParent()
Required. The resource name of the private cloud to create the key for.
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/privateClouds/my-cloud
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
CreateHcxActivationKeyRequest.Builder | This builder for chaining. |
clearRequestId()
public CreateHcxActivationKeyRequest.Builder clearRequestId()
A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4;
Type | Description |
CreateHcxActivationKeyRequest.Builder | This builder for chaining. |
clone()
public CreateHcxActivationKeyRequest.Builder clone()
Type | Description |
CreateHcxActivationKeyRequest.Builder |
getDefaultInstanceForType()
public CreateHcxActivationKeyRequest getDefaultInstanceForType()
Type | Description |
CreateHcxActivationKeyRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getHcxActivationKey()
public HcxActivationKey getHcxActivationKey()
Required. The initial description of a new HCX activation key. When creating a new key, this field must be an empty object.
.google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_key = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
HcxActivationKey | The hcxActivationKey. |
getHcxActivationKeyBuilder()
public HcxActivationKey.Builder getHcxActivationKeyBuilder()
Required. The initial description of a new HCX activation key. When creating a new key, this field must be an empty object.
.google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_key = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
HcxActivationKey.Builder |
getHcxActivationKeyId()
public String getHcxActivationKeyId()
Required. The user-provided identifier of the HcxActivationKey
to be
created. This identifier must be unique among HcxActivationKey
resources
within the parent and becomes the final token in the name URI.
The identifier must meet the following requirements:
- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (section 3.5)
string hcx_activation_key_id = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The hcxActivationKeyId. |
getHcxActivationKeyIdBytes()
public ByteString getHcxActivationKeyIdBytes()
Required. The user-provided identifier of the HcxActivationKey
to be
created. This identifier must be unique among HcxActivationKey
resources
within the parent and becomes the final token in the name URI.
The identifier must meet the following requirements:
- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (section 3.5)
string hcx_activation_key_id = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for hcxActivationKeyId. |
getHcxActivationKeyOrBuilder()
public HcxActivationKeyOrBuilder getHcxActivationKeyOrBuilder()
Required. The initial description of a new HCX activation key. When creating a new key, this field must be an empty object.
.google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_key = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
HcxActivationKeyOrBuilder |
getParent()
public String getParent()
Required. The resource name of the private cloud to create the key for.
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/privateClouds/my-cloud
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The resource name of the private cloud to create the key for.
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/privateClouds/my-cloud
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getRequestId()
public String getRequestId()
A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4;
Type | Description |
String | The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()
A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4;
Type | Description |
ByteString | The bytes for requestId. |
hasHcxActivationKey()
public boolean hasHcxActivationKey()
Required. The initial description of a new HCX activation key. When creating a new key, this field must be an empty object.
.google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_key = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the hcxActivationKey field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CreateHcxActivationKeyRequest other)
public CreateHcxActivationKeyRequest.Builder mergeFrom(CreateHcxActivationKeyRequest other)
Name | Description |
other | CreateHcxActivationKeyRequest |
Type | Description |
CreateHcxActivationKeyRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateHcxActivationKeyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateHcxActivationKeyRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CreateHcxActivationKeyRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CreateHcxActivationKeyRequest.Builder |
mergeHcxActivationKey(HcxActivationKey value)
public CreateHcxActivationKeyRequest.Builder mergeHcxActivationKey(HcxActivationKey value)
Required. The initial description of a new HCX activation key. When creating a new key, this field must be an empty object.
.google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_key = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | HcxActivationKey |
Type | Description |
CreateHcxActivationKeyRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateHcxActivationKeyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateHcxActivationKeyRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateHcxActivationKeyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateHcxActivationKeyRequest.Builder |
setHcxActivationKey(HcxActivationKey value)
public CreateHcxActivationKeyRequest.Builder setHcxActivationKey(HcxActivationKey value)
Required. The initial description of a new HCX activation key. When creating a new key, this field must be an empty object.
.google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_key = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | HcxActivationKey |
Type | Description |
CreateHcxActivationKeyRequest.Builder |
setHcxActivationKey(HcxActivationKey.Builder builderForValue)
public CreateHcxActivationKeyRequest.Builder setHcxActivationKey(HcxActivationKey.Builder builderForValue)
Required. The initial description of a new HCX activation key. When creating a new key, this field must be an empty object.
.google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_key = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | HcxActivationKey.Builder |
Type | Description |
CreateHcxActivationKeyRequest.Builder |
setHcxActivationKeyId(String value)
public CreateHcxActivationKeyRequest.Builder setHcxActivationKeyId(String value)
Required. The user-provided identifier of the HcxActivationKey
to be
created. This identifier must be unique among HcxActivationKey
resources
within the parent and becomes the final token in the name URI.
The identifier must meet the following requirements:
- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (section 3.5)
string hcx_activation_key_id = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The hcxActivationKeyId to set. |
Type | Description |
CreateHcxActivationKeyRequest.Builder | This builder for chaining. |
setHcxActivationKeyIdBytes(ByteString value)
public CreateHcxActivationKeyRequest.Builder setHcxActivationKeyIdBytes(ByteString value)
Required. The user-provided identifier of the HcxActivationKey
to be
created. This identifier must be unique among HcxActivationKey
resources
within the parent and becomes the final token in the name URI.
The identifier must meet the following requirements:
- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (section 3.5)
string hcx_activation_key_id = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for hcxActivationKeyId to set. |
Type | Description |
CreateHcxActivationKeyRequest.Builder | This builder for chaining. |
setParent(String value)
public CreateHcxActivationKeyRequest.Builder setParent(String value)
Required. The resource name of the private cloud to create the key for.
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/privateClouds/my-cloud
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
CreateHcxActivationKeyRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public CreateHcxActivationKeyRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the private cloud to create the key for.
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/privateClouds/my-cloud
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
CreateHcxActivationKeyRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateHcxActivationKeyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CreateHcxActivationKeyRequest.Builder |
setRequestId(String value)
public CreateHcxActivationKeyRequest.Builder setRequestId(String value)
A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4;
Name | Description |
value | String The requestId to set. |
Type | Description |
CreateHcxActivationKeyRequest.Builder | This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateHcxActivationKeyRequest.Builder setRequestIdBytes(ByteString value)
A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4;
Name | Description |
value | ByteString The bytes for requestId to set. |
Type | Description |
CreateHcxActivationKeyRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateHcxActivationKeyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateHcxActivationKeyRequest.Builder |