public interface InstanceOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Optional.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Instance.HostConfig |
getHostConfig()
Output only.
|
Instance.HostConfigOrBuilder |
getHostConfigOrBuilder()
Output only.
|
String |
getKmsKey()
Optional.
|
com.google.protobuf.ByteString |
getKmsKeyBytes()
Optional.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Optional.
|
Map<String,String> |
getLabelsMap()
Optional.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getLabelsOrThrow(String key)
Optional.
|
String |
getName()
Optional.
|
com.google.protobuf.ByteString |
getNameBytes()
Optional.
|
Instance.PrivateConfig |
getPrivateConfig()
Optional.
|
Instance.PrivateConfigOrBuilder |
getPrivateConfigOrBuilder()
Optional.
|
Instance.State |
getState()
Output only.
|
Instance.StateNote |
getStateNote()
Output only.
|
int |
getStateNoteValue()
Output only.
|
int |
getStateValue()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasHostConfig()
Output only.
|
boolean |
hasPrivateConfig()
Optional.
|
boolean |
hasUpdateTime()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Optional. A unique identifier for an instance. The name should be of the
format:
`projects/{project_number}/locations/{location_id}/instances/{instance_id}`
`project_number`: Maps to a unique int64 id assigned to each project.
`location_id`: Refers to the region where the instance will be deployed.
Since Secure Source Manager is a regional service, it must be one of the
valid GCP regions.
`instance_id`: User provided name for the instance, must be unique for a
project_number and location_id combination.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getNameBytes()
Optional. A unique identifier for an instance. The name should be of the
format:
`projects/{project_number}/locations/{location_id}/instances/{instance_id}`
`project_number`: Maps to a unique int64 id assigned to each project.
`location_id`: Refers to the region where the instance will be deployed.
Since Secure Source Manager is a regional service, it must be one of the
valid GCP regions.
`instance_id`: User provided name for the instance, must be unique for a
project_number and location_id combination.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];boolean hasCreateTime()
Output only. Create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getCreateTime()
Output only. Create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasUpdateTime()
Output only. Update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getUpdateTime()
Output only. Update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getLabelsCount()
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];boolean containsLabels(String key)
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];String getLabelsOrDefault(String key, String defaultValue)
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];String getLabelsOrThrow(String key)
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];boolean hasPrivateConfig()
Optional. Private settings for private instance.
.google.cloud.securesourcemanager.v1.Instance.PrivateConfig private_config = 13 [(.google.api.field_behavior) = OPTIONAL];
Instance.PrivateConfig getPrivateConfig()
Optional. Private settings for private instance.
.google.cloud.securesourcemanager.v1.Instance.PrivateConfig private_config = 13 [(.google.api.field_behavior) = OPTIONAL];
Instance.PrivateConfigOrBuilder getPrivateConfigOrBuilder()
Optional. Private settings for private instance.
.google.cloud.securesourcemanager.v1.Instance.PrivateConfig private_config = 13 [(.google.api.field_behavior) = OPTIONAL];
int getStateValue()
Output only. Current state of the instance.
.google.cloud.securesourcemanager.v1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Instance.State getState()
Output only. Current state of the instance.
.google.cloud.securesourcemanager.v1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getStateNoteValue()
Output only. An optional field providing information about the current instance state.
.google.cloud.securesourcemanager.v1.Instance.StateNote state_note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Instance.StateNote getStateNote()
Output only. An optional field providing information about the current instance state.
.google.cloud.securesourcemanager.v1.Instance.StateNote state_note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getKmsKey()
Optional. Immutable. Customer-managed encryption key name, in the format projects/*/locations/*/keyRings/*/cryptoKeys/*.
string kms_key = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getKmsKeyBytes()
Optional. Immutable. Customer-managed encryption key name, in the format projects/*/locations/*/keyRings/*/cryptoKeys/*.
string kms_key = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
boolean hasHostConfig()
Output only. A list of hostnames for this instance.
.google.cloud.securesourcemanager.v1.Instance.HostConfig host_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Instance.HostConfig getHostConfig()
Output only. A list of hostnames for this instance.
.google.cloud.securesourcemanager.v1.Instance.HostConfig host_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Instance.HostConfigOrBuilder getHostConfigOrBuilder()
Output only. A list of hostnames for this instance.
.google.cloud.securesourcemanager.v1.Instance.HostConfig host_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Copyright © 2025 Google LLC. All rights reserved.