public static final class SearchExampleComparisonsResponse.Builder extends GeneratedMessageV3.Builder<SearchExampleComparisonsResponse.Builder> implements SearchExampleComparisonsResponseOrBuilder
Results of searching example comparisons.
Protobuf type google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllExampleComparisons(Iterable<? extends SearchExampleComparisonsResponse.ExampleComparison> values)
public SearchExampleComparisonsResponse.Builder addAllExampleComparisons(Iterable<? extends SearchExampleComparisonsResponse.ExampleComparison> values)
A list of example comparisons matching the search criteria.
repeated .google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison example_comparisons = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison>
|
Returns
addExampleComparisons(SearchExampleComparisonsResponse.ExampleComparison value)
public SearchExampleComparisonsResponse.Builder addExampleComparisons(SearchExampleComparisonsResponse.ExampleComparison value)
A list of example comparisons matching the search criteria.
repeated .google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison example_comparisons = 1;
Parameter
Returns
addExampleComparisons(SearchExampleComparisonsResponse.ExampleComparison.Builder builderForValue)
public SearchExampleComparisonsResponse.Builder addExampleComparisons(SearchExampleComparisonsResponse.ExampleComparison.Builder builderForValue)
A list of example comparisons matching the search criteria.
repeated .google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison example_comparisons = 1;
Parameter
Returns
addExampleComparisons(int index, SearchExampleComparisonsResponse.ExampleComparison value)
public SearchExampleComparisonsResponse.Builder addExampleComparisons(int index, SearchExampleComparisonsResponse.ExampleComparison value)
A list of example comparisons matching the search criteria.
repeated .google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison example_comparisons = 1;
Parameters
Returns
addExampleComparisons(int index, SearchExampleComparisonsResponse.ExampleComparison.Builder builderForValue)
public SearchExampleComparisonsResponse.Builder addExampleComparisons(int index, SearchExampleComparisonsResponse.ExampleComparison.Builder builderForValue)
A list of example comparisons matching the search criteria.
repeated .google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison example_comparisons = 1;
Parameters
Returns
addExampleComparisonsBuilder()
public SearchExampleComparisonsResponse.ExampleComparison.Builder addExampleComparisonsBuilder()
A list of example comparisons matching the search criteria.
repeated .google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison example_comparisons = 1;
Returns
addExampleComparisonsBuilder(int index)
public SearchExampleComparisonsResponse.ExampleComparison.Builder addExampleComparisonsBuilder(int index)
A list of example comparisons matching the search criteria.
repeated .google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison example_comparisons = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchExampleComparisonsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SearchExampleComparisonsResponse build()
Returns
buildPartial()
public SearchExampleComparisonsResponse buildPartial()
Returns
clear()
public SearchExampleComparisonsResponse.Builder clear()
Returns
Overrides
clearExampleComparisons()
public SearchExampleComparisonsResponse.Builder clearExampleComparisons()
A list of example comparisons matching the search criteria.
repeated .google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison example_comparisons = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public SearchExampleComparisonsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public SearchExampleComparisonsResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchExampleComparisonsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public SearchExampleComparisonsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SearchExampleComparisonsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExampleComparisons(int index)
public SearchExampleComparisonsResponse.ExampleComparison getExampleComparisons(int index)
A list of example comparisons matching the search criteria.
repeated .google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison example_comparisons = 1;
Parameter
Returns
getExampleComparisonsBuilder(int index)
public SearchExampleComparisonsResponse.ExampleComparison.Builder getExampleComparisonsBuilder(int index)
A list of example comparisons matching the search criteria.
repeated .google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison example_comparisons = 1;
Parameter
Returns
getExampleComparisonsBuilderList()
public List<SearchExampleComparisonsResponse.ExampleComparison.Builder> getExampleComparisonsBuilderList()
A list of example comparisons matching the search criteria.
repeated .google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison example_comparisons = 1;
Returns
getExampleComparisonsCount()
public int getExampleComparisonsCount()
A list of example comparisons matching the search criteria.
repeated .google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison example_comparisons = 1;
Returns
getExampleComparisonsList()
public List<SearchExampleComparisonsResponse.ExampleComparison> getExampleComparisonsList()
A list of example comparisons matching the search criteria.
repeated .google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison example_comparisons = 1;
Returns
getExampleComparisonsOrBuilder(int index)
public SearchExampleComparisonsResponse.ExampleComparisonOrBuilder getExampleComparisonsOrBuilder(int index)
A list of example comparisons matching the search criteria.
repeated .google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison example_comparisons = 1;
Parameter
Returns
getExampleComparisonsOrBuilderList()
public List<? extends SearchExampleComparisonsResponse.ExampleComparisonOrBuilder> getExampleComparisonsOrBuilderList()
A list of example comparisons matching the search criteria.
repeated .google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison example_comparisons = 1;
Returns
Type | Description |
List<? extends com.google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparisonOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
A token to retrieve next page of results.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token to retrieve next page of results.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SearchExampleComparisonsResponse other)
public SearchExampleComparisonsResponse.Builder mergeFrom(SearchExampleComparisonsResponse other)
Parameter
Returns
public SearchExampleComparisonsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SearchExampleComparisonsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchExampleComparisonsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeExampleComparisons(int index)
public SearchExampleComparisonsResponse.Builder removeExampleComparisons(int index)
A list of example comparisons matching the search criteria.
repeated .google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison example_comparisons = 1;
Parameter
Returns
setExampleComparisons(int index, SearchExampleComparisonsResponse.ExampleComparison value)
public SearchExampleComparisonsResponse.Builder setExampleComparisons(int index, SearchExampleComparisonsResponse.ExampleComparison value)
A list of example comparisons matching the search criteria.
repeated .google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison example_comparisons = 1;
Parameters
Returns
setExampleComparisons(int index, SearchExampleComparisonsResponse.ExampleComparison.Builder builderForValue)
public SearchExampleComparisonsResponse.Builder setExampleComparisons(int index, SearchExampleComparisonsResponse.ExampleComparison.Builder builderForValue)
A list of example comparisons matching the search criteria.
repeated .google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison example_comparisons = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SearchExampleComparisonsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public SearchExampleComparisonsResponse.Builder setNextPageToken(String value)
A token to retrieve next page of results.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public SearchExampleComparisonsResponse.Builder setNextPageTokenBytes(ByteString value)
A token to retrieve next page of results.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchExampleComparisonsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchExampleComparisonsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides