Class GetGlobalOrganizationOperationRequest.Builder (1.27.0)

public static final class GetGlobalOrganizationOperationRequest.Builder extends GeneratedMessageV3.Builder<GetGlobalOrganizationOperationRequest.Builder> implements GetGlobalOrganizationOperationRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetGlobalOrganizationOperationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetGlobalOrganizationOperationRequest build()
Returns
TypeDescription
GetGlobalOrganizationOperationRequest

buildPartial()

public GetGlobalOrganizationOperationRequest buildPartial()
Returns
TypeDescription
GetGlobalOrganizationOperationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperation()

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

This builder for chaining.

clearParentId()

public GetGlobalOrganizationOperationRequest.Builder clearParentId()

Parent ID for this request.

optional string parent_id = 459714768;

Returns
TypeDescription
GetGlobalOrganizationOperationRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetGlobalOrganizationOperationRequest getDefaultInstanceForType()
Returns
TypeDescription
GetGlobalOrganizationOperationRequest

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.

getParentId()

public String getParentId()

Parent ID for this request.

optional string parent_id = 459714768;

Returns
TypeDescription
String

The parentId.

getParentIdBytes()

public ByteString getParentIdBytes()

Parent ID for this request.

optional string parent_id = 459714768;

Returns
TypeDescription
ByteString

The bytes for parentId.

hasParentId()

public boolean hasParentId()

Parent ID for this request.

optional string parent_id = 459714768;

Returns
TypeDescription
boolean

Whether the parentId field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetGlobalOrganizationOperationRequest other)

public GetGlobalOrganizationOperationRequest.Builder mergeFrom(GetGlobalOrganizationOperationRequest other)
Parameter
NameDescription
otherGetGlobalOrganizationOperationRequest
Returns
TypeDescription
GetGlobalOrganizationOperationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOperation(String value)

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

This builder for chaining.

setOperationBytes(ByteString value)

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

This builder for chaining.

setParentId(String value)

public GetGlobalOrganizationOperationRequest.Builder setParentId(String value)

Parent ID for this request.

optional string parent_id = 459714768;

Parameter
NameDescription
valueString

The parentId to set.

Returns
TypeDescription
GetGlobalOrganizationOperationRequest.Builder

This builder for chaining.

setParentIdBytes(ByteString value)

public GetGlobalOrganizationOperationRequest.Builder setParentIdBytes(ByteString value)

Parent ID for this request.

optional string parent_id = 459714768;

Parameter
NameDescription
valueByteString

The bytes for parentId to set.

Returns
TypeDescription
GetGlobalOrganizationOperationRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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