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.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetDescription()The description of the snapshot.com.google.protobuf.ByteStringgetDescriptionBytes()The description of the snapshot.StringgetId()Output only.com.google.protobuf.ByteStringgetIdBytes()Output only.StringgetName()The name of the snapshot.com.google.protobuf.ByteStringgetNameBytes()The name of the snapshot.StringgetStorageVolume()Output only.com.google.protobuf.ByteStringgetStorageVolumeBytes()Output only.VolumeSnapshot.SnapshotTypegetType()Output only.intgetTypeValue()Output only.booleanhasCreateTime()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.
-
-