public interface SnapshotOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Resource labels to represent user provided metadata.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getDescription()
A description of the snapshot with 2048 characters or less.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A description of the snapshot with 2048 characters or less.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Resource labels to represent user provided metadata.
|
Map<String,String> |
getLabelsMap()
Resource labels to represent user provided metadata.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Resource labels to represent user provided metadata.
|
String |
getLabelsOrThrow(String key)
Resource labels to represent user provided metadata.
|
String |
getName()
Identifier.
|
com.google.protobuf.ByteString |
getNameBytes()
Identifier.
|
Snapshot.State |
getState()
Output only.
|
String |
getStateDetails()
Output only.
|
com.google.protobuf.ByteString |
getStateDetailsBytes()
Output only.
|
int |
getStateValue()
Output only.
|
double |
getUsedBytes()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Identifier. The resource name of the snapshot.
Format:
`projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];com.google.protobuf.ByteString getNameBytes()
Identifier. The resource name of the snapshot.
Format:
`projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];int getStateValue()
Output only. The snapshot state.
.google.cloud.netapp.v1.Snapshot.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Snapshot.State getState()
Output only. The snapshot state.
.google.cloud.netapp.v1.Snapshot.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getStateDetails()
Output only. State details of the storage pool
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getStateDetailsBytes()
Output only. State details of the storage pool
string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];String getDescription()
A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.
string description = 4;com.google.protobuf.ByteString getDescriptionBytes()
A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.
string description = 4;double getUsedBytes()
Output only. Current storage usage for the snapshot in bytes.
double used_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];boolean hasCreateTime()
Output only. The time when the snapshot was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the snapshot was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the snapshot was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getLabelsCount()
Resource labels to represent user provided metadata.
map<string, string> labels = 7;boolean containsLabels(String key)
Resource labels to represent user provided metadata.
map<string, string> labels = 7;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
Resource labels to represent user provided metadata.
map<string, string> labels = 7;String getLabelsOrDefault(String key, String defaultValue)
Resource labels to represent user provided metadata.
map<string, string> labels = 7;Copyright © 2024 Google LLC. All rights reserved.