Class SearchDataItemsResponse.Builder (3.46.0)

public static final class SearchDataItemsResponse.Builder extends GeneratedMessageV3.Builder<SearchDataItemsResponse.Builder> implements SearchDataItemsResponseOrBuilder

Response message for DatasetService.SearchDataItems.

Protobuf type google.cloud.aiplatform.v1beta1.SearchDataItemsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDataItemViews(Iterable<? extends DataItemView> values)

public SearchDataItemsResponse.Builder addAllDataItemViews(Iterable<? extends DataItemView> values)

The DataItemViews read.

repeated .google.cloud.aiplatform.v1beta1.DataItemView data_item_views = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.DataItemView>
Returns
Type Description
SearchDataItemsResponse.Builder

addDataItemViews(DataItemView value)

public SearchDataItemsResponse.Builder addDataItemViews(DataItemView value)

The DataItemViews read.

repeated .google.cloud.aiplatform.v1beta1.DataItemView data_item_views = 1;

Parameter
Name Description
value DataItemView
Returns
Type Description
SearchDataItemsResponse.Builder

addDataItemViews(DataItemView.Builder builderForValue)

public SearchDataItemsResponse.Builder addDataItemViews(DataItemView.Builder builderForValue)

The DataItemViews read.

repeated .google.cloud.aiplatform.v1beta1.DataItemView data_item_views = 1;

Parameter
Name Description
builderForValue DataItemView.Builder
Returns
Type Description
SearchDataItemsResponse.Builder

addDataItemViews(int index, DataItemView value)

public SearchDataItemsResponse.Builder addDataItemViews(int index, DataItemView value)

The DataItemViews read.

repeated .google.cloud.aiplatform.v1beta1.DataItemView data_item_views = 1;

Parameters
Name Description
index int
value DataItemView
Returns
Type Description
SearchDataItemsResponse.Builder

addDataItemViews(int index, DataItemView.Builder builderForValue)

public SearchDataItemsResponse.Builder addDataItemViews(int index, DataItemView.Builder builderForValue)

The DataItemViews read.

repeated .google.cloud.aiplatform.v1beta1.DataItemView data_item_views = 1;

Parameters
Name Description
index int
builderForValue DataItemView.Builder
Returns
Type Description
SearchDataItemsResponse.Builder

addDataItemViewsBuilder()

public DataItemView.Builder addDataItemViewsBuilder()

The DataItemViews read.

repeated .google.cloud.aiplatform.v1beta1.DataItemView data_item_views = 1;

Returns
Type Description
DataItemView.Builder

addDataItemViewsBuilder(int index)

public DataItemView.Builder addDataItemViewsBuilder(int index)

The DataItemViews read.

repeated .google.cloud.aiplatform.v1beta1.DataItemView data_item_views = 1;

Parameter
Name Description
index int
Returns
Type Description
DataItemView.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchDataItemsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchDataItemsResponse.Builder
Overrides

build()

public SearchDataItemsResponse build()
Returns
Type Description
SearchDataItemsResponse

buildPartial()

public SearchDataItemsResponse buildPartial()
Returns
Type Description
SearchDataItemsResponse

clear()

public SearchDataItemsResponse.Builder clear()
Returns
Type Description
SearchDataItemsResponse.Builder
Overrides

clearDataItemViews()

public SearchDataItemsResponse.Builder clearDataItemViews()

The DataItemViews read.

repeated .google.cloud.aiplatform.v1beta1.DataItemView data_item_views = 1;

Returns
Type Description
SearchDataItemsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public SearchDataItemsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchDataItemsResponse.Builder
Overrides

clearNextPageToken()

public SearchDataItemsResponse.Builder clearNextPageToken()

A token to retrieve next page of results. Pass to SearchDataItemsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
SearchDataItemsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchDataItemsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchDataItemsResponse.Builder
Overrides

clone()

public SearchDataItemsResponse.Builder clone()
Returns
Type Description
SearchDataItemsResponse.Builder
Overrides

getDataItemViews(int index)

public DataItemView getDataItemViews(int index)

The DataItemViews read.

repeated .google.cloud.aiplatform.v1beta1.DataItemView data_item_views = 1;

Parameter
Name Description
index int
Returns
Type Description
DataItemView

getDataItemViewsBuilder(int index)

public DataItemView.Builder getDataItemViewsBuilder(int index)

The DataItemViews read.

repeated .google.cloud.aiplatform.v1beta1.DataItemView data_item_views = 1;

Parameter
Name Description
index int
Returns
Type Description
DataItemView.Builder

getDataItemViewsBuilderList()

public List<DataItemView.Builder> getDataItemViewsBuilderList()

The DataItemViews read.

repeated .google.cloud.aiplatform.v1beta1.DataItemView data_item_views = 1;

Returns
Type Description
List<Builder>

getDataItemViewsCount()

public int getDataItemViewsCount()

The DataItemViews read.

repeated .google.cloud.aiplatform.v1beta1.DataItemView data_item_views = 1;

Returns
Type Description
int

getDataItemViewsList()

public List<DataItemView> getDataItemViewsList()

The DataItemViews read.

repeated .google.cloud.aiplatform.v1beta1.DataItemView data_item_views = 1;

Returns
Type Description
List<DataItemView>

getDataItemViewsOrBuilder(int index)

public DataItemViewOrBuilder getDataItemViewsOrBuilder(int index)

The DataItemViews read.

repeated .google.cloud.aiplatform.v1beta1.DataItemView data_item_views = 1;

Parameter
Name Description
index int
Returns
Type Description
DataItemViewOrBuilder

getDataItemViewsOrBuilderList()

public List<? extends DataItemViewOrBuilder> getDataItemViewsOrBuilderList()

The DataItemViews read.

repeated .google.cloud.aiplatform.v1beta1.DataItemView data_item_views = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.DataItemViewOrBuilder>

getDefaultInstanceForType()

public SearchDataItemsResponse getDefaultInstanceForType()
Returns
Type Description
SearchDataItemsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results. Pass to SearchDataItemsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results. Pass to SearchDataItemsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchDataItemsResponse other)

public SearchDataItemsResponse.Builder mergeFrom(SearchDataItemsResponse other)
Parameter
Name Description
other SearchDataItemsResponse
Returns
Type Description
SearchDataItemsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchDataItemsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchDataItemsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchDataItemsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchDataItemsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchDataItemsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchDataItemsResponse.Builder
Overrides

removeDataItemViews(int index)

public SearchDataItemsResponse.Builder removeDataItemViews(int index)

The DataItemViews read.

repeated .google.cloud.aiplatform.v1beta1.DataItemView data_item_views = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchDataItemsResponse.Builder

setDataItemViews(int index, DataItemView value)

public SearchDataItemsResponse.Builder setDataItemViews(int index, DataItemView value)

The DataItemViews read.

repeated .google.cloud.aiplatform.v1beta1.DataItemView data_item_views = 1;

Parameters
Name Description
index int
value DataItemView
Returns
Type Description
SearchDataItemsResponse.Builder

setDataItemViews(int index, DataItemView.Builder builderForValue)

public SearchDataItemsResponse.Builder setDataItemViews(int index, DataItemView.Builder builderForValue)

The DataItemViews read.

repeated .google.cloud.aiplatform.v1beta1.DataItemView data_item_views = 1;

Parameters
Name Description
index int
builderForValue DataItemView.Builder
Returns
Type Description
SearchDataItemsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchDataItemsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchDataItemsResponse.Builder
Overrides

setNextPageToken(String value)

public SearchDataItemsResponse.Builder setNextPageToken(String value)

A token to retrieve next page of results. Pass to SearchDataItemsRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
SearchDataItemsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public SearchDataItemsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve next page of results. Pass to SearchDataItemsRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
SearchDataItemsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchDataItemsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchDataItemsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchDataItemsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchDataItemsResponse.Builder
Overrides