Class WaitZoneOperationRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<WaitZoneOperationRequest.Builder>
com.google.cloud.compute.v1.WaitZoneOperationRequest.Builder
All Implemented Interfaces:
WaitZoneOperationRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
WaitZoneOperationRequest

public static final class WaitZoneOperationRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<WaitZoneOperationRequest.Builder> implements WaitZoneOperationRequestOrBuilder
 A request message for ZoneOperations.Wait. See the method description for details.
 
Protobuf type google.cloud.compute.v1.WaitZoneOperationRequest
  • 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<WaitZoneOperationRequest.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<WaitZoneOperationRequest.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<WaitZoneOperationRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public WaitZoneOperationRequest.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<WaitZoneOperationRequest.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<WaitZoneOperationRequest.Builder>
    • mergeFrom

      public WaitZoneOperationRequest.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<WaitZoneOperationRequest.Builder>
      Throws:
      IOException
    • getOperation

      public String getOperation()
       Name of the Operations resource to return, or its unique numeric
       identifier.
       
      string operation = 52090215 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOperation in interface WaitZoneOperationRequestOrBuilder
      Returns:
      The operation.
    • getOperationBytes

      public com.google.protobuf.ByteString getOperationBytes()
       Name of the Operations resource to return, or its unique numeric
       identifier.
       
      string operation = 52090215 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOperationBytes in interface WaitZoneOperationRequestOrBuilder
      Returns:
      The bytes for operation.
    • setOperation

      public WaitZoneOperationRequest.Builder setOperation(String value)
       Name of the Operations resource to return, or its unique numeric
       identifier.
       
      string operation = 52090215 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The operation to set.
      Returns:
      This builder for chaining.
    • clearOperation

      public WaitZoneOperationRequest.Builder clearOperation()
       Name of the Operations resource to return, or its unique numeric
       identifier.
       
      string operation = 52090215 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setOperationBytes

      public WaitZoneOperationRequest.Builder setOperationBytes(com.google.protobuf.ByteString value)
       Name of the Operations resource to return, or its unique numeric
       identifier.
       
      string operation = 52090215 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for operation to set.
      Returns:
      This builder for chaining.
    • getProject

      public String getProject()
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getProject in interface WaitZoneOperationRequestOrBuilder
      Returns:
      The project.
    • getProjectBytes

      public com.google.protobuf.ByteString getProjectBytes()
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getProjectBytes in interface WaitZoneOperationRequestOrBuilder
      Returns:
      The bytes for project.
    • setProject

      public WaitZoneOperationRequest.Builder setProject(String value)
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The project to set.
      Returns:
      This builder for chaining.
    • clearProject

      public WaitZoneOperationRequest.Builder clearProject()
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setProjectBytes

      public WaitZoneOperationRequest.Builder setProjectBytes(com.google.protobuf.ByteString value)
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for project to set.
      Returns:
      This builder for chaining.
    • getZone

      public String getZone()
       Name of the zone for this request.
       
      string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getZone in interface WaitZoneOperationRequestOrBuilder
      Returns:
      The zone.
    • getZoneBytes

      public com.google.protobuf.ByteString getZoneBytes()
       Name of the zone for this request.
       
      string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getZoneBytes in interface WaitZoneOperationRequestOrBuilder
      Returns:
      The bytes for zone.
    • setZone

      public WaitZoneOperationRequest.Builder setZone(String value)
       Name of the zone for this request.
       
      string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The zone to set.
      Returns:
      This builder for chaining.
    • clearZone

       Name of the zone for this request.
       
      string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setZoneBytes

      public WaitZoneOperationRequest.Builder setZoneBytes(com.google.protobuf.ByteString value)
       Name of the zone for this request.
       
      string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for zone to set.
      Returns:
      This builder for chaining.