Package com.google.cloud.compute.v1
Class BulkInsertOperationStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BulkInsertOperationStatus.Builder>
com.google.cloud.compute.v1.BulkInsertOperationStatus.Builder
- All Implemented Interfaces:
BulkInsertOperationStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BulkInsertOperationStatus
public static final class BulkInsertOperationStatus.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BulkInsertOperationStatus.Builder>
implements BulkInsertOperationStatusOrBuilder
Protobuf type
google.cloud.compute.v1.BulkInsertOperationStatus-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()[Output Only] Count of VMs successfully created so far.[Output Only] Count of VMs that got deleted during rollback.[Output Only] Count of VMs that started creating but encountered an error.[Output Only] Creation status of BulkInsert operation - information if the flow is rolling forward or rolling back.[Output Only] Count of VMs originally planned to be created.int[Output Only] Count of VMs successfully created so far.int[Output Only] Count of VMs that got deleted during rollback.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorint[Output Only] Count of VMs that started creating but encountered an error.[Output Only] Creation status of BulkInsert operation - information if the flow is rolling forward or rolling back.com.google.protobuf.ByteString[Output Only] Creation status of BulkInsert operation - information if the flow is rolling forward or rolling back.int[Output Only] Count of VMs originally planned to be created.boolean[Output Only] Count of VMs successfully created so far.boolean[Output Only] Count of VMs that got deleted during rollback.boolean[Output Only] Count of VMs that started creating but encountered an error.boolean[Output Only] Creation status of BulkInsert operation - information if the flow is rolling forward or rolling back.boolean[Output Only] Count of VMs originally planned to be created.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCreatedVmCount(int value) [Output Only] Count of VMs successfully created so far.setDeletedVmCount(int value) [Output Only] Count of VMs that got deleted during rollback.setFailedToCreateVmCount(int value) [Output Only] Count of VMs that started creating but encountered an error.[Output Only] Creation status of BulkInsert operation - information if the flow is rolling forward or rolling back.setStatusBytes(com.google.protobuf.ByteString value) [Output Only] Creation status of BulkInsert operation - information if the flow is rolling forward or rolling back.setTargetVmCount(int value) [Output Only] Count of VMs originally planned to be created.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BulkInsertOperationStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BulkInsertOperationStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BulkInsertOperationStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BulkInsertOperationStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BulkInsertOperationStatus.Builder>
-
mergeFrom
public BulkInsertOperationStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BulkInsertOperationStatus.Builder>- Throws:
IOException
-
hasCreatedVmCount
public boolean hasCreatedVmCount()[Output Only] Count of VMs successfully created so far.
optional int32 created_vm_count = 396924158;- Specified by:
hasCreatedVmCountin interfaceBulkInsertOperationStatusOrBuilder- Returns:
- Whether the createdVmCount field is set.
-
getCreatedVmCount
public int getCreatedVmCount()[Output Only] Count of VMs successfully created so far.
optional int32 created_vm_count = 396924158;- Specified by:
getCreatedVmCountin interfaceBulkInsertOperationStatusOrBuilder- Returns:
- The createdVmCount.
-
setCreatedVmCount
[Output Only] Count of VMs successfully created so far.
optional int32 created_vm_count = 396924158;- Parameters:
value- The createdVmCount to set.- Returns:
- This builder for chaining.
-
clearCreatedVmCount
[Output Only] Count of VMs successfully created so far.
optional int32 created_vm_count = 396924158;- Returns:
- This builder for chaining.
-
hasDeletedVmCount
public boolean hasDeletedVmCount()[Output Only] Count of VMs that got deleted during rollback.
optional int32 deleted_vm_count = 271756013;- Specified by:
hasDeletedVmCountin interfaceBulkInsertOperationStatusOrBuilder- Returns:
- Whether the deletedVmCount field is set.
-
getDeletedVmCount
public int getDeletedVmCount()[Output Only] Count of VMs that got deleted during rollback.
optional int32 deleted_vm_count = 271756013;- Specified by:
getDeletedVmCountin interfaceBulkInsertOperationStatusOrBuilder- Returns:
- The deletedVmCount.
-
setDeletedVmCount
[Output Only] Count of VMs that got deleted during rollback.
optional int32 deleted_vm_count = 271756013;- Parameters:
value- The deletedVmCount to set.- Returns:
- This builder for chaining.
-
clearDeletedVmCount
[Output Only] Count of VMs that got deleted during rollback.
optional int32 deleted_vm_count = 271756013;- Returns:
- This builder for chaining.
-
hasFailedToCreateVmCount
public boolean hasFailedToCreateVmCount()[Output Only] Count of VMs that started creating but encountered an error.
optional int32 failed_to_create_vm_count = 58384104;- Specified by:
hasFailedToCreateVmCountin interfaceBulkInsertOperationStatusOrBuilder- Returns:
- Whether the failedToCreateVmCount field is set.
-
getFailedToCreateVmCount
public int getFailedToCreateVmCount()[Output Only] Count of VMs that started creating but encountered an error.
optional int32 failed_to_create_vm_count = 58384104;- Specified by:
getFailedToCreateVmCountin interfaceBulkInsertOperationStatusOrBuilder- Returns:
- The failedToCreateVmCount.
-
setFailedToCreateVmCount
[Output Only] Count of VMs that started creating but encountered an error.
optional int32 failed_to_create_vm_count = 58384104;- Parameters:
value- The failedToCreateVmCount to set.- Returns:
- This builder for chaining.
-
clearFailedToCreateVmCount
[Output Only] Count of VMs that started creating but encountered an error.
optional int32 failed_to_create_vm_count = 58384104;- Returns:
- This builder for chaining.
-
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;- Specified by:
hasStatusin interfaceBulkInsertOperationStatusOrBuilder- Returns:
- Whether the status field is set.
-
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;- Specified by:
getStatusin interfaceBulkInsertOperationStatusOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.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;- Specified by:
getStatusBytesin interfaceBulkInsertOperationStatusOrBuilder- Returns:
- The bytes for status.
-
setStatus
[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;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setStatusBytes
[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;- Parameters:
value- The bytes for status to set.- Returns:
- This builder for chaining.
-
hasTargetVmCount
public boolean hasTargetVmCount()[Output Only] Count of VMs originally planned to be created.
optional int32 target_vm_count = 532975733;- Specified by:
hasTargetVmCountin interfaceBulkInsertOperationStatusOrBuilder- Returns:
- Whether the targetVmCount field is set.
-
getTargetVmCount
public int getTargetVmCount()[Output Only] Count of VMs originally planned to be created.
optional int32 target_vm_count = 532975733;- Specified by:
getTargetVmCountin interfaceBulkInsertOperationStatusOrBuilder- Returns:
- The targetVmCount.
-
setTargetVmCount
[Output Only] Count of VMs originally planned to be created.
optional int32 target_vm_count = 532975733;- Parameters:
value- The targetVmCount to set.- Returns:
- This builder for chaining.
-
clearTargetVmCount
[Output Only] Count of VMs originally planned to be created.
optional int32 target_vm_count = 532975733;- Returns:
- This builder for chaining.
-