Interface VolumeSnapshotOrBuilder (0.39.0)

public interface VolumeSnapshotOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The creation time of the snapshot.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation time of the snapshot.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDescription()

public abstract String getDescription()

The description of the snapshot.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

The description of the snapshot.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getId()

public abstract String getId()

Output only. An identifier for the snapshot, generated by the backend.

string id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Output only. An identifier for the snapshot, generated by the backend.

string id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for id.

getName()

public abstract String getName()

The name of the snapshot.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the snapshot.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getStorageVolume()

public abstract 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
TypeDescription
String

The storageVolume.

getStorageVolumeBytes()

public abstract 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
TypeDescription
ByteString

The bytes for storageVolume.

getType()

public abstract 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
TypeDescription
VolumeSnapshot.SnapshotType

The type.

getTypeValue()

public abstract 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
TypeDescription
int

The enum numeric value on the wire for type.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The creation time of the snapshot.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.