public static final class CreateOperatorRequest.Builder extends GeneratedMessage.Builder<CreateOperatorRequest.Builder> implements CreateOperatorRequestOrBuilderMessage for creating a Operator.
Protobuf type google.cloud.visionai.v1.CreateOperatorRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateOperatorRequest.BuilderImplements
CreateOperatorRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateOperatorRequest build()| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest |
|
buildPartial()
public CreateOperatorRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest |
|
clear()
public CreateOperatorRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest.Builder |
|
clearOperator()
public CreateOperatorRequest.Builder clearOperator()Required. The resource being created.
.google.cloud.visionai.v1.Operator operator = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest.Builder |
|
clearOperatorId()
public CreateOperatorRequest.Builder clearOperatorId()Required. Id of the requesting object.
string operator_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest.Builder |
This builder for chaining. |
clearParent()
public CreateOperatorRequest.Builder clearParent()Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest.Builder |
This builder for chaining. |
clearRequestId()
public CreateOperatorRequest.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];
| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateOperatorRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getOperator()
public Operator getOperator()Required. The resource being created.
.google.cloud.visionai.v1.Operator operator = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Operator |
The operator. |
getOperatorBuilder()
public Operator.Builder getOperatorBuilder()Required. The resource being created.
.google.cloud.visionai.v1.Operator operator = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Operator.Builder |
|
getOperatorId()
public String getOperatorId()Required. Id of the requesting object.
string operator_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The operatorId. |
getOperatorIdBytes()
public ByteString getOperatorIdBytes()Required. Id of the requesting object.
string operator_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for operatorId. |
getOperatorOrBuilder()
public OperatorOrBuilder getOperatorOrBuilder()Required. The resource being created.
.google.cloud.visionai.v1.Operator operator = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
OperatorOrBuilder |
|
getParent()
public String getParent()Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. Value for parent.
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];
| 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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestId. |
hasOperator()
public boolean hasOperator()Required. The resource being created.
.google.cloud.visionai.v1.Operator operator = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the operator field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateOperatorRequest other)
public CreateOperatorRequest.Builder mergeFrom(CreateOperatorRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateOperatorRequest |
| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateOperatorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateOperatorRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest.Builder |
|
mergeOperator(Operator value)
public CreateOperatorRequest.Builder mergeOperator(Operator value)Required. The resource being created.
.google.cloud.visionai.v1.Operator operator = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Operator |
| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest.Builder |
|
setOperator(Operator value)
public CreateOperatorRequest.Builder setOperator(Operator value)Required. The resource being created.
.google.cloud.visionai.v1.Operator operator = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Operator |
| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest.Builder |
|
setOperator(Operator.Builder builderForValue)
public CreateOperatorRequest.Builder setOperator(Operator.Builder builderForValue)Required. The resource being created.
.google.cloud.visionai.v1.Operator operator = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Operator.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest.Builder |
|
setOperatorId(String value)
public CreateOperatorRequest.Builder setOperatorId(String value)Required. Id of the requesting object.
string operator_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe operatorId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest.Builder |
This builder for chaining. |
setOperatorIdBytes(ByteString value)
public CreateOperatorRequest.Builder setOperatorIdBytes(ByteString value)Required. Id of the requesting object.
string operator_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for operatorId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateOperatorRequest.Builder setParent(String value)Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateOperatorRequest.Builder setParentBytes(ByteString value)Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest.Builder |
This builder for chaining. |
setRequestId(String value)
public CreateOperatorRequest.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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateOperatorRequest.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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateOperatorRequest.Builder |
This builder for chaining. |