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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
public ListFeaturesResponse.Builder addFeatures(Feature value)
The Features matching the request.
repeated .google.cloud.aiplatform.v1.Feature features = 1;
Parameter
Returns
public ListFeaturesResponse.Builder addFeatures(Feature.Builder builderForValue)
The Features matching the request.
repeated .google.cloud.aiplatform.v1.Feature features = 1;
Parameter
Returns
public ListFeaturesResponse.Builder addFeatures(int index, Feature value)
The Features matching the request.
repeated .google.cloud.aiplatform.v1.Feature features = 1;
Parameters
Returns
public ListFeaturesResponse.Builder addFeatures(int index, Feature.Builder builderForValue)
The Features matching the request.
repeated .google.cloud.aiplatform.v1.Feature features = 1;
Parameters
Returns
public Feature.Builder addFeaturesBuilder()
The Features matching the request.
repeated .google.cloud.aiplatform.v1.Feature features = 1;
Returns
public Feature.Builder addFeaturesBuilder(int index)
The Features matching the request.
repeated .google.cloud.aiplatform.v1.Feature features = 1;
Parameter
Returns
public ListFeaturesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListFeaturesResponse build()
Returns
public ListFeaturesResponse buildPartial()
Returns
public ListFeaturesResponse.Builder clear()
Returns
Overrides
public ListFeaturesResponse.Builder clearFeatures()
The Features matching the request.
repeated .google.cloud.aiplatform.v1.Feature features = 1;
Returns
public ListFeaturesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
public ListFeaturesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListFeaturesResponse.Builder clone()
Returns
Overrides
public ListFeaturesResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Feature getFeatures(int index)
The Features matching the request.
repeated .google.cloud.aiplatform.v1.Feature features = 1;
Parameter
Returns
public Feature.Builder getFeaturesBuilder(int index)
The Features matching the request.
repeated .google.cloud.aiplatform.v1.Feature features = 1;
Parameter
Returns
public List<Feature.Builder> getFeaturesBuilderList()
The Features matching the request.
repeated .google.cloud.aiplatform.v1.Feature features = 1;
Returns
public int getFeaturesCount()
The Features matching the request.
repeated .google.cloud.aiplatform.v1.Feature features = 1;
Returns
public List<Feature> getFeaturesList()
The Features matching the request.
repeated .google.cloud.aiplatform.v1.Feature features = 1;
Returns
public FeatureOrBuilder getFeaturesOrBuilder(int index)
The Features matching the request.
repeated .google.cloud.aiplatform.v1.Feature features = 1;
Parameter
Returns
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListFeaturesResponse.Builder mergeFrom(ListFeaturesResponse other)
Parameter
Returns
public ListFeaturesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListFeaturesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListFeaturesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListFeaturesResponse.Builder removeFeatures(int index)
The Features matching the request.
repeated .google.cloud.aiplatform.v1.Feature features = 1;
Parameter
Returns
public ListFeaturesResponse.Builder setFeatures(int index, Feature value)
The Features matching the request.
repeated .google.cloud.aiplatform.v1.Feature features = 1;
Parameters
Returns
public ListFeaturesResponse.Builder setFeatures(int index, Feature.Builder builderForValue)
The Features matching the request.
repeated .google.cloud.aiplatform.v1.Feature features = 1;
Parameters
Returns
public ListFeaturesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | String
The nextPageToken to set.
|
Returns
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
public ListFeaturesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListFeaturesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides