Class WaitOperationRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<WaitOperationRequest,WaitOperationRequest.Builder>
com.google.longrunning.WaitOperationRequest.Builder
All Implemented Interfaces:
WaitOperationRequestOrBuilder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable
Enclosing class:
WaitOperationRequest

public static final class WaitOperationRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<WaitOperationRequest,WaitOperationRequest.Builder> implements WaitOperationRequestOrBuilder
 The request message for
 [Operations.WaitOperation][google.longrunning.Operations.WaitOperation].
 
Protobuf type google.longrunning.WaitOperationRequest
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    The name of the operation resource to wait on.
    The maximum duration to wait before timing out.
    The name of the operation resource to wait on.
    com.google.protobuf.ByteString
    The name of the operation resource to wait on.
    com.google.protobuf.Duration
    The maximum duration to wait before timing out.
    boolean
    The maximum duration to wait before timing out.
    mergeTimeout(com.google.protobuf.Duration value)
    The maximum duration to wait before timing out.
    setName(String value)
    The name of the operation resource to wait on.
    setNameBytes(com.google.protobuf.ByteString value)
    The name of the operation resource to wait on.
    setTimeout(com.google.protobuf.Duration value)
    The maximum duration to wait before timing out.
    setTimeout(com.google.protobuf.Duration.Builder builderForValue)
    The maximum duration to wait before timing out.

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getName

      public String getName()
       The name of the operation resource to wait on.
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface WaitOperationRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the operation resource to wait on.
       
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface WaitOperationRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public WaitOperationRequest.Builder setName(String value)
       The name of the operation resource to wait on.
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public WaitOperationRequest.Builder clearName()
       The name of the operation resource to wait on.
       
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public WaitOperationRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       The name of the operation resource to wait on.
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasTimeout

      public boolean hasTimeout()
       The maximum duration to wait before timing out. If left blank, the wait
       will be at most the time permitted by the underlying HTTP/RPC protocol.
       If RPC context deadline is also specified, the shorter one will be used.
       
      .google.protobuf.Duration timeout = 2 [json_name = "timeout"];
      Specified by:
      hasTimeout in interface WaitOperationRequestOrBuilder
      Returns:
      Whether the timeout field is set.
    • getTimeout

      public com.google.protobuf.Duration getTimeout()
       The maximum duration to wait before timing out. If left blank, the wait
       will be at most the time permitted by the underlying HTTP/RPC protocol.
       If RPC context deadline is also specified, the shorter one will be used.
       
      .google.protobuf.Duration timeout = 2 [json_name = "timeout"];
      Specified by:
      getTimeout in interface WaitOperationRequestOrBuilder
      Returns:
      The timeout.
    • setTimeout

      public WaitOperationRequest.Builder setTimeout(com.google.protobuf.Duration value)
       The maximum duration to wait before timing out. If left blank, the wait
       will be at most the time permitted by the underlying HTTP/RPC protocol.
       If RPC context deadline is also specified, the shorter one will be used.
       
      .google.protobuf.Duration timeout = 2 [json_name = "timeout"];
    • setTimeout

      public WaitOperationRequest.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
       The maximum duration to wait before timing out. If left blank, the wait
       will be at most the time permitted by the underlying HTTP/RPC protocol.
       If RPC context deadline is also specified, the shorter one will be used.
       
      .google.protobuf.Duration timeout = 2 [json_name = "timeout"];
    • mergeTimeout

      public WaitOperationRequest.Builder mergeTimeout(com.google.protobuf.Duration value)
       The maximum duration to wait before timing out. If left blank, the wait
       will be at most the time permitted by the underlying HTTP/RPC protocol.
       If RPC context deadline is also specified, the shorter one will be used.
       
      .google.protobuf.Duration timeout = 2 [json_name = "timeout"];
    • clearTimeout

      public WaitOperationRequest.Builder clearTimeout()
       The maximum duration to wait before timing out. If left blank, the wait
       will be at most the time permitted by the underlying HTTP/RPC protocol.
       If RPC context deadline is also specified, the shorter one will be used.
       
      .google.protobuf.Duration timeout = 2 [json_name = "timeout"];