Class BulkInsertOperationStatus (1.65.0)

public final class BulkInsertOperationStatus extends GeneratedMessageV3 implements BulkInsertOperationStatusOrBuilder

Protobuf type google.cloud.compute.v1.BulkInsertOperationStatus

Static Fields

CREATED_VM_COUNT_FIELD_NUMBER

public static final int CREATED_VM_COUNT_FIELD_NUMBER
Field Value
Type Description
int

DELETED_VM_COUNT_FIELD_NUMBER

public static final int DELETED_VM_COUNT_FIELD_NUMBER
Field Value
Type Description
int

FAILED_TO_CREATE_VM_COUNT_FIELD_NUMBER

public static final int FAILED_TO_CREATE_VM_COUNT_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

TARGET_VM_COUNT_FIELD_NUMBER

public static final int TARGET_VM_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BulkInsertOperationStatus getDefaultInstance()
Returns
Type Description
BulkInsertOperationStatus

getDescriptor()

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

newBuilder()

public static BulkInsertOperationStatus.Builder newBuilder()
Returns
Type Description
BulkInsertOperationStatus.Builder

newBuilder(BulkInsertOperationStatus prototype)

public static BulkInsertOperationStatus.Builder newBuilder(BulkInsertOperationStatus prototype)
Parameter
Name Description
prototype BulkInsertOperationStatus
Returns
Type Description
BulkInsertOperationStatus.Builder

parseDelimitedFrom(InputStream input)

public static BulkInsertOperationStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BulkInsertOperationStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkInsertOperationStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkInsertOperationStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BulkInsertOperationStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BulkInsertOperationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BulkInsertOperationStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkInsertOperationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BulkInsertOperationStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BulkInsertOperationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BulkInsertOperationStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkInsertOperationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BulkInsertOperationStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BulkInsertOperationStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkInsertOperationStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkInsertOperationStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BulkInsertOperationStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BulkInsertOperationStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkInsertOperationStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkInsertOperationStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BulkInsertOperationStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BulkInsertOperationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BulkInsertOperationStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkInsertOperationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BulkInsertOperationStatus> parser()
Returns
Type Description
Parser<BulkInsertOperationStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

getParserForType()

public Parser<BulkInsertOperationStatus> getParserForType()
Returns
Type Description
Parser<BulkInsertOperationStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BulkInsertOperationStatus.Builder newBuilderForType()
Returns
Type Description
BulkInsertOperationStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BulkInsertOperationStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BulkInsertOperationStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BulkInsertOperationStatus.Builder toBuilder()
Returns
Type Description
BulkInsertOperationStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException