public final class CreateQueuedResourceRequest extends GeneratedMessageV3 implements CreateQueuedResourceRequestOrBuilder
Request for
CreateQueuedResource.
Protobuf type google.cloud.tpu.v2alpha1.CreateQueuedResourceRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CreateQueuedResourceRequest.Builder newBuilder()
newBuilder(CreateQueuedResourceRequest prototype)
public static CreateQueuedResourceRequest.Builder newBuilder(CreateQueuedResourceRequest prototype)
public static CreateQueuedResourceRequest parseDelimitedFrom(InputStream input)
public static CreateQueuedResourceRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CreateQueuedResourceRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateQueuedResourceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CreateQueuedResourceRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateQueuedResourceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateQueuedResourceRequest parseFrom(CodedInputStream input)
public static CreateQueuedResourceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateQueuedResourceRequest parseFrom(InputStream input)
public static CreateQueuedResourceRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CreateQueuedResourceRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateQueuedResourceRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CreateQueuedResourceRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public CreateQueuedResourceRequest getDefaultInstanceForType()
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()
Overrides
getQueuedResource()
public QueuedResource getQueuedResource()
Required. The queued resource.
.google.cloud.tpu.v2alpha1.QueuedResource queued_resource = 3 [(.google.api.field_behavior) = REQUIRED];
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];
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CreateQueuedResourceRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateQueuedResourceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public CreateQueuedResourceRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides