Class CancelOperationRequest.Builder

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

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

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

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

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

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

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