Class ListFeaturesResponse.Builder (3.14.0)

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

Response message for FeaturestoreService.ListFeatures.

Protobuf type google.cloud.aiplatform.v1.ListFeaturesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.Feature>
Returns
TypeDescription
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
NameDescription
valueFeature
Returns
TypeDescription
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
NameDescription
builderForValueFeature.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueFeature
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFeature.Builder
Returns
TypeDescription
ListFeaturesResponse.Builder

addFeaturesBuilder()

public Feature.Builder addFeaturesBuilder()

The Features matching the request.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListFeaturesResponse build()
Returns
TypeDescription
ListFeaturesResponse

buildPartial()

public ListFeaturesResponse buildPartial()
Returns
TypeDescription
ListFeaturesResponse

clear()

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

clearFeatures()

public ListFeaturesResponse.Builder clearFeatures()

The Features matching the request.

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

Returns
TypeDescription
ListFeaturesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListFeaturesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListFeaturesResponse.Builder
Overrides

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
TypeDescription
ListFeaturesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListFeaturesResponse.Builder clone()
Returns
TypeDescription
ListFeaturesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListFeaturesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListFeaturesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFeatures(int index)

public Feature getFeatures(int index)

The Features matching the request.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Feature

getFeaturesBuilder(int index)

public Feature.Builder getFeaturesBuilder(int index)

The Features matching the request.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Feature.Builder

getFeaturesBuilderList()

public List<Feature.Builder> getFeaturesBuilderList()

The Features matching the request.

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

Returns
TypeDescription
List<Builder>

getFeaturesCount()

public int getFeaturesCount()

The Features matching the request.

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

Returns
TypeDescription
int

getFeaturesList()

public List<Feature> getFeaturesList()

The Features matching the request.

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

Returns
TypeDescription
List<Feature>

getFeaturesOrBuilder(int index)

public FeatureOrBuilder getFeaturesOrBuilder(int index)

The Features matching the request.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FeatureOrBuilder

getFeaturesOrBuilderList()

public List<? extends FeatureOrBuilder> getFeaturesOrBuilderList()

The Features matching the request.

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

Returns
TypeDescription
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
TypeDescription
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
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(ListFeaturesResponse other)

public ListFeaturesResponse.Builder mergeFrom(ListFeaturesResponse other)
Parameter
NameDescription
otherListFeaturesResponse
Returns
TypeDescription
ListFeaturesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListFeaturesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueFeature
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFeature.Builder
Returns
TypeDescription
ListFeaturesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
ListFeaturesResponse.Builder

This builder for chaining.

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

public ListFeaturesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListFeaturesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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