Class BulkInsertOperationStatus (1.49.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
TypeDescription
int

DELETED_VM_COUNT_FIELD_NUMBER

public static final int DELETED_VM_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

FAILED_TO_CREATE_VM_COUNT_FIELD_NUMBER

public static final int FAILED_TO_CREATE_VM_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_VM_COUNT_FIELD_NUMBER

public static final int TARGET_VM_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BulkInsertOperationStatus getDefaultInstance()
Returns
TypeDescription
BulkInsertOperationStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BulkInsertOperationStatus.Builder newBuilder()
Returns
TypeDescription
BulkInsertOperationStatus.Builder

newBuilder(BulkInsertOperationStatus prototype)

public static BulkInsertOperationStatus.Builder newBuilder(BulkInsertOperationStatus prototype)
Parameter
NameDescription
prototypeBulkInsertOperationStatus
Returns
TypeDescription
BulkInsertOperationStatus.Builder

parseDelimitedFrom(InputStream input)

public static BulkInsertOperationStatus parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BulkInsertOperationStatus
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkInsertOperationStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkInsertOperationStatus
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BulkInsertOperationStatus parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BulkInsertOperationStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BulkInsertOperationStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkInsertOperationStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BulkInsertOperationStatus parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BulkInsertOperationStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BulkInsertOperationStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkInsertOperationStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BulkInsertOperationStatus parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BulkInsertOperationStatus
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkInsertOperationStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkInsertOperationStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BulkInsertOperationStatus parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BulkInsertOperationStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkInsertOperationStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkInsertOperationStatus
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BulkInsertOperationStatus parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BulkInsertOperationStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BulkInsertOperationStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkInsertOperationStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BulkInsertOperationStatus> parser()
Returns
TypeDescription
Parser<BulkInsertOperationStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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.

getParserForType()

public Parser<BulkInsertOperationStatus> getParserForType()
Returns
TypeDescription
Parser<BulkInsertOperationStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BulkInsertOperationStatus.Builder newBuilderForType()
Returns
TypeDescription
BulkInsertOperationStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BulkInsertOperationStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BulkInsertOperationStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BulkInsertOperationStatus.Builder toBuilder()
Returns
TypeDescription
BulkInsertOperationStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException