Class GetGlobalOperationRequest.Builder (1.49.0)

public static final class GetGlobalOperationRequest.Builder extends GeneratedMessageV3.Builder<GetGlobalOperationRequest.Builder> implements GetGlobalOperationRequestOrBuilder

A request message for GlobalOperations.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetGlobalOperationRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetGlobalOperationRequest build()
Returns
TypeDescription
GetGlobalOperationRequest

buildPartial()

public GetGlobalOperationRequest buildPartial()
Returns
TypeDescription
GetGlobalOperationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperation()

public GetGlobalOperationRequest.Builder clearOperation()

Name of the Operations resource to return.

string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"];

Returns
TypeDescription
GetGlobalOperationRequest.Builder

This builder for chaining.

clearProject()

public GetGlobalOperationRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
GetGlobalOperationRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetGlobalOperationRequest getDefaultInstanceForType()
Returns
TypeDescription
GetGlobalOperationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOperation()

public String getOperation()

Name of the Operations resource to return.

string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"];

Returns
TypeDescription
String

The operation.

getOperationBytes()

public ByteString getOperationBytes()

Name of the Operations resource to return.

string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"];

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(GetGlobalOperationRequest other)

public GetGlobalOperationRequest.Builder mergeFrom(GetGlobalOperationRequest other)
Parameter
NameDescription
otherGetGlobalOperationRequest
Returns
TypeDescription
GetGlobalOperationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOperation(String value)

public GetGlobalOperationRequest.Builder setOperation(String value)

Name of the Operations resource to return.

string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"];

Parameter
NameDescription
valueString

The operation to set.

Returns
TypeDescription
GetGlobalOperationRequest.Builder

This builder for chaining.

setOperationBytes(ByteString value)

public GetGlobalOperationRequest.Builder setOperationBytes(ByteString value)

Name of the Operations resource to return.

string operation = 52090215 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_response_field) = "name"];

Parameter
NameDescription
valueByteString

The bytes for operation to set.

Returns
TypeDescription
GetGlobalOperationRequest.Builder

This builder for chaining.

setProject(String value)

public GetGlobalOperationRequest.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
GetGlobalOperationRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetGlobalOperationRequest.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
GetGlobalOperationRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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