public static final class BulkInsertOperationStatus.Builder extends GeneratedMessage.Builder<BulkInsertOperationStatus.Builder> implements BulkInsertOperationStatusOrBuilder Protobuf type google.cloud.compute.v1.BulkInsertOperationStatus
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BulkInsertOperationStatus.BuilderImplements
BulkInsertOperationStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BulkInsertOperationStatus build()| Returns | |
|---|---|
| Type | Description |
BulkInsertOperationStatus |
|
buildPartial()
public BulkInsertOperationStatus buildPartial()| Returns | |
|---|---|
| Type | Description |
BulkInsertOperationStatus |
|
clear()
public BulkInsertOperationStatus.Builder clear()| Returns | |
|---|---|
| Type | Description |
BulkInsertOperationStatus.Builder |
|
clearCreatedVmCount()
public BulkInsertOperationStatus.Builder clearCreatedVmCount()[Output Only] Count of VMs successfully created so far.
optional int32 created_vm_count = 396924158;
| Returns | |
|---|---|
| Type | Description |
BulkInsertOperationStatus.Builder |
This builder for chaining. |
clearDeletedVmCount()
public BulkInsertOperationStatus.Builder clearDeletedVmCount()[Output Only] Count of VMs that got deleted during rollback.
optional int32 deleted_vm_count = 271756013;
| Returns | |
|---|---|
| Type | Description |
BulkInsertOperationStatus.Builder |
This builder for chaining. |
clearFailedToCreateVmCount()
public BulkInsertOperationStatus.Builder clearFailedToCreateVmCount()[Output Only] Count of VMs that started creating but encountered an error.
optional int32 failed_to_create_vm_count = 58384104;
| Returns | |
|---|---|
| Type | Description |
BulkInsertOperationStatus.Builder |
This builder for chaining. |
clearStatus()
public BulkInsertOperationStatus.Builder clearStatus()[Output Only] Creation status of BulkInsert operation - information if the flow is rolling forward or rolling back. Check the Status enum for the list of possible values.
optional string status = 181260274;
| Returns | |
|---|---|
| Type | Description |
BulkInsertOperationStatus.Builder |
This builder for chaining. |
clearTargetVmCount()
public BulkInsertOperationStatus.Builder clearTargetVmCount()[Output Only] Count of VMs originally planned to be created.
optional int32 target_vm_count = 532975733;
| Returns | |
|---|---|
| Type | Description |
BulkInsertOperationStatus.Builder |
This builder for chaining. |
getCreatedVmCount()
public int getCreatedVmCount()[Output Only] Count of VMs successfully created so far.
optional int32 created_vm_count = 396924158;
| Returns | |
|---|---|
| Type | Description |
int |
The createdVmCount. |
getDefaultInstanceForType()
public BulkInsertOperationStatus getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BulkInsertOperationStatus |
|
getDeletedVmCount()
public int getDeletedVmCount()[Output Only] Count of VMs that got deleted during rollback.
optional int32 deleted_vm_count = 271756013;
| Returns | |
|---|---|
| Type | Description |
int |
The deletedVmCount. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFailedToCreateVmCount()
public int getFailedToCreateVmCount()[Output Only] Count of VMs that started creating but encountered an error.
optional int32 failed_to_create_vm_count = 58384104;
| Returns | |
|---|---|
| Type | Description |
int |
The failedToCreateVmCount. |
getStatus()
public String getStatus()[Output Only] Creation status of BulkInsert operation - information if the flow is rolling forward or rolling back. Check the Status enum for the list of possible values.
optional string status = 181260274;
| Returns | |
|---|---|
| Type | Description |
String |
The status. |
getStatusBytes()
public ByteString getStatusBytes()[Output Only] Creation status of BulkInsert operation - information if the flow is rolling forward or rolling back. Check the Status enum for the list of possible values.
optional string status = 181260274;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for status. |
getTargetVmCount()
public int getTargetVmCount()[Output Only] Count of VMs originally planned to be created.
optional int32 target_vm_count = 532975733;
| Returns | |
|---|---|
| Type | Description |
int |
The targetVmCount. |
hasCreatedVmCount()
public boolean hasCreatedVmCount()[Output Only] Count of VMs successfully created so far.
optional int32 created_vm_count = 396924158;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createdVmCount field is set. |
hasDeletedVmCount()
public boolean hasDeletedVmCount()[Output Only] Count of VMs that got deleted during rollback.
optional int32 deleted_vm_count = 271756013;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the deletedVmCount field is set. |
hasFailedToCreateVmCount()
public boolean hasFailedToCreateVmCount()[Output Only] Count of VMs that started creating but encountered an error.
optional int32 failed_to_create_vm_count = 58384104;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the failedToCreateVmCount field is set. |
hasStatus()
public boolean hasStatus()[Output Only] Creation status of BulkInsert operation - information if the flow is rolling forward or rolling back. Check the Status enum for the list of possible values.
optional string status = 181260274;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the status field is set. |
hasTargetVmCount()
public boolean hasTargetVmCount()[Output Only] Count of VMs originally planned to be created.
optional int32 target_vm_count = 532975733;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the targetVmCount field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BulkInsertOperationStatus other)
public BulkInsertOperationStatus.Builder mergeFrom(BulkInsertOperationStatus other)| Parameter | |
|---|---|
| Name | Description |
other |
BulkInsertOperationStatus |
| Returns | |
|---|---|
| Type | Description |
BulkInsertOperationStatus.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BulkInsertOperationStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BulkInsertOperationStatus.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BulkInsertOperationStatus.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BulkInsertOperationStatus.Builder |
|
setCreatedVmCount(int value)
public BulkInsertOperationStatus.Builder setCreatedVmCount(int value)[Output Only] Count of VMs successfully created so far.
optional int32 created_vm_count = 396924158;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe createdVmCount to set. |
| Returns | |
|---|---|
| Type | Description |
BulkInsertOperationStatus.Builder |
This builder for chaining. |
setDeletedVmCount(int value)
public BulkInsertOperationStatus.Builder setDeletedVmCount(int value)[Output Only] Count of VMs that got deleted during rollback.
optional int32 deleted_vm_count = 271756013;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe deletedVmCount to set. |
| Returns | |
|---|---|
| Type | Description |
BulkInsertOperationStatus.Builder |
This builder for chaining. |
setFailedToCreateVmCount(int value)
public BulkInsertOperationStatus.Builder setFailedToCreateVmCount(int value)[Output Only] Count of VMs that started creating but encountered an error.
optional int32 failed_to_create_vm_count = 58384104;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe failedToCreateVmCount to set. |
| Returns | |
|---|---|
| Type | Description |
BulkInsertOperationStatus.Builder |
This builder for chaining. |
setStatus(String value)
public BulkInsertOperationStatus.Builder setStatus(String value)[Output Only] Creation status of BulkInsert operation - information if the flow is rolling forward or rolling back. Check the Status enum for the list of possible values.
optional string status = 181260274;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe status to set. |
| Returns | |
|---|---|
| Type | Description |
BulkInsertOperationStatus.Builder |
This builder for chaining. |
setStatusBytes(ByteString value)
public BulkInsertOperationStatus.Builder setStatusBytes(ByteString value)[Output Only] Creation status of BulkInsert operation - information if the flow is rolling forward or rolling back. Check the Status enum for the list of possible values.
optional string status = 181260274;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for status to set. |
| Returns | |
|---|---|
| Type | Description |
BulkInsertOperationStatus.Builder |
This builder for chaining. |
setTargetVmCount(int value)
public BulkInsertOperationStatus.Builder setTargetVmCount(int value)[Output Only] Count of VMs originally planned to be created.
optional int32 target_vm_count = 532975733;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe targetVmCount to set. |
| Returns | |
|---|---|
| Type | Description |
BulkInsertOperationStatus.Builder |
This builder for chaining. |