public static final class ListAnnotatedDatasetsResponse.Builder extends GeneratedMessageV3.Builder<ListAnnotatedDatasetsResponse.Builder> implements ListAnnotatedDatasetsResponseOrBuilder
Results of listing annotated datasets for a dataset.
Protobuf type google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse
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
addAllAnnotatedDatasets(Iterable<? extends AnnotatedDataset> values)
public ListAnnotatedDatasetsResponse.Builder addAllAnnotatedDatasets(Iterable<? extends AnnotatedDataset> values)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.datalabeling.v1beta1.AnnotatedDataset>
|
addAnnotatedDatasets(AnnotatedDataset value)
public ListAnnotatedDatasetsResponse.Builder addAnnotatedDatasets(AnnotatedDataset value)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
addAnnotatedDatasets(AnnotatedDataset.Builder builderForValue)
public ListAnnotatedDatasetsResponse.Builder addAnnotatedDatasets(AnnotatedDataset.Builder builderForValue)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
addAnnotatedDatasets(int index, AnnotatedDataset value)
public ListAnnotatedDatasetsResponse.Builder addAnnotatedDatasets(int index, AnnotatedDataset value)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
addAnnotatedDatasets(int index, AnnotatedDataset.Builder builderForValue)
public ListAnnotatedDatasetsResponse.Builder addAnnotatedDatasets(int index, AnnotatedDataset.Builder builderForValue)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
addAnnotatedDatasetsBuilder()
public AnnotatedDataset.Builder addAnnotatedDatasetsBuilder()
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
addAnnotatedDatasetsBuilder(int index)
public AnnotatedDataset.Builder addAnnotatedDatasetsBuilder(int index)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAnnotatedDatasetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListAnnotatedDatasetsResponse build()
buildPartial()
public ListAnnotatedDatasetsResponse buildPartial()
clear()
public ListAnnotatedDatasetsResponse.Builder clear()
Overrides
clearAnnotatedDatasets()
public ListAnnotatedDatasetsResponse.Builder clearAnnotatedDatasets()
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
clearField(Descriptors.FieldDescriptor field)
public ListAnnotatedDatasetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListAnnotatedDatasetsResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAnnotatedDatasetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListAnnotatedDatasetsResponse.Builder clone()
Overrides
getAnnotatedDatasets(int index)
public AnnotatedDataset getAnnotatedDatasets(int index)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Parameter |
---|
Name | Description |
index | int
|
getAnnotatedDatasetsBuilder(int index)
public AnnotatedDataset.Builder getAnnotatedDatasetsBuilder(int index)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Parameter |
---|
Name | Description |
index | int
|
getAnnotatedDatasetsBuilderList()
public List<AnnotatedDataset.Builder> getAnnotatedDatasetsBuilderList()
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
getAnnotatedDatasetsCount()
public int getAnnotatedDatasetsCount()
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Returns |
---|
Type | Description |
int | |
getAnnotatedDatasetsList()
public List<AnnotatedDataset> getAnnotatedDatasetsList()
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
getAnnotatedDatasetsOrBuilder(int index)
public AnnotatedDatasetOrBuilder getAnnotatedDatasetsOrBuilder(int index)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Parameter |
---|
Name | Description |
index | int
|
getAnnotatedDatasetsOrBuilderList()
public List<? extends AnnotatedDatasetOrBuilder> getAnnotatedDatasetsOrBuilderList()
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.datalabeling.v1beta1.AnnotatedDatasetOrBuilder> | |
getDefaultInstanceForType()
public ListAnnotatedDatasetsResponse 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(ListAnnotatedDatasetsResponse other)
public ListAnnotatedDatasetsResponse.Builder mergeFrom(ListAnnotatedDatasetsResponse other)
public ListAnnotatedDatasetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListAnnotatedDatasetsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAnnotatedDatasetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeAnnotatedDatasets(int index)
public ListAnnotatedDatasetsResponse.Builder removeAnnotatedDatasets(int index)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
Parameter |
---|
Name | Description |
index | int
|
setAnnotatedDatasets(int index, AnnotatedDataset value)
public ListAnnotatedDatasetsResponse.Builder setAnnotatedDatasets(int index, AnnotatedDataset value)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
setAnnotatedDatasets(int index, AnnotatedDataset.Builder builderForValue)
public ListAnnotatedDatasetsResponse.Builder setAnnotatedDatasets(int index, AnnotatedDataset.Builder builderForValue)
The list of annotated datasets to return.
repeated .google.cloud.datalabeling.v1beta1.AnnotatedDataset annotated_datasets = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListAnnotatedDatasetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListAnnotatedDatasetsResponse.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 ListAnnotatedDatasetsResponse.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 ListAnnotatedDatasetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAnnotatedDatasetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides