public static final class DeleteGlobalOperationRequest.Builder extends GeneratedMessageV3.Builder<DeleteGlobalOperationRequest.Builder> implements DeleteGlobalOperationRequestOrBuilder
A request message for GlobalOperations.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteGlobalOperationRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeleteGlobalOperationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DeleteGlobalOperationRequest build()
Returns
buildPartial()
public DeleteGlobalOperationRequest buildPartial()
Returns
clear()
public DeleteGlobalOperationRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DeleteGlobalOperationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteGlobalOperationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOperation()
public DeleteGlobalOperationRequest.Builder clearOperation()
Name of the Operations resource to delete.
string operation = 52090215 [(.google.api.field_behavior) = REQUIRED];
Returns
clearProject()
public DeleteGlobalOperationRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public DeleteGlobalOperationRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DeleteGlobalOperationRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getOperation()
public String getOperation()
Name of the Operations resource to delete.
string operation = 52090215 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The operation.
|
getOperationBytes()
public ByteString getOperationBytes()
Name of the Operations resource to delete.
string operation = 52090215 [(.google.api.field_behavior) = REQUIRED];
Returns
getProject()
public String getProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The project.
|
getProjectBytes()
public ByteString getProjectBytes()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DeleteGlobalOperationRequest other)
public DeleteGlobalOperationRequest.Builder mergeFrom(DeleteGlobalOperationRequest other)
Parameter
Returns
public DeleteGlobalOperationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DeleteGlobalOperationRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeleteGlobalOperationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DeleteGlobalOperationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setOperation(String value)
public DeleteGlobalOperationRequest.Builder setOperation(String value)
Name of the Operations resource to delete.
string operation = 52090215 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The operation to set.
|
Returns
setOperationBytes(ByteString value)
public DeleteGlobalOperationRequest.Builder setOperationBytes(ByteString value)
Name of the Operations resource to delete.
string operation = 52090215 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for operation to set.
|
Returns
setProject(String value)
public DeleteGlobalOperationRequest.Builder setProject(String value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The project to set.
|
Returns
setProjectBytes(ByteString value)
public DeleteGlobalOperationRequest.Builder setProjectBytes(ByteString value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for project to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeleteGlobalOperationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteGlobalOperationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides