Interface VolumeSnapshotOrBuilder (0.45.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
Type Description
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
Type Description
TimestampOrBuilder

getDescription()

public abstract String getDescription()

The description of the snapshot.

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

The description of the snapshot.

string description = 2;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for id.

getName()

public abstract String getName()

The name of the snapshot.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the snapshot.

string name = 1;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the createTime field is set.