Package com.google.longrunning
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 TypeMethodDescriptionThe name of the operation resource to be cancelled.getName()
The name of the operation resource to be cancelled.com.google.protobuf.ByteString
The name of the operation resource to be cancelled.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
The name of the operation resource to be cancelled.
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceCancelOperationRequestOrBuilder
- 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 interfaceCancelOperationRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
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
The name of the operation resource to be cancelled.
string name = 1 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
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.
-