public static final class ListDataItemsResponse.Builder extends GeneratedMessageV3.Builder<ListDataItemsResponse.Builder> implements ListDataItemsResponseOrBuilder
Results of listing data items in a dataset.
Protobuf type google.cloud.datalabeling.v1beta1.ListDataItemsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllDataItems(Iterable<? extends DataItem> values)
public ListDataItemsResponse.Builder addAllDataItems(Iterable<? extends DataItem> values)
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.datalabeling.v1beta1.DataItem>
|
Returns
addDataItems(DataItem value)
public ListDataItemsResponse.Builder addDataItems(DataItem value)
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
Parameter
Returns
addDataItems(DataItem.Builder builderForValue)
public ListDataItemsResponse.Builder addDataItems(DataItem.Builder builderForValue)
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
Parameter
Returns
addDataItems(int index, DataItem value)
public ListDataItemsResponse.Builder addDataItems(int index, DataItem value)
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
Parameters
Returns
addDataItems(int index, DataItem.Builder builderForValue)
public ListDataItemsResponse.Builder addDataItems(int index, DataItem.Builder builderForValue)
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
Parameters
Returns
addDataItemsBuilder()
public DataItem.Builder addDataItemsBuilder()
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
Returns
addDataItemsBuilder(int index)
public DataItem.Builder addDataItemsBuilder(int index)
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDataItemsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListDataItemsResponse build()
Returns
buildPartial()
public ListDataItemsResponse buildPartial()
Returns
clear()
public ListDataItemsResponse.Builder clear()
Returns
Overrides
clearDataItems()
public ListDataItemsResponse.Builder clearDataItems()
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListDataItemsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListDataItemsResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDataItemsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListDataItemsResponse.Builder clone()
Returns
Overrides
getDataItems(int index)
public DataItem getDataItems(int index)
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
Parameter
Returns
getDataItemsBuilder(int index)
public DataItem.Builder getDataItemsBuilder(int index)
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
Parameter
Returns
getDataItemsBuilderList()
public List<DataItem.Builder> getDataItemsBuilderList()
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
Returns
getDataItemsCount()
public int getDataItemsCount()
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
Returns
getDataItemsList()
public List<DataItem> getDataItemsList()
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
Returns
getDataItemsOrBuilder(int index)
public DataItemOrBuilder getDataItemsOrBuilder(int index)
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
Parameter
Returns
getDataItemsOrBuilderList()
public List<? extends DataItemOrBuilder> getDataItemsOrBuilderList()
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
Returns
Type | Description |
List<? extends com.google.cloud.datalabeling.v1beta1.DataItemOrBuilder> | |
getDefaultInstanceForType()
public ListDataItemsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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(ListDataItemsResponse other)
public ListDataItemsResponse.Builder mergeFrom(ListDataItemsResponse other)
Parameter
Returns
public ListDataItemsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListDataItemsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDataItemsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeDataItems(int index)
public ListDataItemsResponse.Builder removeDataItems(int index)
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
Parameter
Returns
setDataItems(int index, DataItem value)
public ListDataItemsResponse.Builder setDataItems(int index, DataItem value)
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
Parameters
Returns
setDataItems(int index, DataItem.Builder builderForValue)
public ListDataItemsResponse.Builder setDataItems(int index, DataItem.Builder builderForValue)
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListDataItemsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListDataItemsResponse.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 ListDataItemsResponse.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 ListDataItemsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDataItemsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides