public static final class SplitStatus.Builder extends GeneratedMessage.Builder<SplitStatus.Builder> implements SplitStatusOrBuilderMessage for SplitStatus.
Protobuf type google.cloud.netapp.v1.SplitStatus
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SplitStatus.BuilderImplements
SplitStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SplitStatus build()| Returns | |
|---|---|
| Type | Description |
SplitStatus |
|
buildPartial()
public SplitStatus buildPartial()| Returns | |
|---|---|
| Type | Description |
SplitStatus |
|
clear()
public SplitStatus.Builder clear()| Returns | |
|---|---|
| Type | Description |
SplitStatus.Builder |
|
clearProgressPercent()
public SplitStatus.Builder clearProgressPercent()Output only. The estimated progress percentage of the split operation (0-100). This is meaningful primarily when split_state is IN_PROGRESS.
int32 progress_percent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SplitStatus.Builder |
This builder for chaining. |
clearSplitState()
public SplitStatus.Builder clearSplitState()Output only. The current state of the clone split operation.
.google.cloud.netapp.v1.SplitState split_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SplitStatus.Builder |
This builder for chaining. |
clearStateDetails()
public SplitStatus.Builder clearStateDetails()Output only. Human-readable details about the current state. Mostly used for displaying error messages during split failure Examples: "Split in progress", "Error: insufficient capacity".
string state_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SplitStatus.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SplitStatus getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SplitStatus |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getProgressPercent()
public int getProgressPercent()Output only. The estimated progress percentage of the split operation (0-100). This is meaningful primarily when split_state is IN_PROGRESS.
int32 progress_percent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The progressPercent. |
getSplitState()
public SplitState getSplitState()Output only. The current state of the clone split operation.
.google.cloud.netapp.v1.SplitState split_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SplitState |
The splitState. |
getSplitStateValue()
public int getSplitStateValue()Output only. The current state of the clone split operation.
.google.cloud.netapp.v1.SplitState split_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for splitState. |
getStateDetails()
public String getStateDetails()Output only. Human-readable details about the current state. Mostly used for displaying error messages during split failure Examples: "Split in progress", "Error: insufficient capacity".
string state_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The stateDetails. |
getStateDetailsBytes()
public ByteString getStateDetailsBytes()Output only. Human-readable details about the current state. Mostly used for displaying error messages during split failure Examples: "Split in progress", "Error: insufficient capacity".
string state_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for stateDetails. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SplitStatus other)
public SplitStatus.Builder mergeFrom(SplitStatus other)| Parameter | |
|---|---|
| Name | Description |
other |
SplitStatus |
| Returns | |
|---|---|
| Type | Description |
SplitStatus.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SplitStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SplitStatus.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SplitStatus.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SplitStatus.Builder |
|
setProgressPercent(int value)
public SplitStatus.Builder setProgressPercent(int value)Output only. The estimated progress percentage of the split operation (0-100). This is meaningful primarily when split_state is IN_PROGRESS.
int32 progress_percent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe progressPercent to set. |
| Returns | |
|---|---|
| Type | Description |
SplitStatus.Builder |
This builder for chaining. |
setSplitState(SplitState value)
public SplitStatus.Builder setSplitState(SplitState value)Output only. The current state of the clone split operation.
.google.cloud.netapp.v1.SplitState split_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
SplitStateThe splitState to set. |
| Returns | |
|---|---|
| Type | Description |
SplitStatus.Builder |
This builder for chaining. |
setSplitStateValue(int value)
public SplitStatus.Builder setSplitStateValue(int value)Output only. The current state of the clone split operation.
.google.cloud.netapp.v1.SplitState split_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for splitState to set. |
| Returns | |
|---|---|
| Type | Description |
SplitStatus.Builder |
This builder for chaining. |
setStateDetails(String value)
public SplitStatus.Builder setStateDetails(String value)Output only. Human-readable details about the current state. Mostly used for displaying error messages during split failure Examples: "Split in progress", "Error: insufficient capacity".
string state_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe stateDetails to set. |
| Returns | |
|---|---|
| Type | Description |
SplitStatus.Builder |
This builder for chaining. |
setStateDetailsBytes(ByteString value)
public SplitStatus.Builder setStateDetailsBytes(ByteString value)Output only. Human-readable details about the current state. Mostly used for displaying error messages during split failure Examples: "Split in progress", "Error: insufficient capacity".
string state_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for stateDetails to set. |
| Returns | |
|---|---|
| Type | Description |
SplitStatus.Builder |
This builder for chaining. |