Class CreateQueuedResourceRequest (2.54.0)

public final class CreateQueuedResourceRequest extends GeneratedMessageV3 implements CreateQueuedResourceRequestOrBuilder

Request for CreateQueuedResource.

Protobuf type google.cloud.tpu.v2alpha1.CreateQueuedResourceRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

QUEUED_RESOURCE_FIELD_NUMBER

public static final int QUEUED_RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

QUEUED_RESOURCE_ID_FIELD_NUMBER

public static final int QUEUED_RESOURCE_ID_FIELD_NUMBER
Field Value
Type Description
int

REQUEST_ID_FIELD_NUMBER

public static final int REQUEST_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateQueuedResourceRequest getDefaultInstance()
Returns
Type Description
CreateQueuedResourceRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CreateQueuedResourceRequest.Builder newBuilder()
Returns
Type Description
CreateQueuedResourceRequest.Builder

newBuilder(CreateQueuedResourceRequest prototype)

public static CreateQueuedResourceRequest.Builder newBuilder(CreateQueuedResourceRequest prototype)
Parameter
Name Description
prototype CreateQueuedResourceRequest
Returns
Type Description
CreateQueuedResourceRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateQueuedResourceRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateQueuedResourceRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateQueuedResourceRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateQueuedResourceRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CreateQueuedResourceRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateQueuedResourceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateQueuedResourceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateQueuedResourceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateQueuedResourceRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateQueuedResourceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateQueuedResourceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateQueuedResourceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateQueuedResourceRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateQueuedResourceRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateQueuedResourceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateQueuedResourceRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CreateQueuedResourceRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateQueuedResourceRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateQueuedResourceRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateQueuedResourceRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CreateQueuedResourceRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateQueuedResourceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateQueuedResourceRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateQueuedResourceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CreateQueuedResourceRequest> parser()
Returns
Type Description
Parser<CreateQueuedResourceRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CreateQueuedResourceRequest getDefaultInstanceForType()
Returns
Type Description
CreateQueuedResourceRequest

getParent()

public String getParent()

Required. The parent resource name.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource name.

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

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<CreateQueuedResourceRequest> getParserForType()
Returns
Type Description
Parser<CreateQueuedResourceRequest>
Overrides

getQueuedResource()

public QueuedResource getQueuedResource()

Required. The queued resource.

.google.cloud.tpu.v2alpha1.QueuedResource queued_resource = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QueuedResource

The queuedResource.

getQueuedResourceId()

public String getQueuedResourceId()

The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ regex format.

string queued_resource_id = 2;

Returns
Type Description
String

The queuedResourceId.

getQueuedResourceIdBytes()

public ByteString getQueuedResourceIdBytes()

The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ regex format.

string queued_resource_id = 2;

Returns
Type Description
ByteString

The bytes for queuedResourceId.

getQueuedResourceOrBuilder()

public QueuedResourceOrBuilder getQueuedResourceOrBuilder()

Required. The queued resource.

.google.cloud.tpu.v2alpha1.QueuedResource queued_resource = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QueuedResourceOrBuilder

getRequestId()

public String getRequestId()

Idempotent request UUID.

string request_id = 4;

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Idempotent request UUID.

string request_id = 4;

Returns
Type Description
ByteString

The bytes for requestId.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasQueuedResource()

public boolean hasQueuedResource()

Required. The queued resource.

.google.cloud.tpu.v2alpha1.QueuedResource queued_resource = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the queuedResource field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreateQueuedResourceRequest.Builder newBuilderForType()
Returns
Type Description
CreateQueuedResourceRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateQueuedResourceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateQueuedResourceRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CreateQueuedResourceRequest.Builder toBuilder()
Returns
Type Description
CreateQueuedResourceRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException