Class ResolveOperatorInfoRequest.Builder (0.9.0)

public static final class ResolveOperatorInfoRequest.Builder extends GeneratedMessageV3.Builder<ResolveOperatorInfoRequest.Builder> implements ResolveOperatorInfoRequestOrBuilder

Request message for querying operator info.

Protobuf type google.cloud.visionai.v1.ResolveOperatorInfoRequest

Static Methods

getDescriptor()

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

Methods

addAllQueries(Iterable<? extends OperatorQuery> values)

public ResolveOperatorInfoRequest.Builder addAllQueries(Iterable<? extends OperatorQuery> values)

Required. The operator queries.

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

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

addQueries(OperatorQuery value)

public ResolveOperatorInfoRequest.Builder addQueries(OperatorQuery value)

Required. The operator queries.

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

Parameter
Name Description
value OperatorQuery
Returns
Type Description
ResolveOperatorInfoRequest.Builder

addQueries(OperatorQuery.Builder builderForValue)

public ResolveOperatorInfoRequest.Builder addQueries(OperatorQuery.Builder builderForValue)

Required. The operator queries.

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

Parameter
Name Description
builderForValue OperatorQuery.Builder
Returns
Type Description
ResolveOperatorInfoRequest.Builder

addQueries(int index, OperatorQuery value)

public ResolveOperatorInfoRequest.Builder addQueries(int index, OperatorQuery value)

Required. The operator queries.

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

Parameters
Name Description
index int
value OperatorQuery
Returns
Type Description
ResolveOperatorInfoRequest.Builder

addQueries(int index, OperatorQuery.Builder builderForValue)

public ResolveOperatorInfoRequest.Builder addQueries(int index, OperatorQuery.Builder builderForValue)

Required. The operator queries.

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

Parameters
Name Description
index int
builderForValue OperatorQuery.Builder
Returns
Type Description
ResolveOperatorInfoRequest.Builder

addQueriesBuilder()

public OperatorQuery.Builder addQueriesBuilder()

Required. The operator queries.

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

Returns
Type Description
OperatorQuery.Builder

addQueriesBuilder(int index)

public OperatorQuery.Builder addQueriesBuilder(int index)

Required. The operator queries.

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

Parameter
Name Description
index int
Returns
Type Description
OperatorQuery.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResolveOperatorInfoRequest build()
Returns
Type Description
ResolveOperatorInfoRequest

buildPartial()

public ResolveOperatorInfoRequest buildPartial()
Returns
Type Description
ResolveOperatorInfoRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public ResolveOperatorInfoRequest.Builder clearParent()

Required. Parent value for ResolveOperatorInfoRequest.

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

Returns
Type Description
ResolveOperatorInfoRequest.Builder

This builder for chaining.

clearQueries()

public ResolveOperatorInfoRequest.Builder clearQueries()

Required. The operator queries.

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

Returns
Type Description
ResolveOperatorInfoRequest.Builder

clone()

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

getDefaultInstanceForType()

public ResolveOperatorInfoRequest getDefaultInstanceForType()
Returns
Type Description
ResolveOperatorInfoRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. Parent value for ResolveOperatorInfoRequest.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Parent value for ResolveOperatorInfoRequest.

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

Returns
Type Description
ByteString

The bytes for parent.

getQueries(int index)

public OperatorQuery getQueries(int index)

Required. The operator queries.

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

Parameter
Name Description
index int
Returns
Type Description
OperatorQuery

getQueriesBuilder(int index)

public OperatorQuery.Builder getQueriesBuilder(int index)

Required. The operator queries.

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

Parameter
Name Description
index int
Returns
Type Description
OperatorQuery.Builder

getQueriesBuilderList()

public List<OperatorQuery.Builder> getQueriesBuilderList()

Required. The operator queries.

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

Returns
Type Description
List<Builder>

getQueriesCount()

public int getQueriesCount()

Required. The operator queries.

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

Returns
Type Description
int

getQueriesList()

public List<OperatorQuery> getQueriesList()

Required. The operator queries.

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

Returns
Type Description
List<OperatorQuery>

getQueriesOrBuilder(int index)

public OperatorQueryOrBuilder getQueriesOrBuilder(int index)

Required. The operator queries.

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

Parameter
Name Description
index int
Returns
Type Description
OperatorQueryOrBuilder

getQueriesOrBuilderList()

public List<? extends OperatorQueryOrBuilder> getQueriesOrBuilderList()

Required. The operator queries.

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResolveOperatorInfoRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeQueries(int index)

public ResolveOperatorInfoRequest.Builder removeQueries(int index)

Required. The operator queries.

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

Parameter
Name Description
index int
Returns
Type Description
ResolveOperatorInfoRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public ResolveOperatorInfoRequest.Builder setParent(String value)

Required. Parent value for ResolveOperatorInfoRequest.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ResolveOperatorInfoRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ResolveOperatorInfoRequest.Builder setParentBytes(ByteString value)

Required. Parent value for ResolveOperatorInfoRequest.

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

This builder for chaining.

setQueries(int index, OperatorQuery value)

public ResolveOperatorInfoRequest.Builder setQueries(int index, OperatorQuery value)

Required. The operator queries.

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

Parameters
Name Description
index int
value OperatorQuery
Returns
Type Description
ResolveOperatorInfoRequest.Builder

setQueries(int index, OperatorQuery.Builder builderForValue)

public ResolveOperatorInfoRequest.Builder setQueries(int index, OperatorQuery.Builder builderForValue)

Required. The operator queries.

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

Parameters
Name Description
index int
builderForValue OperatorQuery.Builder
Returns
Type Description
ResolveOperatorInfoRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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