- 2.53.0 (latest)
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.2.6
public static final class CreateQueuedResourceRequest.Builder extends GeneratedMessageV3.Builder<CreateQueuedResourceRequest.Builder> implements CreateQueuedResourceRequestOrBuilder
Request for CreateQueuedResource.
Protobuf type google.cloud.tpu.v2alpha1.CreateQueuedResourceRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateQueuedResourceRequest.BuilderImplements
CreateQueuedResourceRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateQueuedResourceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
build()
public CreateQueuedResourceRequest build()
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest |
buildPartial()
public CreateQueuedResourceRequest buildPartial()
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest |
clear()
public CreateQueuedResourceRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateQueuedResourceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateQueuedResourceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
clearParent()
public CreateQueuedResourceRequest.Builder clearParent()
Required. The parent resource name.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
This builder for chaining. |
clearQueuedResource()
public CreateQueuedResourceRequest.Builder clearQueuedResource()
Required. The queued resource.
.google.cloud.tpu.v2alpha1.QueuedResource queued_resource = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
clearQueuedResourceId()
public CreateQueuedResourceRequest.Builder clearQueuedResourceId()
The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
regex format.
string queued_resource_id = 2;
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
This builder for chaining. |
clearRequestId()
public CreateQueuedResourceRequest.Builder clearRequestId()
Idempotent request UUID.
string request_id = 4;
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
This builder for chaining. |
clone()
public CreateQueuedResourceRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
getDefaultInstanceForType()
public CreateQueuedResourceRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
getQueuedResourceBuilder()
public QueuedResource.Builder getQueuedResourceBuilder()
Required. The queued resource.
.google.cloud.tpu.v2alpha1.QueuedResource queued_resource = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
QueuedResource.Builder |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CreateQueuedResourceRequest other)
public CreateQueuedResourceRequest.Builder mergeFrom(CreateQueuedResourceRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateQueuedResourceRequest |
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateQueuedResourceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateQueuedResourceRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
mergeQueuedResource(QueuedResource value)
public CreateQueuedResourceRequest.Builder mergeQueuedResource(QueuedResource value)
Required. The queued resource.
.google.cloud.tpu.v2alpha1.QueuedResource queued_resource = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
QueuedResource |
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateQueuedResourceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateQueuedResourceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
setParent(String value)
public CreateQueuedResourceRequest.Builder setParent(String value)
Required. The parent resource name.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateQueuedResourceRequest.Builder setParentBytes(ByteString value)
Required. The parent resource name.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
This builder for chaining. |
setQueuedResource(QueuedResource value)
public CreateQueuedResourceRequest.Builder setQueuedResource(QueuedResource value)
Required. The queued resource.
.google.cloud.tpu.v2alpha1.QueuedResource queued_resource = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
QueuedResource |
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
setQueuedResource(QueuedResource.Builder builderForValue)
public CreateQueuedResourceRequest.Builder setQueuedResource(QueuedResource.Builder builderForValue)
Required. The queued resource.
.google.cloud.tpu.v2alpha1.QueuedResource queued_resource = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
QueuedResource.Builder |
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
setQueuedResourceId(String value)
public CreateQueuedResourceRequest.Builder setQueuedResourceId(String value)
The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
regex format.
string queued_resource_id = 2;
Parameter | |
---|---|
Name | Description |
value |
String The queuedResourceId to set. |
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
This builder for chaining. |
setQueuedResourceIdBytes(ByteString value)
public CreateQueuedResourceRequest.Builder setQueuedResourceIdBytes(ByteString value)
The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
regex format.
string queued_resource_id = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for queuedResourceId to set. |
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateQueuedResourceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
setRequestId(String value)
public CreateQueuedResourceRequest.Builder setRequestId(String value)
Idempotent request UUID.
string request_id = 4;
Parameter | |
---|---|
Name | Description |
value |
String The requestId to set. |
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateQueuedResourceRequest.Builder setRequestIdBytes(ByteString value)
Idempotent request UUID.
string request_id = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for requestId to set. |
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateQueuedResourceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateQueuedResourceRequest.Builder |