Class DeleteGlobalOperationRequest.Builder (1.30.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteGlobalOperationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteGlobalOperationRequest.Builder
Overrides

build()

public DeleteGlobalOperationRequest build()
Returns
TypeDescription
DeleteGlobalOperationRequest

buildPartial()

public DeleteGlobalOperationRequest buildPartial()
Returns
TypeDescription
DeleteGlobalOperationRequest

clear()

public DeleteGlobalOperationRequest.Builder clear()
Returns
TypeDescription
DeleteGlobalOperationRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteGlobalOperationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteGlobalOperationRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteGlobalOperationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteGlobalOperationRequest.Builder
Overrides

clearOperation()

public DeleteGlobalOperationRequest.Builder clearOperation()

Name of the Operations resource to delete.

string operation = 52090215 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DeleteGlobalOperationRequest.Builder

This builder for chaining.

clearProject()

public DeleteGlobalOperationRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DeleteGlobalOperationRequest.Builder

This builder for chaining.

clone()

public DeleteGlobalOperationRequest.Builder clone()
Returns
TypeDescription
DeleteGlobalOperationRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteGlobalOperationRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteGlobalOperationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOperation()

public String getOperation()

Name of the Operations resource to delete.

string operation = 52090215 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The operation.

getOperationBytes()

public ByteString getOperationBytes()

Name of the Operations resource to delete.

string operation = 52090215 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for operation.

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for project.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteGlobalOperationRequest other)

public DeleteGlobalOperationRequest.Builder mergeFrom(DeleteGlobalOperationRequest other)
Parameter
NameDescription
otherDeleteGlobalOperationRequest
Returns
TypeDescription
DeleteGlobalOperationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteGlobalOperationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteGlobalOperationRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteGlobalOperationRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteGlobalOperationRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteGlobalOperationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteGlobalOperationRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteGlobalOperationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteGlobalOperationRequest.Builder
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
NameDescription
valueString

The operation to set.

Returns
TypeDescription
DeleteGlobalOperationRequest.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for operation to set.

Returns
TypeDescription
DeleteGlobalOperationRequest.Builder

This builder for chaining.

setProject(String value)

public DeleteGlobalOperationRequest.Builder setProject(String value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The project to set.

Returns
TypeDescription
DeleteGlobalOperationRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public DeleteGlobalOperationRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for project to set.

Returns
TypeDescription
DeleteGlobalOperationRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteGlobalOperationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteGlobalOperationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteGlobalOperationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteGlobalOperationRequest.Builder
Overrides