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()
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>
|
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;
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;
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;
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;
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;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchExampleComparisonsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchExampleComparisonsResponse build()
buildPartial()
public SearchExampleComparisonsResponse buildPartial()
clear()
public SearchExampleComparisonsResponse.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public SearchExampleComparisonsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public SearchExampleComparisonsResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchExampleComparisonsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SearchExampleComparisonsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchExampleComparisonsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
getExampleComparisonsCount()
public int getExampleComparisonsCount()
A list of example comparisons matching the search criteria.
repeated .google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison example_comparisons = 1;
Returns |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchExampleComparisonsResponse other)
public SearchExampleComparisonsResponse.Builder mergeFrom(SearchExampleComparisonsResponse other)
public SearchExampleComparisonsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchExampleComparisonsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchExampleComparisonsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public SearchExampleComparisonsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchExampleComparisonsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchExampleComparisonsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides