public static final class CancelOperationRequest.Builder extends GeneratedMessageV3.Builder<CancelOperationRequest.Builder> implements CancelOperationRequestOrBuilder
CancelOperationRequest cancels a single operation.Protobuf type
google.container.v1.CancelOperationRequest| Modifier and Type | Method and Description |
|---|---|
CancelOperationRequest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
CancelOperationRequest |
build() |
CancelOperationRequest |
buildPartial() |
CancelOperationRequest.Builder |
clear() |
CancelOperationRequest.Builder |
clearField(Descriptors.FieldDescriptor field) |
CancelOperationRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
CancelOperationRequest.Builder |
clearOperationId()
The server-assigned `name` of the operation.
|
CancelOperationRequest.Builder |
clearProjectId()
The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
|
CancelOperationRequest.Builder |
clearZone()
The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the operation resides.
|
CancelOperationRequest.Builder |
clone() |
CancelOperationRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getOperationId()
The server-assigned `name` of the operation.
|
ByteString |
getOperationIdBytes()
The server-assigned `name` of the operation.
|
java.lang.String |
getProjectId()
The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
|
ByteString |
getProjectIdBytes()
The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
|
java.lang.String |
getZone()
The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the operation resides.
|
ByteString |
getZoneBytes()
The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the operation resides.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CancelOperationRequest.Builder |
mergeFrom(CancelOperationRequest other) |
CancelOperationRequest.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
CancelOperationRequest.Builder |
mergeFrom(Message other) |
CancelOperationRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
CancelOperationRequest.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
CancelOperationRequest.Builder |
setOperationId(java.lang.String value)
The server-assigned `name` of the operation.
|
CancelOperationRequest.Builder |
setOperationIdBytes(ByteString value)
The server-assigned `name` of the operation.
|
CancelOperationRequest.Builder |
setProjectId(java.lang.String value)
The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
|
CancelOperationRequest.Builder |
setProjectIdBytes(ByteString value)
The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
|
CancelOperationRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
CancelOperationRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
CancelOperationRequest.Builder |
setZone(java.lang.String value)
The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the operation resides.
|
CancelOperationRequest.Builder |
setZoneBytes(ByteString value)
The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the operation resides.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>public CancelOperationRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>public CancelOperationRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic CancelOperationRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic CancelOperationRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic CancelOperationRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>public CancelOperationRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>public CancelOperationRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>public CancelOperationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>public CancelOperationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>public CancelOperationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>public CancelOperationRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<CancelOperationRequest.Builder>public CancelOperationRequest.Builder mergeFrom(CancelOperationRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>public CancelOperationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<CancelOperationRequest.Builder>java.io.IOExceptionpublic java.lang.String getProjectId()
The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).
string project_id = 1;getProjectId in interface CancelOperationRequestOrBuilderpublic ByteString getProjectIdBytes()
The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).
string project_id = 1;getProjectIdBytes in interface CancelOperationRequestOrBuilderpublic CancelOperationRequest.Builder setProjectId(java.lang.String value)
The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).
string project_id = 1;public CancelOperationRequest.Builder clearProjectId()
The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).
string project_id = 1;public CancelOperationRequest.Builder setProjectIdBytes(ByteString value)
The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).
string project_id = 1;public java.lang.String getZone()
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation resides.
string zone = 2;getZone in interface CancelOperationRequestOrBuilderpublic ByteString getZoneBytes()
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation resides.
string zone = 2;getZoneBytes in interface CancelOperationRequestOrBuilderpublic CancelOperationRequest.Builder setZone(java.lang.String value)
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation resides.
string zone = 2;public CancelOperationRequest.Builder clearZone()
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation resides.
string zone = 2;public CancelOperationRequest.Builder setZoneBytes(ByteString value)
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation resides.
string zone = 2;public java.lang.String getOperationId()
The server-assigned `name` of the operation.
string operation_id = 3;getOperationId in interface CancelOperationRequestOrBuilderpublic ByteString getOperationIdBytes()
The server-assigned `name` of the operation.
string operation_id = 3;getOperationIdBytes in interface CancelOperationRequestOrBuilderpublic CancelOperationRequest.Builder setOperationId(java.lang.String value)
The server-assigned `name` of the operation.
string operation_id = 3;public CancelOperationRequest.Builder clearOperationId()
The server-assigned `name` of the operation.
string operation_id = 3;public CancelOperationRequest.Builder setOperationIdBytes(ByteString value)
The server-assigned `name` of the operation.
string operation_id = 3;public final CancelOperationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>public final CancelOperationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>