Class SearchDataItemsResponse.Builder (3.29.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.DataItemView>
Returns
TypeDescription
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
NameDescription
valueDataItemView
Returns
TypeDescription
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
NameDescription
builderForValueDataItemView.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDataItemView
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDataItemView.Builder
Returns
TypeDescription
SearchDataItemsResponse.Builder

addDataItemViewsBuilder()

public DataItemView.Builder addDataItemViewsBuilder()

The DataItemViews read.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DataItemView.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchDataItemsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchDataItemsResponse.Builder
Overrides

build()

public SearchDataItemsResponse build()
Returns
TypeDescription
SearchDataItemsResponse

buildPartial()

public SearchDataItemsResponse buildPartial()
Returns
TypeDescription
SearchDataItemsResponse

clear()

public SearchDataItemsResponse.Builder clear()
Returns
TypeDescription
SearchDataItemsResponse.Builder
Overrides

clearDataItemViews()

public SearchDataItemsResponse.Builder clearDataItemViews()

The DataItemViews read.

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

Returns
TypeDescription
SearchDataItemsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public SearchDataItemsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SearchDataItemsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchDataItemsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SearchDataItemsResponse.Builder
Overrides

clone()

public SearchDataItemsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DataItemView

getDataItemViewsBuilder(int index)

public DataItemView.Builder getDataItemViewsBuilder(int index)

The DataItemViews read.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DataItemView.Builder

getDataItemViewsBuilderList()

public List<DataItemView.Builder> getDataItemViewsBuilderList()

The DataItemViews read.

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

Returns
TypeDescription
List<Builder>

getDataItemViewsCount()

public int getDataItemViewsCount()

The DataItemViews read.

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

Returns
TypeDescription
int

getDataItemViewsList()

public List<DataItemView> getDataItemViewsList()

The DataItemViews read.

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

Returns
TypeDescription
List<DataItemView>

getDataItemViewsOrBuilder(int index)

public DataItemViewOrBuilder getDataItemViewsOrBuilder(int index)

The DataItemViews read.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DataItemViewOrBuilder

getDataItemViewsOrBuilderList()

public List<? extends DataItemViewOrBuilder> getDataItemViewsOrBuilderList()

The DataItemViews read.

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

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

getDefaultInstanceForType()

public SearchDataItemsResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchDataItemsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchDataItemsResponse other)

public SearchDataItemsResponse.Builder mergeFrom(SearchDataItemsResponse other)
Parameter
NameDescription
otherSearchDataItemsResponse
Returns
TypeDescription
SearchDataItemsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchDataItemsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchDataItemsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SearchDataItemsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SearchDataItemsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchDataItemsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDataItemView
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDataItemView.Builder
Returns
TypeDescription
SearchDataItemsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchDataItemsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SearchDataItemsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchDataItemsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchDataItemsResponse.Builder
Overrides