Class ListFeaturesResponse.Builder (3.84.0)

public static final class ListFeaturesResponse.Builder extends GeneratedMessage.Builder<ListFeaturesResponse.Builder> implements ListFeaturesResponseOrBuilder

Response message for FeaturestoreService.ListFeatures. Response message for FeatureRegistryService.ListFeatures.

Protobuf type google.cloud.aiplatform.v1.ListFeaturesResponse

Static Methods

getDescriptor()

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

Methods

addAllFeatures(Iterable<? extends Feature> values)

public ListFeaturesResponse.Builder addAllFeatures(Iterable<? extends Feature> values)

The Features matching the request.

repeated .google.cloud.aiplatform.v1.Feature features = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1.Feature>
Returns
Type Description
ListFeaturesResponse.Builder

addFeatures(Feature value)

public ListFeaturesResponse.Builder addFeatures(Feature value)

The Features matching the request.

repeated .google.cloud.aiplatform.v1.Feature features = 1;

Parameter
Name Description
value Feature
Returns
Type Description
ListFeaturesResponse.Builder

addFeatures(Feature.Builder builderForValue)

public ListFeaturesResponse.Builder addFeatures(Feature.Builder builderForValue)

The Features matching the request.

repeated .google.cloud.aiplatform.v1.Feature features = 1;

Parameter
Name Description
builderForValue Feature.Builder
Returns
Type Description
ListFeaturesResponse.Builder

addFeatures(int index, Feature value)

public ListFeaturesResponse.Builder addFeatures(int index, Feature value)

The Features matching the request.

repeated .google.cloud.aiplatform.v1.Feature features = 1;

Parameters
Name Description
index int
value Feature
Returns
Type Description
ListFeaturesResponse.Builder

addFeatures(int index, Feature.Builder builderForValue)

public ListFeaturesResponse.Builder addFeatures(int index, Feature.Builder builderForValue)

The Features matching the request.

repeated .google.cloud.aiplatform.v1.Feature features = 1;

Parameters
Name Description
index int
builderForValue Feature.Builder
Returns
Type Description
ListFeaturesResponse.Builder

addFeaturesBuilder()

public Feature.Builder addFeaturesBuilder()

The Features matching the request.

repeated .google.cloud.aiplatform.v1.Feature features = 1;

Returns
Type Description
Feature.Builder

addFeaturesBuilder(int index)

public Feature.Builder addFeaturesBuilder(int index)

The Features matching the request.

repeated .google.cloud.aiplatform.v1.Feature features = 1;

Parameter
Name Description
index int
Returns
Type Description
Feature.Builder

build()

public ListFeaturesResponse build()
Returns
Type Description
ListFeaturesResponse

buildPartial()

public ListFeaturesResponse buildPartial()
Returns
Type Description
ListFeaturesResponse

clear()

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

clearFeatures()

public ListFeaturesResponse.Builder clearFeatures()

The Features matching the request.

repeated .google.cloud.aiplatform.v1.Feature features = 1;

Returns
Type Description
ListFeaturesResponse.Builder

clearNextPageToken()

public ListFeaturesResponse.Builder clearNextPageToken()

A token, which can be sent as ListFeaturesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListFeaturesResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListFeaturesResponse getDefaultInstanceForType()
Returns
Type Description
ListFeaturesResponse

getDescriptorForType()

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

getFeatures(int index)

public Feature getFeatures(int index)

The Features matching the request.

repeated .google.cloud.aiplatform.v1.Feature features = 1;

Parameter
Name Description
index int
Returns
Type Description
Feature

getFeaturesBuilder(int index)

public Feature.Builder getFeaturesBuilder(int index)

The Features matching the request.

repeated .google.cloud.aiplatform.v1.Feature features = 1;

Parameter
Name Description
index int
Returns
Type Description
Feature.Builder

getFeaturesBuilderList()

public List<Feature.Builder> getFeaturesBuilderList()

The Features matching the request.

repeated .google.cloud.aiplatform.v1.Feature features = 1;

Returns
Type Description
List<Builder>

getFeaturesCount()

public int getFeaturesCount()

The Features matching the request.

repeated .google.cloud.aiplatform.v1.Feature features = 1;

Returns
Type Description
int

getFeaturesList()

public List<Feature> getFeaturesList()

The Features matching the request.

repeated .google.cloud.aiplatform.v1.Feature features = 1;

Returns
Type Description
List<Feature>

getFeaturesOrBuilder(int index)

public FeatureOrBuilder getFeaturesOrBuilder(int index)

The Features matching the request.

repeated .google.cloud.aiplatform.v1.Feature features = 1;

Parameter
Name Description
index int
Returns
Type Description
FeatureOrBuilder

getFeaturesOrBuilderList()

public List<? extends FeatureOrBuilder> getFeaturesOrBuilderList()

The Features matching the request.

repeated .google.cloud.aiplatform.v1.Feature features = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.FeatureOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as ListFeaturesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as ListFeaturesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListFeaturesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeFeatures(int index)

public ListFeaturesResponse.Builder removeFeatures(int index)

The Features matching the request.

repeated .google.cloud.aiplatform.v1.Feature features = 1;

Parameter
Name Description
index int
Returns
Type Description
ListFeaturesResponse.Builder

setFeatures(int index, Feature value)

public ListFeaturesResponse.Builder setFeatures(int index, Feature value)

The Features matching the request.

repeated .google.cloud.aiplatform.v1.Feature features = 1;

Parameters
Name Description
index int
value Feature
Returns
Type Description
ListFeaturesResponse.Builder

setFeatures(int index, Feature.Builder builderForValue)

public ListFeaturesResponse.Builder setFeatures(int index, Feature.Builder builderForValue)

The Features matching the request.

repeated .google.cloud.aiplatform.v1.Feature features = 1;

Parameters
Name Description
index int
builderForValue Feature.Builder
Returns
Type Description
ListFeaturesResponse.Builder

setNextPageToken(String value)

public ListFeaturesResponse.Builder setNextPageToken(String value)

A token, which can be sent as ListFeaturesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListFeaturesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListFeaturesResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as ListFeaturesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListFeaturesResponse.Builder

This builder for chaining.