Class ReadFeatureValuesResponse.Header.Builder (3.43.0)

public static final class ReadFeatureValuesResponse.Header.Builder extends GeneratedMessageV3.Builder<ReadFeatureValuesResponse.Header.Builder> implements ReadFeatureValuesResponse.HeaderOrBuilder

Response header with metadata for the requested ReadFeatureValuesRequest.entity_type and Features.

Protobuf type google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.Header

Static Methods

getDescriptor()

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

Methods

addAllFeatureDescriptors(Iterable<? extends ReadFeatureValuesResponse.FeatureDescriptor> values)

public ReadFeatureValuesResponse.Header.Builder addAllFeatureDescriptors(Iterable<? extends ReadFeatureValuesResponse.FeatureDescriptor> values)

List of Feature metadata corresponding to each piece of ReadFeatureValuesResponse.EntityView.data.

repeated .google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptor>
Returns
Type Description
ReadFeatureValuesResponse.Header.Builder

addFeatureDescriptors(ReadFeatureValuesResponse.FeatureDescriptor value)

public ReadFeatureValuesResponse.Header.Builder addFeatureDescriptors(ReadFeatureValuesResponse.FeatureDescriptor value)

List of Feature metadata corresponding to each piece of ReadFeatureValuesResponse.EntityView.data.

repeated .google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameter
Name Description
value ReadFeatureValuesResponse.FeatureDescriptor
Returns
Type Description
ReadFeatureValuesResponse.Header.Builder

addFeatureDescriptors(ReadFeatureValuesResponse.FeatureDescriptor.Builder builderForValue)

public ReadFeatureValuesResponse.Header.Builder addFeatureDescriptors(ReadFeatureValuesResponse.FeatureDescriptor.Builder builderForValue)

List of Feature metadata corresponding to each piece of ReadFeatureValuesResponse.EntityView.data.

repeated .google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameter
Name Description
builderForValue ReadFeatureValuesResponse.FeatureDescriptor.Builder
Returns
Type Description
ReadFeatureValuesResponse.Header.Builder

addFeatureDescriptors(int index, ReadFeatureValuesResponse.FeatureDescriptor value)

public ReadFeatureValuesResponse.Header.Builder addFeatureDescriptors(int index, ReadFeatureValuesResponse.FeatureDescriptor value)

List of Feature metadata corresponding to each piece of ReadFeatureValuesResponse.EntityView.data.

repeated .google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameters
Name Description
index int
value ReadFeatureValuesResponse.FeatureDescriptor
Returns
Type Description
ReadFeatureValuesResponse.Header.Builder

addFeatureDescriptors(int index, ReadFeatureValuesResponse.FeatureDescriptor.Builder builderForValue)

public ReadFeatureValuesResponse.Header.Builder addFeatureDescriptors(int index, ReadFeatureValuesResponse.FeatureDescriptor.Builder builderForValue)

List of Feature metadata corresponding to each piece of ReadFeatureValuesResponse.EntityView.data.

repeated .google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameters
Name Description
index int
builderForValue ReadFeatureValuesResponse.FeatureDescriptor.Builder
Returns
Type Description
ReadFeatureValuesResponse.Header.Builder

addFeatureDescriptorsBuilder()

public ReadFeatureValuesResponse.FeatureDescriptor.Builder addFeatureDescriptorsBuilder()

List of Feature metadata corresponding to each piece of ReadFeatureValuesResponse.EntityView.data.

repeated .google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Returns
Type Description
ReadFeatureValuesResponse.FeatureDescriptor.Builder

addFeatureDescriptorsBuilder(int index)

public ReadFeatureValuesResponse.FeatureDescriptor.Builder addFeatureDescriptorsBuilder(int index)

List of Feature metadata corresponding to each piece of ReadFeatureValuesResponse.EntityView.data.

repeated .google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameter
Name Description
index int
Returns
Type Description
ReadFeatureValuesResponse.FeatureDescriptor.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReadFeatureValuesResponse.Header.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReadFeatureValuesResponse.Header.Builder
Overrides

build()

public ReadFeatureValuesResponse.Header build()
Returns
Type Description
ReadFeatureValuesResponse.Header

buildPartial()

public ReadFeatureValuesResponse.Header buildPartial()
Returns
Type Description
ReadFeatureValuesResponse.Header

clear()

public ReadFeatureValuesResponse.Header.Builder clear()
Returns
Type Description
ReadFeatureValuesResponse.Header.Builder
Overrides

clearEntityType()

public ReadFeatureValuesResponse.Header.Builder clearEntityType()

The resource name of the EntityType from the ReadFeatureValuesRequest. Value format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}.

string entity_type = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ReadFeatureValuesResponse.Header.Builder

This builder for chaining.

clearFeatureDescriptors()

public ReadFeatureValuesResponse.Header.Builder clearFeatureDescriptors()

List of Feature metadata corresponding to each piece of ReadFeatureValuesResponse.EntityView.data.

repeated .google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Returns
Type Description
ReadFeatureValuesResponse.Header.Builder

clearField(Descriptors.FieldDescriptor field)

public ReadFeatureValuesResponse.Header.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReadFeatureValuesResponse.Header.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReadFeatureValuesResponse.Header.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReadFeatureValuesResponse.Header.Builder
Overrides

clone()

public ReadFeatureValuesResponse.Header.Builder clone()
Returns
Type Description
ReadFeatureValuesResponse.Header.Builder
Overrides

getDefaultInstanceForType()

public ReadFeatureValuesResponse.Header getDefaultInstanceForType()
Returns
Type Description
ReadFeatureValuesResponse.Header

getDescriptorForType()

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

getEntityType()

public String getEntityType()

The resource name of the EntityType from the ReadFeatureValuesRequest. Value format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}.

string entity_type = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The entityType.

getEntityTypeBytes()

public ByteString getEntityTypeBytes()

The resource name of the EntityType from the ReadFeatureValuesRequest. Value format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}.

string entity_type = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for entityType.

getFeatureDescriptors(int index)

public ReadFeatureValuesResponse.FeatureDescriptor getFeatureDescriptors(int index)

List of Feature metadata corresponding to each piece of ReadFeatureValuesResponse.EntityView.data.

repeated .google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameter
Name Description
index int
Returns
Type Description
ReadFeatureValuesResponse.FeatureDescriptor

getFeatureDescriptorsBuilder(int index)

public ReadFeatureValuesResponse.FeatureDescriptor.Builder getFeatureDescriptorsBuilder(int index)

List of Feature metadata corresponding to each piece of ReadFeatureValuesResponse.EntityView.data.

repeated .google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameter
Name Description
index int
Returns
Type Description
ReadFeatureValuesResponse.FeatureDescriptor.Builder

getFeatureDescriptorsBuilderList()

public List<ReadFeatureValuesResponse.FeatureDescriptor.Builder> getFeatureDescriptorsBuilderList()

List of Feature metadata corresponding to each piece of ReadFeatureValuesResponse.EntityView.data.

repeated .google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Returns
Type Description
List<Builder>

getFeatureDescriptorsCount()

public int getFeatureDescriptorsCount()

List of Feature metadata corresponding to each piece of ReadFeatureValuesResponse.EntityView.data.

repeated .google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Returns
Type Description
int

getFeatureDescriptorsList()

public List<ReadFeatureValuesResponse.FeatureDescriptor> getFeatureDescriptorsList()

List of Feature metadata corresponding to each piece of ReadFeatureValuesResponse.EntityView.data.

repeated .google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Returns
Type Description
List<FeatureDescriptor>

getFeatureDescriptorsOrBuilder(int index)

public ReadFeatureValuesResponse.FeatureDescriptorOrBuilder getFeatureDescriptorsOrBuilder(int index)

List of Feature metadata corresponding to each piece of ReadFeatureValuesResponse.EntityView.data.

repeated .google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameter
Name Description
index int
Returns
Type Description
ReadFeatureValuesResponse.FeatureDescriptorOrBuilder

getFeatureDescriptorsOrBuilderList()

public List<? extends ReadFeatureValuesResponse.FeatureDescriptorOrBuilder> getFeatureDescriptorsOrBuilderList()

List of Feature metadata corresponding to each piece of ReadFeatureValuesResponse.EntityView.data.

repeated .google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptorOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReadFeatureValuesResponse.Header other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReadFeatureValuesResponse.Header.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReadFeatureValuesResponse.Header.Builder
Overrides

removeFeatureDescriptors(int index)

public ReadFeatureValuesResponse.Header.Builder removeFeatureDescriptors(int index)

List of Feature metadata corresponding to each piece of ReadFeatureValuesResponse.EntityView.data.

repeated .google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameter
Name Description
index int
Returns
Type Description
ReadFeatureValuesResponse.Header.Builder

setEntityType(String value)

public ReadFeatureValuesResponse.Header.Builder setEntityType(String value)

The resource name of the EntityType from the ReadFeatureValuesRequest. Value format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}.

string entity_type = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The entityType to set.

Returns
Type Description
ReadFeatureValuesResponse.Header.Builder

This builder for chaining.

setEntityTypeBytes(ByteString value)

public ReadFeatureValuesResponse.Header.Builder setEntityTypeBytes(ByteString value)

The resource name of the EntityType from the ReadFeatureValuesRequest. Value format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}.

string entity_type = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for entityType to set.

Returns
Type Description
ReadFeatureValuesResponse.Header.Builder

This builder for chaining.

setFeatureDescriptors(int index, ReadFeatureValuesResponse.FeatureDescriptor value)

public ReadFeatureValuesResponse.Header.Builder setFeatureDescriptors(int index, ReadFeatureValuesResponse.FeatureDescriptor value)

List of Feature metadata corresponding to each piece of ReadFeatureValuesResponse.EntityView.data.

repeated .google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameters
Name Description
index int
value ReadFeatureValuesResponse.FeatureDescriptor
Returns
Type Description
ReadFeatureValuesResponse.Header.Builder

setFeatureDescriptors(int index, ReadFeatureValuesResponse.FeatureDescriptor.Builder builderForValue)

public ReadFeatureValuesResponse.Header.Builder setFeatureDescriptors(int index, ReadFeatureValuesResponse.FeatureDescriptor.Builder builderForValue)

List of Feature metadata corresponding to each piece of ReadFeatureValuesResponse.EntityView.data.

repeated .google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameters
Name Description
index int
builderForValue ReadFeatureValuesResponse.FeatureDescriptor.Builder
Returns
Type Description
ReadFeatureValuesResponse.Header.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReadFeatureValuesResponse.Header.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReadFeatureValuesResponse.Header.Builder
Overrides

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

public ReadFeatureValuesResponse.Header.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReadFeatureValuesResponse.Header.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReadFeatureValuesResponse.Header.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReadFeatureValuesResponse.Header.Builder
Overrides