public static final class HcxActivationKey.Builder extends GeneratedMessageV3.Builder<HcxActivationKey.Builder> implements HcxActivationKeyOrBuilder
HCX activation key. A default key is created during private cloud provisioning, but this behavior is subject to change and you should always verify active keys. Use VmwareEngine.ListHcxActivationKeys to retrieve existing keys and VmwareEngine.CreateHcxActivationKey to create new ones.
Protobuf type google.cloud.vmwareengine.v1.HcxActivationKey
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HcxActivationKey.BuilderImplements
HcxActivationKeyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HcxActivationKey.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
HcxActivationKey.Builder |
build()
public HcxActivationKey build()
Type | Description |
HcxActivationKey |
buildPartial()
public HcxActivationKey buildPartial()
Type | Description |
HcxActivationKey |
clear()
public HcxActivationKey.Builder clear()
Type | Description |
HcxActivationKey.Builder |
clearActivationKey()
public HcxActivationKey.Builder clearActivationKey()
Output only. HCX activation key.
string activation_key = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
HcxActivationKey.Builder | This builder for chaining. |
clearCreateTime()
public HcxActivationKey.Builder clearCreateTime()
Output only. Creation time of HCX activation key.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
HcxActivationKey.Builder |
clearField(Descriptors.FieldDescriptor field)
public HcxActivationKey.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
HcxActivationKey.Builder |
clearName()
public HcxActivationKey.Builder clearName()
Output only. The resource name of this HcxActivationKey.
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/hcxActivationKeys/my-key
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
HcxActivationKey.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public HcxActivationKey.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
HcxActivationKey.Builder |
clearState()
public HcxActivationKey.Builder clearState()
Output only. State of HCX activation key.
.google.cloud.vmwareengine.v1.HcxActivationKey.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
HcxActivationKey.Builder | This builder for chaining. |
clearUid()
public HcxActivationKey.Builder clearUid()
Output only. System-generated unique identifier for the resource.
string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
HcxActivationKey.Builder | This builder for chaining. |
clone()
public HcxActivationKey.Builder clone()
Type | Description |
HcxActivationKey.Builder |
getActivationKey()
public String getActivationKey()
Output only. HCX activation key.
string activation_key = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The activationKey. |
getActivationKeyBytes()
public ByteString getActivationKeyBytes()
Output only. HCX activation key.
string activation_key = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for activationKey. |
getCreateTime()
public Timestamp getCreateTime()
Output only. Creation time of HCX activation key.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Creation time of HCX activation key.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creation time of HCX activation key.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public HcxActivationKey getDefaultInstanceForType()
Type | Description |
HcxActivationKey |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Output only. The resource name of this HcxActivationKey.
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/hcxActivationKeys/my-key
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name of this HcxActivationKey.
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/hcxActivationKeys/my-key
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getState()
public HcxActivationKey.State getState()
Output only. State of HCX activation key.
.google.cloud.vmwareengine.v1.HcxActivationKey.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
HcxActivationKey.State | The state. |
getStateValue()
public int getStateValue()
Output only. State of HCX activation key.
.google.cloud.vmwareengine.v1.HcxActivationKey.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for state. |
getUid()
public String getUid()
Output only. System-generated unique identifier for the resource.
string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The uid. |
getUidBytes()
public ByteString getUidBytes()
Output only. System-generated unique identifier for the resource.
string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for uid. |
hasCreateTime()
public boolean hasCreateTime()
Output only. Creation time of HCX activation key.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public HcxActivationKey.Builder mergeCreateTime(Timestamp value)
Output only. Creation time of HCX activation key.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
HcxActivationKey.Builder |
mergeFrom(HcxActivationKey other)
public HcxActivationKey.Builder mergeFrom(HcxActivationKey other)
Name | Description |
other | HcxActivationKey |
Type | Description |
HcxActivationKey.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HcxActivationKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
HcxActivationKey.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public HcxActivationKey.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
HcxActivationKey.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HcxActivationKey.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
HcxActivationKey.Builder |
setActivationKey(String value)
public HcxActivationKey.Builder setActivationKey(String value)
Output only. HCX activation key.
string activation_key = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The activationKey to set. |
Type | Description |
HcxActivationKey.Builder | This builder for chaining. |
setActivationKeyBytes(ByteString value)
public HcxActivationKey.Builder setActivationKeyBytes(ByteString value)
Output only. HCX activation key.
string activation_key = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for activationKey to set. |
Type | Description |
HcxActivationKey.Builder | This builder for chaining. |
setCreateTime(Timestamp value)
public HcxActivationKey.Builder setCreateTime(Timestamp value)
Output only. Creation time of HCX activation key.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
HcxActivationKey.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public HcxActivationKey.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Creation time of HCX activation key.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
HcxActivationKey.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public HcxActivationKey.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
HcxActivationKey.Builder |
setName(String value)
public HcxActivationKey.Builder setName(String value)
Output only. The resource name of this HcxActivationKey.
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/hcxActivationKeys/my-key
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
HcxActivationKey.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public HcxActivationKey.Builder setNameBytes(ByteString value)
Output only. The resource name of this HcxActivationKey.
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/hcxActivationKeys/my-key
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
HcxActivationKey.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HcxActivationKey.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
HcxActivationKey.Builder |
setState(HcxActivationKey.State value)
public HcxActivationKey.Builder setState(HcxActivationKey.State value)
Output only. State of HCX activation key.
.google.cloud.vmwareengine.v1.HcxActivationKey.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | HcxActivationKey.State The state to set. |
Type | Description |
HcxActivationKey.Builder | This builder for chaining. |
setStateValue(int value)
public HcxActivationKey.Builder setStateValue(int value)
Output only. State of HCX activation key.
.google.cloud.vmwareengine.v1.HcxActivationKey.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
HcxActivationKey.Builder | This builder for chaining. |
setUid(String value)
public HcxActivationKey.Builder setUid(String value)
Output only. System-generated unique identifier for the resource.
string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The uid to set. |
Type | Description |
HcxActivationKey.Builder | This builder for chaining. |
setUidBytes(ByteString value)
public HcxActivationKey.Builder setUidBytes(ByteString value)
Output only. System-generated unique identifier for the resource.
string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for uid to set. |
Type | Description |
HcxActivationKey.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final HcxActivationKey.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
HcxActivationKey.Builder |