Class CreateQueuedResourceRequest (2.19.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
TypeDescription
int

QUEUED_RESOURCE_FIELD_NUMBER

public static final int QUEUED_RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

QUEUED_RESOURCE_ID_FIELD_NUMBER

public static final int QUEUED_RESOURCE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

REQUEST_ID_FIELD_NUMBER

public static final int REQUEST_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateQueuedResourceRequest getDefaultInstance()
Returns
TypeDescription
CreateQueuedResourceRequest

getDescriptor()

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

newBuilder()

public static CreateQueuedResourceRequest.Builder newBuilder()
Returns
TypeDescription
CreateQueuedResourceRequest.Builder

newBuilder(CreateQueuedResourceRequest prototype)

public static CreateQueuedResourceRequest.Builder newBuilder(CreateQueuedResourceRequest prototype)
Parameter
NameDescription
prototypeCreateQueuedResourceRequest
Returns
TypeDescription
CreateQueuedResourceRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateQueuedResourceRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateQueuedResourceRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateQueuedResourceRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateQueuedResourceRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateQueuedResourceRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateQueuedResourceRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateQueuedResourceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateQueuedResourceRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateQueuedResourceRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateQueuedResourceRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateQueuedResourceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateQueuedResourceRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateQueuedResourceRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateQueuedResourceRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateQueuedResourceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateQueuedResourceRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateQueuedResourceRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateQueuedResourceRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateQueuedResourceRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateQueuedResourceRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateQueuedResourceRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateQueuedResourceRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateQueuedResourceRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateQueuedResourceRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateQueuedResourceRequest> parser()
Returns
TypeDescription
Parser<CreateQueuedResourceRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CreateQueuedResourceRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateQueuedResourceRequest

getParent()

public String getParent()

Required. The parent resource name.

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

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<CreateQueuedResourceRequest> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
QueuedResourceOrBuilder

getRequestId()

public String getRequestId()

Idempotent request UUID.

string request_id = 4;

Returns
TypeDescription
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Idempotent request UUID.

string request_id = 4;

Returns
TypeDescription
ByteString

The bytes for requestId.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasQueuedResource()

public boolean hasQueuedResource()

Required. The queued resource.

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

Returns
TypeDescription
boolean

Whether the queuedResource field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateQueuedResourceRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateQueuedResourceRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateQueuedResourceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateQueuedResourceRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateQueuedResourceRequest.Builder toBuilder()
Returns
TypeDescription
CreateQueuedResourceRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException