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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BulkInsertOperationStatus.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<BulkInsertOperationStatus.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<BulkInsertOperationStatus.Builder>
    • getDefaultInstanceForType

      public BulkInsertOperationStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public BulkInsertOperationStatus build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public BulkInsertOperationStatus buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public BulkInsertOperationStatus.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BulkInsertOperationStatus.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasCreatedVmCount in interface BulkInsertOperationStatusOrBuilder
      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:
      getCreatedVmCount in interface BulkInsertOperationStatusOrBuilder
      Returns:
      The createdVmCount.
    • setCreatedVmCount

      public BulkInsertOperationStatus.Builder setCreatedVmCount(int value)
       [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

      public BulkInsertOperationStatus.Builder 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:
      hasDeletedVmCount in interface BulkInsertOperationStatusOrBuilder
      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:
      getDeletedVmCount in interface BulkInsertOperationStatusOrBuilder
      Returns:
      The deletedVmCount.
    • setDeletedVmCount

      public BulkInsertOperationStatus.Builder setDeletedVmCount(int value)
       [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

      public BulkInsertOperationStatus.Builder 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:
      hasFailedToCreateVmCount in interface BulkInsertOperationStatusOrBuilder
      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:
      getFailedToCreateVmCount in interface BulkInsertOperationStatusOrBuilder
      Returns:
      The failedToCreateVmCount.
    • setFailedToCreateVmCount

      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;
      Parameters:
      value - The failedToCreateVmCount to set.
      Returns:
      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:
      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:
      hasStatus in interface BulkInsertOperationStatusOrBuilder
      Returns:
      Whether the status field is set.
    • 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;
      Specified by:
      getStatus in interface BulkInsertOperationStatusOrBuilder
      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:
      getStatusBytes in interface BulkInsertOperationStatusOrBuilder
      Returns:
      The bytes for status.
    • setStatus

      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;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setStatusBytes

      public BulkInsertOperationStatus.Builder setStatusBytes(com.google.protobuf.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;
      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:
      hasTargetVmCount in interface BulkInsertOperationStatusOrBuilder
      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:
      getTargetVmCount in interface BulkInsertOperationStatusOrBuilder
      Returns:
      The targetVmCount.
    • setTargetVmCount

      public BulkInsertOperationStatus.Builder setTargetVmCount(int value)
       [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

      public BulkInsertOperationStatus.Builder clearTargetVmCount()
       [Output Only] Count of VMs originally planned to be created.
       
      optional int32 target_vm_count = 532975733;
      Returns:
      This builder for chaining.