Interface VolumeSnapshotOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VolumeSnapshot
,VolumeSnapshot.Builder
public interface VolumeSnapshotOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getDescription()
The description of the snapshot.com.google.protobuf.ByteString
getDescriptionBytes()
The description of the snapshot.String
getId()
Output only.com.google.protobuf.ByteString
getIdBytes()
Output only.String
getName()
The name of the snapshot.com.google.protobuf.ByteString
getNameBytes()
The name of the snapshot.String
getStorageVolume()
Output only.com.google.protobuf.ByteString
getStorageVolumeBytes()
Output only.VolumeSnapshot.SnapshotType
getType()
Output only.int
getTypeValue()
Output only.boolean
hasCreateTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The name of the snapshot.
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name of the snapshot.
string name = 1;
- Returns:
- The bytes for name.
-
getId
String getId()
Output only. An identifier for the snapshot, generated by the backend.
string id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
Output only. An identifier for the snapshot, generated by the backend.
string id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for id.
-
getDescription
String getDescription()
The description of the snapshot.
string description = 2;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
The description of the snapshot.
string description = 2;
- Returns:
- The bytes for description.
-
hasCreateTime
boolean hasCreateTime()
Output only. The creation time of the snapshot.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. The creation time of the snapshot.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time of the snapshot.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStorageVolume
String getStorageVolume()
Output only. The name of the volume which this snapshot belongs to.
string storage_volume = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- The storageVolume.
-
getStorageVolumeBytes
com.google.protobuf.ByteString getStorageVolumeBytes()
Output only. The name of the volume which this snapshot belongs to.
string storage_volume = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for storageVolume.
-
getTypeValue
int getTypeValue()
Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.
.google.cloud.baremetalsolution.v2.VolumeSnapshot.SnapshotType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for type.
-
getType
VolumeSnapshot.SnapshotType getType()
Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.
.google.cloud.baremetalsolution.v2.VolumeSnapshot.SnapshotType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The type.
-
-