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
QUEUED_RESOURCE_FIELD_NUMBER
public static final int QUEUED_RESOURCE_FIELD_NUMBER
Field Value
QUEUED_RESOURCE_ID_FIELD_NUMBER
public static final int QUEUED_RESOURCE_ID_FIELD_NUMBER
Field Value
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CreateQueuedResourceRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CreateQueuedResourceRequest.Builder newBuilder()
Returns
newBuilder(CreateQueuedResourceRequest prototype)
public static CreateQueuedResourceRequest.Builder newBuilder(CreateQueuedResourceRequest prototype)
Parameter
Returns
public static CreateQueuedResourceRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateQueuedResourceRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CreateQueuedResourceRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateQueuedResourceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CreateQueuedResourceRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateQueuedResourceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateQueuedResourceRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateQueuedResourceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateQueuedResourceRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateQueuedResourceRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CreateQueuedResourceRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateQueuedResourceRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CreateQueuedResourceRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CreateQueuedResourceRequest getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<CreateQueuedResourceRequest> getParserForType()
Returns
Overrides
getQueuedResource()
public QueuedResource getQueuedResource()
Required. The queued resource.
.google.cloud.tpu.v2alpha1.QueuedResource queued_resource = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CreateQueuedResourceRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateQueuedResourceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CreateQueuedResourceRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions