public static final class ListExamplesResponse.Builder extends GeneratedMessageV3.Builder<ListExamplesResponse.Builder> implements ListExamplesResponseOrBuilder
Results of listing Examples in and annotated dataset.
Protobuf type google.cloud.datalabeling.v1beta1.ListExamplesResponse
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
addAllExamples(Iterable<? extends Example> values)
public ListExamplesResponse.Builder addAllExamples(Iterable<? extends Example> values)
The list of examples to return.
repeated .google.cloud.datalabeling.v1beta1.Example examples = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.datalabeling.v1beta1.Example>
|
Returns
addExamples(Example value)
public ListExamplesResponse.Builder addExamples(Example value)
The list of examples to return.
repeated .google.cloud.datalabeling.v1beta1.Example examples = 1;
Parameter
Returns
addExamples(Example.Builder builderForValue)
public ListExamplesResponse.Builder addExamples(Example.Builder builderForValue)
The list of examples to return.
repeated .google.cloud.datalabeling.v1beta1.Example examples = 1;
Parameter
Returns
addExamples(int index, Example value)
public ListExamplesResponse.Builder addExamples(int index, Example value)
The list of examples to return.
repeated .google.cloud.datalabeling.v1beta1.Example examples = 1;
Parameters
Returns
addExamples(int index, Example.Builder builderForValue)
public ListExamplesResponse.Builder addExamples(int index, Example.Builder builderForValue)
The list of examples to return.
repeated .google.cloud.datalabeling.v1beta1.Example examples = 1;
Parameters
Returns
addExamplesBuilder()
public Example.Builder addExamplesBuilder()
The list of examples to return.
repeated .google.cloud.datalabeling.v1beta1.Example examples = 1;
Returns
addExamplesBuilder(int index)
public Example.Builder addExamplesBuilder(int index)
The list of examples to return.
repeated .google.cloud.datalabeling.v1beta1.Example examples = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListExamplesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListExamplesResponse build()
Returns
buildPartial()
public ListExamplesResponse buildPartial()
Returns
clear()
public ListExamplesResponse.Builder clear()
Returns
Overrides
clearExamples()
public ListExamplesResponse.Builder clearExamples()
The list of examples to return.
repeated .google.cloud.datalabeling.v1beta1.Example examples = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListExamplesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListExamplesResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListExamplesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListExamplesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListExamplesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExamples(int index)
public Example getExamples(int index)
The list of examples to return.
repeated .google.cloud.datalabeling.v1beta1.Example examples = 1;
Parameter
Returns
getExamplesBuilder(int index)
public Example.Builder getExamplesBuilder(int index)
The list of examples to return.
repeated .google.cloud.datalabeling.v1beta1.Example examples = 1;
Parameter
Returns
getExamplesBuilderList()
public List<Example.Builder> getExamplesBuilderList()
The list of examples to return.
repeated .google.cloud.datalabeling.v1beta1.Example examples = 1;
Returns
getExamplesCount()
public int getExamplesCount()
The list of examples to return.
repeated .google.cloud.datalabeling.v1beta1.Example examples = 1;
Returns
getExamplesList()
public List<Example> getExamplesList()
The list of examples to return.
repeated .google.cloud.datalabeling.v1beta1.Example examples = 1;
Returns
getExamplesOrBuilder(int index)
public ExampleOrBuilder getExamplesOrBuilder(int index)
The list of examples to return.
repeated .google.cloud.datalabeling.v1beta1.Example examples = 1;
Parameter
Returns
getExamplesOrBuilderList()
public List<? extends ExampleOrBuilder> getExamplesOrBuilderList()
The list of examples to return.
repeated .google.cloud.datalabeling.v1beta1.Example examples = 1;
Returns
Type | Description |
List<? extends com.google.cloud.datalabeling.v1beta1.ExampleOrBuilder> | |
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(ListExamplesResponse other)
public ListExamplesResponse.Builder mergeFrom(ListExamplesResponse other)
Parameter
Returns
public ListExamplesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListExamplesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListExamplesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeExamples(int index)
public ListExamplesResponse.Builder removeExamples(int index)
The list of examples to return.
repeated .google.cloud.datalabeling.v1beta1.Example examples = 1;
Parameter
Returns
setExamples(int index, Example value)
public ListExamplesResponse.Builder setExamples(int index, Example value)
The list of examples to return.
repeated .google.cloud.datalabeling.v1beta1.Example examples = 1;
Parameters
Returns
setExamples(int index, Example.Builder builderForValue)
public ListExamplesResponse.Builder setExamples(int index, Example.Builder builderForValue)
The list of examples to return.
repeated .google.cloud.datalabeling.v1beta1.Example examples = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListExamplesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListExamplesResponse.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 ListExamplesResponse.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 ListExamplesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListExamplesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides