Class BatchRunProcessRequest.Builder (0.8.0)

public static final class BatchRunProcessRequest.Builder extends GeneratedMessageV3.Builder<BatchRunProcessRequest.Builder> implements BatchRunProcessRequestOrBuilder

Request message for running the processes in a batch.

Protobuf type google.cloud.visionai.v1.BatchRunProcessRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllRequests(Iterable<? extends CreateProcessRequest> values)

public BatchRunProcessRequest.Builder addAllRequests(Iterable<? extends CreateProcessRequest> values)

Required. The create process requests.

repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.CreateProcessRequest>
Returns
Type Description
BatchRunProcessRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchRunProcessRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchRunProcessRequest.Builder
Overrides

addRequests(CreateProcessRequest value)

public BatchRunProcessRequest.Builder addRequests(CreateProcessRequest value)

Required. The create process requests.

repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CreateProcessRequest
Returns
Type Description
BatchRunProcessRequest.Builder

addRequests(CreateProcessRequest.Builder builderForValue)

public BatchRunProcessRequest.Builder addRequests(CreateProcessRequest.Builder builderForValue)

Required. The create process requests.

repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CreateProcessRequest.Builder
Returns
Type Description
BatchRunProcessRequest.Builder

addRequests(int index, CreateProcessRequest value)

public BatchRunProcessRequest.Builder addRequests(int index, CreateProcessRequest value)

Required. The create process requests.

repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value CreateProcessRequest
Returns
Type Description
BatchRunProcessRequest.Builder

addRequests(int index, CreateProcessRequest.Builder builderForValue)

public BatchRunProcessRequest.Builder addRequests(int index, CreateProcessRequest.Builder builderForValue)

Required. The create process requests.

repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue CreateProcessRequest.Builder
Returns
Type Description
BatchRunProcessRequest.Builder

addRequestsBuilder()

public CreateProcessRequest.Builder addRequestsBuilder()

Required. The create process requests.

repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateProcessRequest.Builder

addRequestsBuilder(int index)

public CreateProcessRequest.Builder addRequestsBuilder(int index)

Required. The create process requests.

repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateProcessRequest.Builder

build()

public BatchRunProcessRequest build()
Returns
Type Description
BatchRunProcessRequest

buildPartial()

public BatchRunProcessRequest buildPartial()
Returns
Type Description
BatchRunProcessRequest

clear()

public BatchRunProcessRequest.Builder clear()
Returns
Type Description
BatchRunProcessRequest.Builder
Overrides

clearBatchId()

public BatchRunProcessRequest.Builder clearBatchId()

Output only. The batch ID.

string batch_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BatchRunProcessRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public BatchRunProcessRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchRunProcessRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchRunProcessRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchRunProcessRequest.Builder
Overrides

clearOptions()

public BatchRunProcessRequest.Builder clearOptions()

Optional. Options for batch processes.

.google.cloud.visionai.v1.BatchRunProcessRequest.BatchRunProcessOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BatchRunProcessRequest.Builder

clearParent()

public BatchRunProcessRequest.Builder clearParent()

Required. The parent resource shared by all processes being created.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
BatchRunProcessRequest.Builder

This builder for chaining.

clearRequests()

public BatchRunProcessRequest.Builder clearRequests()

Required. The create process requests.

repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchRunProcessRequest.Builder

clone()

public BatchRunProcessRequest.Builder clone()
Returns
Type Description
BatchRunProcessRequest.Builder
Overrides

getBatchId()

public String getBatchId()

Output only. The batch ID.

string batch_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The batchId.

getBatchIdBytes()

public ByteString getBatchIdBytes()

Output only. The batch ID.

string batch_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for batchId.

getDefaultInstanceForType()

public BatchRunProcessRequest getDefaultInstanceForType()
Returns
Type Description
BatchRunProcessRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOptions()

public BatchRunProcessRequest.BatchRunProcessOptions getOptions()

Optional. Options for batch processes.

.google.cloud.visionai.v1.BatchRunProcessRequest.BatchRunProcessOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BatchRunProcessRequest.BatchRunProcessOptions

The options.

getOptionsBuilder()

public BatchRunProcessRequest.BatchRunProcessOptions.Builder getOptionsBuilder()

Optional. Options for batch processes.

.google.cloud.visionai.v1.BatchRunProcessRequest.BatchRunProcessOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BatchRunProcessRequest.BatchRunProcessOptions.Builder

getOptionsOrBuilder()

public BatchRunProcessRequest.BatchRunProcessOptionsOrBuilder getOptionsOrBuilder()

Optional. Options for batch processes.

.google.cloud.visionai.v1.BatchRunProcessRequest.BatchRunProcessOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BatchRunProcessRequest.BatchRunProcessOptionsOrBuilder

getParent()

public String getParent()

Required. The parent resource shared by all processes being created.

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 shared by all processes being created.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRequests(int index)

public CreateProcessRequest getRequests(int index)

Required. The create process requests.

repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateProcessRequest

getRequestsBuilder(int index)

public CreateProcessRequest.Builder getRequestsBuilder(int index)

Required. The create process requests.

repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateProcessRequest.Builder

getRequestsBuilderList()

public List<CreateProcessRequest.Builder> getRequestsBuilderList()

Required. The create process requests.

repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getRequestsCount()

public int getRequestsCount()

Required. The create process requests.

repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getRequestsList()

public List<CreateProcessRequest> getRequestsList()

Required. The create process requests.

repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<CreateProcessRequest>

getRequestsOrBuilder(int index)

public CreateProcessRequestOrBuilder getRequestsOrBuilder(int index)

Required. The create process requests.

repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateProcessRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends CreateProcessRequestOrBuilder> getRequestsOrBuilderList()

Required. The create process requests.

repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.CreateProcessRequestOrBuilder>

hasOptions()

public boolean hasOptions()

Optional. Options for batch processes.

.google.cloud.visionai.v1.BatchRunProcessRequest.BatchRunProcessOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the options field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchRunProcessRequest other)

public BatchRunProcessRequest.Builder mergeFrom(BatchRunProcessRequest other)
Parameter
Name Description
other BatchRunProcessRequest
Returns
Type Description
BatchRunProcessRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchRunProcessRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchRunProcessRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchRunProcessRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchRunProcessRequest.Builder
Overrides

mergeOptions(BatchRunProcessRequest.BatchRunProcessOptions value)

public BatchRunProcessRequest.Builder mergeOptions(BatchRunProcessRequest.BatchRunProcessOptions value)

Optional. Options for batch processes.

.google.cloud.visionai.v1.BatchRunProcessRequest.BatchRunProcessOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BatchRunProcessRequest.BatchRunProcessOptions
Returns
Type Description
BatchRunProcessRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchRunProcessRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchRunProcessRequest.Builder
Overrides

removeRequests(int index)

public BatchRunProcessRequest.Builder removeRequests(int index)

Required. The create process requests.

repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
BatchRunProcessRequest.Builder

setBatchId(String value)

public BatchRunProcessRequest.Builder setBatchId(String value)

Output only. The batch ID.

string batch_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The batchId to set.

Returns
Type Description
BatchRunProcessRequest.Builder

This builder for chaining.

setBatchIdBytes(ByteString value)

public BatchRunProcessRequest.Builder setBatchIdBytes(ByteString value)

Output only. The batch ID.

string batch_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for batchId to set.

Returns
Type Description
BatchRunProcessRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BatchRunProcessRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchRunProcessRequest.Builder
Overrides

setOptions(BatchRunProcessRequest.BatchRunProcessOptions value)

public BatchRunProcessRequest.Builder setOptions(BatchRunProcessRequest.BatchRunProcessOptions value)

Optional. Options for batch processes.

.google.cloud.visionai.v1.BatchRunProcessRequest.BatchRunProcessOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BatchRunProcessRequest.BatchRunProcessOptions
Returns
Type Description
BatchRunProcessRequest.Builder

setOptions(BatchRunProcessRequest.BatchRunProcessOptions.Builder builderForValue)

public BatchRunProcessRequest.Builder setOptions(BatchRunProcessRequest.BatchRunProcessOptions.Builder builderForValue)

Optional. Options for batch processes.

.google.cloud.visionai.v1.BatchRunProcessRequest.BatchRunProcessOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue BatchRunProcessRequest.BatchRunProcessOptions.Builder
Returns
Type Description
BatchRunProcessRequest.Builder

setParent(String value)

public BatchRunProcessRequest.Builder setParent(String value)

Required. The parent resource shared by all processes being created.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BatchRunProcessRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchRunProcessRequest.Builder setParentBytes(ByteString value)

Required. The parent resource shared by all processes being created.

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
BatchRunProcessRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchRunProcessRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchRunProcessRequest.Builder
Overrides

setRequests(int index, CreateProcessRequest value)

public BatchRunProcessRequest.Builder setRequests(int index, CreateProcessRequest value)

Required. The create process requests.

repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value CreateProcessRequest
Returns
Type Description
BatchRunProcessRequest.Builder

setRequests(int index, CreateProcessRequest.Builder builderForValue)

public BatchRunProcessRequest.Builder setRequests(int index, CreateProcessRequest.Builder builderForValue)

Required. The create process requests.

repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue CreateProcessRequest.Builder
Returns
Type Description
BatchRunProcessRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchRunProcessRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchRunProcessRequest.Builder
Overrides