- 0.48.0 (latest)
- 0.47.0
- 0.46.0
- 0.45.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.3.0
- 0.2.0
- 0.1.0
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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HcxActivationKey.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
HcxActivationKey.Builder |
build()
public HcxActivationKey build()
Returns | |
---|---|
Type | Description |
HcxActivationKey |
buildPartial()
public HcxActivationKey buildPartial()
Returns | |
---|---|
Type | Description |
HcxActivationKey |
clear()
public HcxActivationKey.Builder clear()
Returns | |
---|---|
Type | Description |
HcxActivationKey.Builder |
clearActivationKey()
public HcxActivationKey.Builder clearActivationKey()
Output only. HCX activation key.
string activation_key = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
HcxActivationKey.Builder |
clearField(Descriptors.FieldDescriptor field)
public HcxActivationKey.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
HcxActivationKey.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public HcxActivationKey.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
HcxActivationKey.Builder |
This builder for chaining. |
clone()
public HcxActivationKey.Builder clone()
Returns | |
---|---|
Type | Description |
HcxActivationKey.Builder |
getActivationKey()
public String getActivationKey()
Output only. HCX activation key.
string activation_key = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The activationKey. |
getActivationKeyBytes()
public ByteString getActivationKeyBytes()
Output only. HCX activation key.
string activation_key = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public HcxActivationKey getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
HcxActivationKey |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
HcxActivationKey.Builder |
mergeFrom(HcxActivationKey other)
public HcxActivationKey.Builder mergeFrom(HcxActivationKey other)
Parameter | |
---|---|
Name | Description |
other |
HcxActivationKey |
Returns | |
---|---|
Type | Description |
HcxActivationKey.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HcxActivationKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
HcxActivationKey.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public HcxActivationKey.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
HcxActivationKey.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HcxActivationKey.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
String The activationKey to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for activationKey to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
HcxActivationKey.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public HcxActivationKey.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
HcxActivationKey.State The state to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
String The uid to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for uid to set. |
Returns | |
---|---|
Type | Description |
HcxActivationKey.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final HcxActivationKey.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
HcxActivationKey.Builder |