Class GetQueuedResourceRequest.Builder (2.24.0)

public static final class GetQueuedResourceRequest.Builder extends GeneratedMessageV3.Builder<GetQueuedResourceRequest.Builder> implements GetQueuedResourceRequestOrBuilder

Request for GetQueuedResource

Protobuf type google.cloud.tpu.v2alpha1.GetQueuedResourceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetQueuedResourceRequest build()
Returns
TypeDescription
GetQueuedResourceRequest

buildPartial()

public GetQueuedResourceRequest buildPartial()
Returns
TypeDescription
GetQueuedResourceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetQueuedResourceRequest.Builder clearName()

Required. The resource name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetQueuedResourceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetQueuedResourceRequest getDefaultInstanceForType()
Returns
TypeDescription
GetQueuedResourceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The resource name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetQueuedResourceRequest other)

public GetQueuedResourceRequest.Builder mergeFrom(GetQueuedResourceRequest other)
Parameter
NameDescription
otherGetQueuedResourceRequest
Returns
TypeDescription
GetQueuedResourceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetQueuedResourceRequest.Builder setName(String value)

Required. The resource name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetQueuedResourceRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetQueuedResourceRequest.Builder setNameBytes(ByteString value)

Required. The resource name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetQueuedResourceRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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