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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
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>
|
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;
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;
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;
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;
addDataItemsBuilder()
public DataItem.Builder addDataItemsBuilder()
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDataItemsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListDataItemsResponse build()
buildPartial()
public ListDataItemsResponse buildPartial()
clear()
public ListDataItemsResponse.Builder clear()
Overrides
clearDataItems()
public ListDataItemsResponse.Builder clearDataItems()
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
clearField(Descriptors.FieldDescriptor field)
public ListDataItemsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListDataItemsResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDataItemsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListDataItemsResponse.Builder clone()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
getDataItemsBuilderList()
public List<DataItem.Builder> getDataItemsBuilderList()
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
getDataItemsCount()
public int getDataItemsCount()
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
Returns |
---|
Type | Description |
int | |
getDataItemsList()
public List<DataItem> getDataItemsList()
The list of data items to return.
repeated .google.cloud.datalabeling.v1beta1.DataItem data_items = 1;
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 |
---|
Name | Description |
index | int
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListDataItemsResponse other)
public ListDataItemsResponse.Builder mergeFrom(ListDataItemsResponse other)
public ListDataItemsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListDataItemsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDataItemsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListDataItemsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDataItemsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDataItemsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides