- 0.54.0 (latest)
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.2
- 0.2.2
- 0.1.1
public static final class CreateResourceAllowanceRequest.Builder extends GeneratedMessageV3.Builder<CreateResourceAllowanceRequest.Builder> implements CreateResourceAllowanceRequestOrBuilder
CreateResourceAllowance Request.
Protobuf type google.cloud.batch.v1alpha.CreateResourceAllowanceRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateResourceAllowanceRequest.BuilderImplements
CreateResourceAllowanceRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateResourceAllowanceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
build()
public CreateResourceAllowanceRequest build()
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest |
buildPartial()
public CreateResourceAllowanceRequest buildPartial()
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest |
clear()
public CreateResourceAllowanceRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateResourceAllowanceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateResourceAllowanceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
clearParent()
public CreateResourceAllowanceRequest.Builder clearParent()
Required. The parent resource name where the ResourceAllowance will be created. Pattern: "projects/{project}/locations/{location}"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
This builder for chaining. |
clearRequestId()
public CreateResourceAllowanceRequest.Builder clearRequestId()
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
This builder for chaining. |
clearResourceAllowance()
public CreateResourceAllowanceRequest.Builder clearResourceAllowance()
Required. The ResourceAllowance to create.
.google.cloud.batch.v1alpha.ResourceAllowance resource_allowance = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
clearResourceAllowanceId()
public CreateResourceAllowanceRequest.Builder clearResourceAllowanceId()
ID used to uniquely identify the ResourceAllowance within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and '-' are accepted. The '-' character cannot be the first or the last one. A system generated ID will be used if the field is not set.
The resource_allowance.name field in the request will be ignored and the created resource name of the ResourceAllowance will be "{parent}/resourceAllowances/{resource_allowance_id}".
string resource_allowance_id = 2;
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
This builder for chaining. |
clone()
public CreateResourceAllowanceRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
getDefaultInstanceForType()
public CreateResourceAllowanceRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getParent()
public String getParent()
Required. The parent resource name where the ResourceAllowance will be created. Pattern: "projects/{project}/locations/{location}"
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 where the ResourceAllowance will be created. Pattern: "projects/{project}/locations/{location}"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getRequestId()
public String getRequestId()
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for requestId. |
getResourceAllowance()
public ResourceAllowance getResourceAllowance()
Required. The ResourceAllowance to create.
.google.cloud.batch.v1alpha.ResourceAllowance resource_allowance = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ResourceAllowance |
The resourceAllowance. |
getResourceAllowanceBuilder()
public ResourceAllowance.Builder getResourceAllowanceBuilder()
Required. The ResourceAllowance to create.
.google.cloud.batch.v1alpha.ResourceAllowance resource_allowance = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ResourceAllowance.Builder |
getResourceAllowanceId()
public String getResourceAllowanceId()
ID used to uniquely identify the ResourceAllowance within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and '-' are accepted. The '-' character cannot be the first or the last one. A system generated ID will be used if the field is not set.
The resource_allowance.name field in the request will be ignored and the created resource name of the ResourceAllowance will be "{parent}/resourceAllowances/{resource_allowance_id}".
string resource_allowance_id = 2;
Returns | |
---|---|
Type | Description |
String |
The resourceAllowanceId. |
getResourceAllowanceIdBytes()
public ByteString getResourceAllowanceIdBytes()
ID used to uniquely identify the ResourceAllowance within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and '-' are accepted. The '-' character cannot be the first or the last one. A system generated ID will be used if the field is not set.
The resource_allowance.name field in the request will be ignored and the created resource name of the ResourceAllowance will be "{parent}/resourceAllowances/{resource_allowance_id}".
string resource_allowance_id = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for resourceAllowanceId. |
getResourceAllowanceOrBuilder()
public ResourceAllowanceOrBuilder getResourceAllowanceOrBuilder()
Required. The ResourceAllowance to create.
.google.cloud.batch.v1alpha.ResourceAllowance resource_allowance = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ResourceAllowanceOrBuilder |
hasResourceAllowance()
public boolean hasResourceAllowance()
Required. The ResourceAllowance to create.
.google.cloud.batch.v1alpha.ResourceAllowance resource_allowance = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the resourceAllowance field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CreateResourceAllowanceRequest other)
public CreateResourceAllowanceRequest.Builder mergeFrom(CreateResourceAllowanceRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateResourceAllowanceRequest |
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateResourceAllowanceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateResourceAllowanceRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
mergeResourceAllowance(ResourceAllowance value)
public CreateResourceAllowanceRequest.Builder mergeResourceAllowance(ResourceAllowance value)
Required. The ResourceAllowance to create.
.google.cloud.batch.v1alpha.ResourceAllowance resource_allowance = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ResourceAllowance |
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateResourceAllowanceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateResourceAllowanceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
setParent(String value)
public CreateResourceAllowanceRequest.Builder setParent(String value)
Required. The parent resource name where the ResourceAllowance will be created. Pattern: "projects/{project}/locations/{location}"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateResourceAllowanceRequest.Builder setParentBytes(ByteString value)
Required. The parent resource name where the ResourceAllowance will be created. Pattern: "projects/{project}/locations/{location}"
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 |
CreateResourceAllowanceRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateResourceAllowanceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
setRequestId(String value)
public CreateResourceAllowanceRequest.Builder setRequestId(String value)
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The requestId to set. |
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateResourceAllowanceRequest.Builder setRequestIdBytes(ByteString value)
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for requestId to set. |
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
This builder for chaining. |
setResourceAllowance(ResourceAllowance value)
public CreateResourceAllowanceRequest.Builder setResourceAllowance(ResourceAllowance value)
Required. The ResourceAllowance to create.
.google.cloud.batch.v1alpha.ResourceAllowance resource_allowance = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ResourceAllowance |
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
setResourceAllowance(ResourceAllowance.Builder builderForValue)
public CreateResourceAllowanceRequest.Builder setResourceAllowance(ResourceAllowance.Builder builderForValue)
Required. The ResourceAllowance to create.
.google.cloud.batch.v1alpha.ResourceAllowance resource_allowance = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
ResourceAllowance.Builder |
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
setResourceAllowanceId(String value)
public CreateResourceAllowanceRequest.Builder setResourceAllowanceId(String value)
ID used to uniquely identify the ResourceAllowance within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and '-' are accepted. The '-' character cannot be the first or the last one. A system generated ID will be used if the field is not set.
The resource_allowance.name field in the request will be ignored and the created resource name of the ResourceAllowance will be "{parent}/resourceAllowances/{resource_allowance_id}".
string resource_allowance_id = 2;
Parameter | |
---|---|
Name | Description |
value |
String The resourceAllowanceId to set. |
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
This builder for chaining. |
setResourceAllowanceIdBytes(ByteString value)
public CreateResourceAllowanceRequest.Builder setResourceAllowanceIdBytes(ByteString value)
ID used to uniquely identify the ResourceAllowance within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and '-' are accepted. The '-' character cannot be the first or the last one. A system generated ID will be used if the field is not set.
The resource_allowance.name field in the request will be ignored and the created resource name of the ResourceAllowance will be "{parent}/resourceAllowances/{resource_allowance_id}".
string resource_allowance_id = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for resourceAllowanceId to set. |
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateResourceAllowanceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateResourceAllowanceRequest.Builder |