public interface InstanceOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
containsProductActivation(String key)
public abstract boolean containsProductActivation(String key)
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];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getComputeInstance()
public abstract 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 | |
---|---|
Type | Description |
String |
The computeInstance. |
getComputeInstanceBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for computeInstance. |
getCreateTime()
public abstract Timestamp getCreateTime()
Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getLabels() (deprecated)
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getLicenseVersionId()
public abstract String getLicenseVersionId()
Output only. license version id.
string license_version_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The licenseVersionId. |
getLicenseVersionIdBytes()
public abstract ByteString getLicenseVersionIdBytes()
Output only. license version id.
string license_version_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for licenseVersionId. |
getName()
public abstract String getName()
Identifier. name of resource
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Identifier. name of resource
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getProductActivation() (deprecated)
public abstract Map<String,ActivationState> getProductActivation()
Use #getProductActivationMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,ActivationState> |
getProductActivationCount()
public abstract 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];
Returns | |
---|---|
Type | Description |
int |
getProductActivationMap()
public abstract 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];
Returns | |
---|---|
Type | Description |
Map<String,ActivationState> |
getProductActivationOrDefault(String key, ActivationState defaultValue)
public abstract ActivationState getProductActivationOrDefault(String key, ActivationState defaultValue)
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];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
ActivationState |
Returns | |
---|---|
Type | Description |
ActivationState |
getProductActivationOrThrow(String key)
public abstract ActivationState getProductActivationOrThrow(String key)
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];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
ActivationState |
getProductActivationValue() (deprecated)
public abstract Map<String,Integer> getProductActivationValue()
Use #getProductActivationValueMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,java.lang.Integer> |
getProductActivationValueMap()
public abstract Map<String,Integer> 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];
Returns | |
---|---|
Type | Description |
Map<String,java.lang.Integer> |
getProductActivationValueOrDefault(String key, int defaultValue)
public abstract int getProductActivationValueOrDefault(String key, int defaultValue)
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];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
int |
Returns | |
---|---|
Type | Description |
int |
getProductActivationValueOrThrow(String key)
public abstract int getProductActivationValueOrThrow(String key)
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];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
int |
getRegion()
public abstract String getRegion()
Output only. The location of the VM.
string region = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The region. |
getRegionBytes()
public abstract ByteString getRegionBytes()
Output only. The location of the VM.
string region = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for region. |
getState()
public abstract 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 | |
---|---|
Type | Description |
Instance.State |
The state. |
getStateValue()
public abstract int getStateValue()
Output only. The state of the VM.
.google.cloud.licensemanager.v1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
getUpdateTime()
public abstract Timestamp getUpdateTime()
Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public abstract boolean hasCreateTime()
Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()
Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |