- 0.53.0 (latest)
- 0.52.0
- 0.51.0
- 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 RestoreVolumeSnapshotRequest.Builder extends GeneratedMessageV3.Builder<RestoreVolumeSnapshotRequest.Builder> implements RestoreVolumeSnapshotRequestOrBuilder
Message for restoring a volume snapshot.
Protobuf type google.cloud.baremetalsolution.v2.RestoreVolumeSnapshotRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RestoreVolumeSnapshotRequest.BuilderImplements
RestoreVolumeSnapshotRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RestoreVolumeSnapshotRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RestoreVolumeSnapshotRequest.Builder |
build()
public RestoreVolumeSnapshotRequest build()
Returns | |
---|---|
Type | Description |
RestoreVolumeSnapshotRequest |
buildPartial()
public RestoreVolumeSnapshotRequest buildPartial()
Returns | |
---|---|
Type | Description |
RestoreVolumeSnapshotRequest |
clear()
public RestoreVolumeSnapshotRequest.Builder clear()
Returns | |
---|---|
Type | Description |
RestoreVolumeSnapshotRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public RestoreVolumeSnapshotRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RestoreVolumeSnapshotRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RestoreVolumeSnapshotRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RestoreVolumeSnapshotRequest.Builder |
clearVolumeSnapshot()
public RestoreVolumeSnapshotRequest.Builder clearVolumeSnapshot()
Required. Name of the snapshot which will be used to restore its parent volume.
string volume_snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
RestoreVolumeSnapshotRequest.Builder |
This builder for chaining. |
clone()
public RestoreVolumeSnapshotRequest.Builder clone()
Returns | |
---|---|
Type | Description |
RestoreVolumeSnapshotRequest.Builder |
getDefaultInstanceForType()
public RestoreVolumeSnapshotRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RestoreVolumeSnapshotRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getVolumeSnapshot()
public String getVolumeSnapshot()
Required. Name of the snapshot which will be used to restore its parent volume.
string volume_snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The volumeSnapshot. |
getVolumeSnapshotBytes()
public ByteString getVolumeSnapshotBytes()
Required. Name of the snapshot which will be used to restore its parent volume.
string volume_snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for volumeSnapshot. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(RestoreVolumeSnapshotRequest other)
public RestoreVolumeSnapshotRequest.Builder mergeFrom(RestoreVolumeSnapshotRequest other)
Parameter | |
---|---|
Name | Description |
other |
RestoreVolumeSnapshotRequest |
Returns | |
---|---|
Type | Description |
RestoreVolumeSnapshotRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RestoreVolumeSnapshotRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RestoreVolumeSnapshotRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RestoreVolumeSnapshotRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RestoreVolumeSnapshotRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RestoreVolumeSnapshotRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RestoreVolumeSnapshotRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RestoreVolumeSnapshotRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RestoreVolumeSnapshotRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RestoreVolumeSnapshotRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
RestoreVolumeSnapshotRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RestoreVolumeSnapshotRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RestoreVolumeSnapshotRequest.Builder |
setVolumeSnapshot(String value)
public RestoreVolumeSnapshotRequest.Builder setVolumeSnapshot(String value)
Required. Name of the snapshot which will be used to restore its parent volume.
string volume_snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The volumeSnapshot to set. |
Returns | |
---|---|
Type | Description |
RestoreVolumeSnapshotRequest.Builder |
This builder for chaining. |
setVolumeSnapshotBytes(ByteString value)
public RestoreVolumeSnapshotRequest.Builder setVolumeSnapshotBytes(ByteString value)
Required. Name of the snapshot which will be used to restore its parent volume.
string volume_snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for volumeSnapshot to set. |
Returns | |
---|---|
Type | Description |
RestoreVolumeSnapshotRequest.Builder |
This builder for chaining. |