Class GetOperationRequest.Builder

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

public static final class GetOperationRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<GetOperationRequest,GetOperationRequest.Builder> implements GetOperationRequestOrBuilder
 The request message for
 [Operations.GetOperation][google.longrunning.Operations.GetOperation].
 
Protobuf type google.longrunning.GetOperationRequest
  • 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.
    The name of the operation resource.
    com.google.protobuf.ByteString
    The name of the operation resource.
    setName(String value)
    The name of the operation resource.
    setNameBytes(com.google.protobuf.ByteString value)
    The name of the operation resource.

    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.
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface GetOperationRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

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

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

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

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