public static final class Volume.CloneDetails.Builder extends GeneratedMessage.Builder<Volume.CloneDetails.Builder> implements Volume.CloneDetailsOrBuilderDetails about a clone volume.
Protobuf type google.cloud.netapp.v1.Volume.CloneDetails
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Volume.CloneDetails.BuilderImplements
Volume.CloneDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Volume.CloneDetails build()| Returns | |
|---|---|
| Type | Description |
Volume.CloneDetails |
|
buildPartial()
public Volume.CloneDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
Volume.CloneDetails |
|
clear()
public Volume.CloneDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
Volume.CloneDetails.Builder |
|
clearSharedSpaceGib()
public Volume.CloneDetails.Builder clearSharedSpaceGib()Output only. Shared space in GiB. Determined at volume creation time based on size of source snapshot.
int64 shared_space_gib = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Volume.CloneDetails.Builder |
This builder for chaining. |
clearSourceSnapshot()
public Volume.CloneDetails.Builder clearSourceSnapshot()Output only. Specifies the full resource name of the source snapshot from which this volume was cloned. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}
string source_snapshot = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Volume.CloneDetails.Builder |
This builder for chaining. |
clearSourceVolume()
public Volume.CloneDetails.Builder clearSourceVolume()Output only. Full name of the source volume resource. Format: projects/{project}/locations/{location}/volumes/{volume}
string source_volume = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Volume.CloneDetails.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Volume.CloneDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Volume.CloneDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSharedSpaceGib()
public long getSharedSpaceGib()Output only. Shared space in GiB. Determined at volume creation time based on size of source snapshot.
int64 shared_space_gib = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The sharedSpaceGib. |
getSourceSnapshot()
public String getSourceSnapshot()Output only. Specifies the full resource name of the source snapshot from which this volume was cloned. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}
string source_snapshot = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The sourceSnapshot. |
getSourceSnapshotBytes()
public ByteString getSourceSnapshotBytes()Output only. Specifies the full resource name of the source snapshot from which this volume was cloned. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}
string source_snapshot = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sourceSnapshot. |
getSourceVolume()
public String getSourceVolume()Output only. Full name of the source volume resource. Format: projects/{project}/locations/{location}/volumes/{volume}
string source_volume = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The sourceVolume. |
getSourceVolumeBytes()
public ByteString getSourceVolumeBytes()Output only. Full name of the source volume resource. Format: projects/{project}/locations/{location}/volumes/{volume}
string source_volume = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sourceVolume. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Volume.CloneDetails other)
public Volume.CloneDetails.Builder mergeFrom(Volume.CloneDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
Volume.CloneDetails |
| Returns | |
|---|---|
| Type | Description |
Volume.CloneDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Volume.CloneDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Volume.CloneDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Volume.CloneDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Volume.CloneDetails.Builder |
|
setSharedSpaceGib(long value)
public Volume.CloneDetails.Builder setSharedSpaceGib(long value)Output only. Shared space in GiB. Determined at volume creation time based on size of source snapshot.
int64 shared_space_gib = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe sharedSpaceGib to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.CloneDetails.Builder |
This builder for chaining. |
setSourceSnapshot(String value)
public Volume.CloneDetails.Builder setSourceSnapshot(String value)Output only. Specifies the full resource name of the source snapshot from which this volume was cloned. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}
string source_snapshot = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sourceSnapshot to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.CloneDetails.Builder |
This builder for chaining. |
setSourceSnapshotBytes(ByteString value)
public Volume.CloneDetails.Builder setSourceSnapshotBytes(ByteString value)Output only. Specifies the full resource name of the source snapshot from which this volume was cloned. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}
string source_snapshot = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sourceSnapshot to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.CloneDetails.Builder |
This builder for chaining. |
setSourceVolume(String value)
public Volume.CloneDetails.Builder setSourceVolume(String value)Output only. Full name of the source volume resource. Format: projects/{project}/locations/{location}/volumes/{volume}
string source_volume = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sourceVolume to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.CloneDetails.Builder |
This builder for chaining. |
setSourceVolumeBytes(ByteString value)
public Volume.CloneDetails.Builder setSourceVolumeBytes(ByteString value)Output only. Full name of the source volume resource. Format: projects/{project}/locations/{location}/volumes/{volume}
string source_volume = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sourceVolume to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.CloneDetails.Builder |
This builder for chaining. |