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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>
public CancelOperationRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>
public CancelOperationRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public CancelOperationRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public CancelOperationRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public CancelOperationRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>
public CancelOperationRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>
public CancelOperationRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>
public CancelOperationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>
public CancelOperationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>
public CancelOperationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>
public CancelOperationRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<CancelOperationRequest.Builder>
public CancelOperationRequest.Builder mergeFrom(CancelOperationRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>
public CancelOperationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<CancelOperationRequest.Builder>
java.io.IOException
public 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 CancelOperationRequestOrBuilder
public 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 CancelOperationRequestOrBuilder
public 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 CancelOperationRequestOrBuilder
public 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 CancelOperationRequestOrBuilder
public 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 CancelOperationRequestOrBuilder
public ByteString getOperationIdBytes()
The server-assigned `name` of the operation.
string operation_id = 3;
getOperationIdBytes
in interface CancelOperationRequestOrBuilder
public 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>
public final CancelOperationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<CancelOperationRequest.Builder>