Class BulkInsertOperationStatus.Builder (1.51.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BulkInsertOperationStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BulkInsertOperationStatus.Builder
Overrides

build()

public BulkInsertOperationStatus build()
Returns
TypeDescription
BulkInsertOperationStatus

buildPartial()

public BulkInsertOperationStatus buildPartial()
Returns
TypeDescription
BulkInsertOperationStatus

clear()

public BulkInsertOperationStatus.Builder clear()
Returns
TypeDescription
BulkInsertOperationStatus.Builder
Overrides

clearCreatedVmCount()

public BulkInsertOperationStatus.Builder clearCreatedVmCount()

[Output Only] Count of VMs successfully created so far.

optional int32 created_vm_count = 396924158;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BulkInsertOperationStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public BulkInsertOperationStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BulkInsertOperationStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BulkInsertOperationStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BulkInsertOperationStatus.Builder

This builder for chaining.

clone()

public BulkInsertOperationStatus.Builder clone()
Returns
TypeDescription
BulkInsertOperationStatus.Builder
Overrides

getCreatedVmCount()

public int getCreatedVmCount()

[Output Only] Count of VMs successfully created so far.

optional int32 created_vm_count = 396924158;

Returns
TypeDescription
int

The createdVmCount.

getDefaultInstanceForType()

public BulkInsertOperationStatus getDefaultInstanceForType()
Returns
TypeDescription
BulkInsertOperationStatus

getDeletedVmCount()

public int getDeletedVmCount()

[Output Only] Count of VMs that got deleted during rollback.

optional int32 deleted_vm_count = 271756013;

Returns
TypeDescription
int

The deletedVmCount.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The targetVmCount.

hasCreatedVmCount()

public boolean hasCreatedVmCount()

[Output Only] Count of VMs successfully created so far.

optional int32 created_vm_count = 396924158;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the targetVmCount field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BulkInsertOperationStatus other)

public BulkInsertOperationStatus.Builder mergeFrom(BulkInsertOperationStatus other)
Parameter
NameDescription
otherBulkInsertOperationStatus
Returns
TypeDescription
BulkInsertOperationStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BulkInsertOperationStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkInsertOperationStatus.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BulkInsertOperationStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BulkInsertOperationStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BulkInsertOperationStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueint

The createdVmCount to set.

Returns
TypeDescription
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
NameDescription
valueint

The deletedVmCount to set.

Returns
TypeDescription
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
NameDescription
valueint

The failedToCreateVmCount to set.

Returns
TypeDescription
BulkInsertOperationStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BulkInsertOperationStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BulkInsertOperationStatus.Builder
Overrides

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

public BulkInsertOperationStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The status to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for status to set.

Returns
TypeDescription
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
NameDescription
valueint

The targetVmCount to set.

Returns
TypeDescription
BulkInsertOperationStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final BulkInsertOperationStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BulkInsertOperationStatus.Builder
Overrides