Class BulkInsertOperationStatus.Builder (1.52.0)

public static final class BulkInsertOperationStatus.Builder extends GeneratedMessageV3.Builder<BulkInsertOperationStatus.Builder> implements BulkInsertOperationStatusOrBuilder

Protobuf type google.cloud.compute.v1.BulkInsertOperationStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BulkInsertOperationStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BulkInsertOperationStatus.Builder
Overrides

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
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public BulkInsertOperationStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BulkInsertOperationStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BulkInsertOperationStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BulkInsertOperationStatus.Builder
Overrides

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.

clone()

public BulkInsertOperationStatus.Builder clone()
Returns
Type Description
BulkInsertOperationStatus.Builder
Overrides

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
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BulkInsertOperationStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BulkInsertOperationStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BulkInsertOperationStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BulkInsertOperationStatus.Builder
Overrides

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 int

The 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 int

The 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 int

The failedToCreateVmCount to set.

Returns
Type Description
BulkInsertOperationStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BulkInsertOperationStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BulkInsertOperationStatus.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BulkInsertOperationStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BulkInsertOperationStatus.Builder
Overrides

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 String

The 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 ByteString

The 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 int

The targetVmCount to set.

Returns
Type Description
BulkInsertOperationStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final BulkInsertOperationStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BulkInsertOperationStatus.Builder
Overrides