Interface InstanceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Instance,Instance.Builder
@Generated
public interface InstanceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.booleanOutput only.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Output only. license version id.com.google.protobuf.ByteStringOutput only. license version id.getName()Identifier. name of resourcecom.google.protobuf.ByteStringIdentifier. name of resourceDeprecated.intOutput only.Output only.getProductActivationOrDefault(String key, ActivationState defaultValue) Output only.Output only.Deprecated.Output only.intgetProductActivationValueOrDefault(String key, int defaultValue) Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Identifier. name of resource
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Identifier. name of resource
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getStateValue
int getStateValue()Output only. The state of the VM.
.google.cloud.licensemanager.v1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
Instance.State getState()Output only. The state of the VM.
.google.cloud.licensemanager.v1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
getRegion
String getRegion()Output only. The location of the VM.
string region = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()Output only. The location of the VM.
string region = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for region.
-
getProductActivationCount
int getProductActivationCount()Output only. Map with Product_Name and Activation State of the VM.
map<string, .google.cloud.licensemanager.v1.ActivationState> product_activation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
containsProductActivation
Output only. Map with Product_Name and Activation State of the VM.
map<string, .google.cloud.licensemanager.v1.ActivationState> product_activation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getProductActivation
Deprecated.UsegetProductActivationMap()instead. -
getProductActivationMap
Map<String,ActivationState> getProductActivationMap()Output only. Map with Product_Name and Activation State of the VM.
map<string, .google.cloud.licensemanager.v1.ActivationState> product_activation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getProductActivationOrDefault
Output only. Map with Product_Name and Activation State of the VM.
map<string, .google.cloud.licensemanager.v1.ActivationState> product_activation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getProductActivationOrThrow
Output only. Map with Product_Name and Activation State of the VM.
map<string, .google.cloud.licensemanager.v1.ActivationState> product_activation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getProductActivationValue
Deprecated.UsegetProductActivationValueMap()instead. -
getProductActivationValueMap
Output only. Map with Product_Name and Activation State of the VM.
map<string, .google.cloud.licensemanager.v1.ActivationState> product_activation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getProductActivationValueOrDefault
Output only. Map with Product_Name and Activation State of the VM.
map<string, .google.cloud.licensemanager.v1.ActivationState> product_activation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getProductActivationValueOrThrow
Output only. Map with Product_Name and Activation State of the VM.
map<string, .google.cloud.licensemanager.v1.ActivationState> product_activation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLicenseVersionId
String getLicenseVersionId()Output only. license version id.
string license_version_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The licenseVersionId.
-
getLicenseVersionIdBytes
com.google.protobuf.ByteString getLicenseVersionIdBytes()Output only. license version id.
string license_version_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for licenseVersionId.
-
getComputeInstance
String getComputeInstance()Required. Compute Instance resource name, i.e. projects/{project}/zones/{zone}/instances/{instance}string compute_instance = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The computeInstance.
-
getComputeInstanceBytes
com.google.protobuf.ByteString getComputeInstanceBytes()Required. Compute Instance resource name, i.e. projects/{project}/zones/{zone}/instances/{instance}string compute_instance = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for computeInstance.
-