public static final class CreateProcessorRequest.Builder extends GeneratedMessageV3.Builder<CreateProcessorRequest.Builder> implements CreateProcessorRequestOrBuilder
Message for creating a Processor.
Protobuf type google.cloud.visionai.v1.CreateProcessorRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateProcessorRequest.BuilderImplements
CreateProcessorRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateProcessorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
build()
public CreateProcessorRequest build()
Returns | |
---|---|
Type | Description |
CreateProcessorRequest |
buildPartial()
public CreateProcessorRequest buildPartial()
Returns | |
---|---|
Type | Description |
CreateProcessorRequest |
clear()
public CreateProcessorRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateProcessorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateProcessorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
clearParent()
public CreateProcessorRequest.Builder clearParent()
Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
This builder for chaining. |
clearProcessor()
public CreateProcessorRequest.Builder clearProcessor()
Required. The resource being created.
.google.cloud.visionai.v1.Processor processor = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
clearProcessorId()
public CreateProcessorRequest.Builder clearProcessorId()
Required. Id of the requesting object.
string processor_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
This builder for chaining. |
clearRequestId()
public CreateProcessorRequest.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 |
CreateProcessorRequest.Builder |
This builder for chaining. |
clone()
public CreateProcessorRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
getDefaultInstanceForType()
public CreateProcessorRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateProcessorRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
getProcessor()
public Processor getProcessor()
Required. The resource being created.
.google.cloud.visionai.v1.Processor processor = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Processor |
The processor. |
getProcessorBuilder()
public Processor.Builder getProcessorBuilder()
Required. The resource being created.
.google.cloud.visionai.v1.Processor processor = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Processor.Builder |
getProcessorId()
public String getProcessorId()
Required. Id of the requesting object.
string processor_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The processorId. |
getProcessorIdBytes()
public ByteString getProcessorIdBytes()
Required. Id of the requesting object.
string processor_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for processorId. |
getProcessorOrBuilder()
public ProcessorOrBuilder getProcessorOrBuilder()
Required. The resource being created.
.google.cloud.visionai.v1.Processor processor = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ProcessorOrBuilder |
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. |
hasProcessor()
public boolean hasProcessor()
Required. The resource being created.
.google.cloud.visionai.v1.Processor processor = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the processor field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CreateProcessorRequest other)
public CreateProcessorRequest.Builder mergeFrom(CreateProcessorRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateProcessorRequest |
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateProcessorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateProcessorRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
mergeProcessor(Processor value)
public CreateProcessorRequest.Builder mergeProcessor(Processor value)
Required. The resource being created.
.google.cloud.visionai.v1.Processor processor = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
Processor |
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateProcessorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateProcessorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
setParent(String value)
public CreateProcessorRequest.Builder setParent(String value)
Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateProcessorRequest.Builder setParentBytes(ByteString value)
Required. Value for parent.
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 |
CreateProcessorRequest.Builder |
This builder for chaining. |
setProcessor(Processor value)
public CreateProcessorRequest.Builder setProcessor(Processor value)
Required. The resource being created.
.google.cloud.visionai.v1.Processor processor = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
Processor |
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
setProcessor(Processor.Builder builderForValue)
public CreateProcessorRequest.Builder setProcessor(Processor.Builder builderForValue)
Required. The resource being created.
.google.cloud.visionai.v1.Processor processor = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
Processor.Builder |
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
setProcessorId(String value)
public CreateProcessorRequest.Builder setProcessorId(String value)
Required. Id of the requesting object.
string processor_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The processorId to set. |
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
This builder for chaining. |
setProcessorIdBytes(ByteString value)
public CreateProcessorRequest.Builder setProcessorIdBytes(ByteString value)
Required. Id of the requesting object.
string processor_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for processorId to set. |
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateProcessorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
setRequestId(String value)
public CreateProcessorRequest.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 |
String The requestId to set. |
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateProcessorRequest.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 |
ByteString The bytes for requestId to set. |
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateProcessorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateProcessorRequest.Builder |