- 0.51.0 (latest)
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.8
- 0.2.1
- 0.1.1
public static final class VolumeSnapshot.Builder extends GeneratedMessageV3.Builder<VolumeSnapshot.Builder> implements VolumeSnapshotOrBuilder
Snapshot registered for a given storage volume.
Protobuf type google.cloud.baremetalsolution.v2.VolumeSnapshot
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VolumeSnapshot.BuilderImplements
VolumeSnapshotOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VolumeSnapshot.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VolumeSnapshot.Builder |
build()
public VolumeSnapshot build()
Type | Description |
VolumeSnapshot |
buildPartial()
public VolumeSnapshot buildPartial()
Type | Description |
VolumeSnapshot |
clear()
public VolumeSnapshot.Builder clear()
Type | Description |
VolumeSnapshot.Builder |
clearCreateTime()
public VolumeSnapshot.Builder clearCreateTime()
Optional. The creation time of the storage volume snapshot.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
VolumeSnapshot.Builder |
clearDescription()
public VolumeSnapshot.Builder clearDescription()
The description of the storage volume snapshot.
string description = 2;
Type | Description |
VolumeSnapshot.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VolumeSnapshot.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
VolumeSnapshot.Builder |
clearName()
public VolumeSnapshot.Builder clearName()
Output only. The name of the storage volume snapshot.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
VolumeSnapshot.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VolumeSnapshot.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
VolumeSnapshot.Builder |
clearSizeBytes()
public VolumeSnapshot.Builder clearSizeBytes()
The size of the storage volume snapshot, in bytes.
int64 size_bytes = 3;
Type | Description |
VolumeSnapshot.Builder | This builder for chaining. |
clearStorageVolume()
public VolumeSnapshot.Builder clearStorageVolume()
The storage volume this snapshot belongs to.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }
Type | Description |
VolumeSnapshot.Builder | This builder for chaining. |
clone()
public VolumeSnapshot.Builder clone()
Type | Description |
VolumeSnapshot.Builder |
getCreateTime()
public Timestamp getCreateTime()
Optional. The creation time of the storage volume snapshot.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Optional. The creation time of the storage volume snapshot.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Optional. The creation time of the storage volume snapshot.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public VolumeSnapshot getDefaultInstanceForType()
Type | Description |
VolumeSnapshot |
getDescription()
public String getDescription()
The description of the storage volume snapshot.
string description = 2;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
The description of the storage volume snapshot.
string description = 2;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Output only. The name of the storage volume snapshot.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The name of the storage volume snapshot.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getSizeBytes()
public long getSizeBytes()
The size of the storage volume snapshot, in bytes.
int64 size_bytes = 3;
Type | Description |
long | The sizeBytes. |
getStorageVolume()
public String getStorageVolume()
The storage volume this snapshot belongs to.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The storageVolume. |
getStorageVolumeBytes()
public ByteString getStorageVolumeBytes()
The storage volume this snapshot belongs to.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for storageVolume. |
hasCreateTime()
public boolean hasCreateTime()
Optional. The creation time of the storage volume snapshot.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the createTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public VolumeSnapshot.Builder mergeCreateTime(Timestamp value)
Optional. The creation time of the storage volume snapshot.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | Timestamp |
Type | Description |
VolumeSnapshot.Builder |
mergeFrom(VolumeSnapshot other)
public VolumeSnapshot.Builder mergeFrom(VolumeSnapshot other)
Name | Description |
other | VolumeSnapshot |
Type | Description |
VolumeSnapshot.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VolumeSnapshot.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
VolumeSnapshot.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public VolumeSnapshot.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
VolumeSnapshot.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VolumeSnapshot.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VolumeSnapshot.Builder |
setCreateTime(Timestamp value)
public VolumeSnapshot.Builder setCreateTime(Timestamp value)
Optional. The creation time of the storage volume snapshot.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | Timestamp |
Type | Description |
VolumeSnapshot.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public VolumeSnapshot.Builder setCreateTime(Timestamp.Builder builderForValue)
Optional. The creation time of the storage volume snapshot.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | Builder |
Type | Description |
VolumeSnapshot.Builder |
setDescription(String value)
public VolumeSnapshot.Builder setDescription(String value)
The description of the storage volume snapshot.
string description = 2;
Name | Description |
value | String The description to set. |
Type | Description |
VolumeSnapshot.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public VolumeSnapshot.Builder setDescriptionBytes(ByteString value)
The description of the storage volume snapshot.
string description = 2;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
VolumeSnapshot.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VolumeSnapshot.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VolumeSnapshot.Builder |
setName(String value)
public VolumeSnapshot.Builder setName(String value)
Output only. The name of the storage volume snapshot.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
VolumeSnapshot.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public VolumeSnapshot.Builder setNameBytes(ByteString value)
Output only. The name of the storage volume snapshot.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
VolumeSnapshot.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VolumeSnapshot.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
VolumeSnapshot.Builder |
setSizeBytes(long value)
public VolumeSnapshot.Builder setSizeBytes(long value)
The size of the storage volume snapshot, in bytes.
int64 size_bytes = 3;
Name | Description |
value | long The sizeBytes to set. |
Type | Description |
VolumeSnapshot.Builder | This builder for chaining. |
setStorageVolume(String value)
public VolumeSnapshot.Builder setStorageVolume(String value)
The storage volume this snapshot belongs to.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The storageVolume to set. |
Type | Description |
VolumeSnapshot.Builder | This builder for chaining. |
setStorageVolumeBytes(ByteString value)
public VolumeSnapshot.Builder setStorageVolumeBytes(ByteString value)
The storage volume this snapshot belongs to.
string storage_volume = 5 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for storageVolume to set. |
Type | Description |
VolumeSnapshot.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final VolumeSnapshot.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VolumeSnapshot.Builder |