Class SearchFeaturesResponse.Builder (3.9.0)

public static final class SearchFeaturesResponse.Builder extends GeneratedMessageV3.Builder<SearchFeaturesResponse.Builder> implements SearchFeaturesResponseOrBuilder

Response message for FeaturestoreService.SearchFeatures.

Protobuf type google.cloud.aiplatform.v1.SearchFeaturesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllFeatures(Iterable<? extends Feature> values)

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

The Features matching the request. Fields returned:

  • name
  • description
  • labels
  • create_time
  • update_time

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.Feature>
Returns
TypeDescription
SearchFeaturesResponse.Builder

addFeatures(Feature value)

public SearchFeaturesResponse.Builder addFeatures(Feature value)

The Features matching the request. Fields returned:

  • name
  • description
  • labels
  • create_time
  • update_time

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

Parameter
NameDescription
valueFeature
Returns
TypeDescription
SearchFeaturesResponse.Builder

addFeatures(Feature.Builder builderForValue)

public SearchFeaturesResponse.Builder addFeatures(Feature.Builder builderForValue)

The Features matching the request. Fields returned:

  • name
  • description
  • labels
  • create_time
  • update_time

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

Parameter
NameDescription
builderForValueFeature.Builder
Returns
TypeDescription
SearchFeaturesResponse.Builder

addFeatures(int index, Feature value)

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

The Features matching the request. Fields returned:

  • name
  • description
  • labels
  • create_time
  • update_time

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

Parameters
NameDescription
indexint
valueFeature
Returns
TypeDescription
SearchFeaturesResponse.Builder

addFeatures(int index, Feature.Builder builderForValue)

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

The Features matching the request. Fields returned:

  • name
  • description
  • labels
  • create_time
  • update_time

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

Parameters
NameDescription
indexint
builderForValueFeature.Builder
Returns
TypeDescription
SearchFeaturesResponse.Builder

addFeaturesBuilder()

public Feature.Builder addFeaturesBuilder()

The Features matching the request. Fields returned:

  • name
  • description
  • labels
  • create_time
  • update_time

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. Fields returned:

  • name
  • description
  • labels
  • create_time
  • update_time

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Feature.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchFeaturesResponse build()
Returns
TypeDescription
SearchFeaturesResponse

buildPartial()

public SearchFeaturesResponse buildPartial()
Returns
TypeDescription
SearchFeaturesResponse

clear()

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

clearFeatures()

public SearchFeaturesResponse.Builder clearFeatures()

The Features matching the request. Fields returned:

  • name
  • description
  • labels
  • create_time
  • update_time

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

Returns
TypeDescription
SearchFeaturesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public SearchFeaturesResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
SearchFeaturesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SearchFeaturesResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchFeaturesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFeatures(int index)

public Feature getFeatures(int index)

The Features matching the request. Fields returned:

  • name
  • description
  • labels
  • create_time
  • update_time

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. Fields returned:

  • name
  • description
  • labels
  • create_time
  • update_time

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. Fields returned:

  • name
  • description
  • labels
  • create_time
  • update_time

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

Returns
TypeDescription
List<Builder>

getFeaturesCount()

public int getFeaturesCount()

The Features matching the request. Fields returned:

  • name
  • description
  • labels
  • create_time
  • update_time

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

Returns
TypeDescription
int

getFeaturesList()

public List<Feature> getFeaturesList()

The Features matching the request. Fields returned:

  • name
  • description
  • labels
  • create_time
  • update_time

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. Fields returned:

  • name
  • description
  • labels
  • create_time
  • update_time

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. Fields returned:

  • name
  • description
  • labels
  • create_time
  • update_time

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 SearchFeaturesRequest.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 SearchFeaturesRequest.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(SearchFeaturesResponse other)

public SearchFeaturesResponse.Builder mergeFrom(SearchFeaturesResponse other)
Parameter
NameDescription
otherSearchFeaturesResponse
Returns
TypeDescription
SearchFeaturesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchFeaturesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchFeaturesResponse.Builder
Overrides

removeFeatures(int index)

public SearchFeaturesResponse.Builder removeFeatures(int index)

The Features matching the request. Fields returned:

  • name
  • description
  • labels
  • create_time
  • update_time

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchFeaturesResponse.Builder

setFeatures(int index, Feature value)

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

The Features matching the request. Fields returned:

  • name
  • description
  • labels
  • create_time
  • update_time

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

Parameters
NameDescription
indexint
valueFeature
Returns
TypeDescription
SearchFeaturesResponse.Builder

setFeatures(int index, Feature.Builder builderForValue)

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

The Features matching the request. Fields returned:

  • name
  • description
  • labels
  • create_time
  • update_time

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

Parameters
NameDescription
indexint
builderForValueFeature.Builder
Returns
TypeDescription
SearchFeaturesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public SearchFeaturesResponse.Builder setNextPageToken(String value)

A token, which can be sent as SearchFeaturesRequest.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
SearchFeaturesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public SearchFeaturesResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as SearchFeaturesRequest.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
SearchFeaturesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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