Class ReadFeatureValuesResponse.Header.Builder (3.28.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.v1.ReadFeatureValuesResponse.Header

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor>
Returns
TypeDescription
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.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameter
NameDescription
valueReadFeatureValuesResponse.FeatureDescriptor
Returns
TypeDescription
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.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameter
NameDescription
builderForValueReadFeatureValuesResponse.FeatureDescriptor.Builder
Returns
TypeDescription
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.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameters
NameDescription
indexint
valueReadFeatureValuesResponse.FeatureDescriptor
Returns
TypeDescription
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.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameters
NameDescription
indexint
builderForValueReadFeatureValuesResponse.FeatureDescriptor.Builder
Returns
TypeDescription
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.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Returns
TypeDescription
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.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReadFeatureValuesResponse.FeatureDescriptor.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReadFeatureValuesResponse.Header build()
Returns
TypeDescription
ReadFeatureValuesResponse.Header

buildPartial()

public ReadFeatureValuesResponse.Header buildPartial()
Returns
TypeDescription
ReadFeatureValuesResponse.Header

clear()

public ReadFeatureValuesResponse.Header.Builder clear()
Returns
TypeDescription
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
TypeDescription
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.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Returns
TypeDescription
ReadFeatureValuesResponse.Header.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ReadFeatureValuesResponse.Header.Builder clone()
Returns
TypeDescription
ReadFeatureValuesResponse.Header.Builder
Overrides

getDefaultInstanceForType()

public ReadFeatureValuesResponse.Header getDefaultInstanceForType()
Returns
TypeDescription
ReadFeatureValuesResponse.Header

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Returns
TypeDescription
List<Builder>

getFeatureDescriptorsCount()

public int getFeatureDescriptorsCount()

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

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

Returns
TypeDescription
int

getFeatureDescriptorsList()

public List<ReadFeatureValuesResponse.FeatureDescriptor> getFeatureDescriptorsList()

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

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

Returns
TypeDescription
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.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptorOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReadFeatureValuesResponse.Header other)

public ReadFeatureValuesResponse.Header.Builder mergeFrom(ReadFeatureValuesResponse.Header other)
Parameter
NameDescription
otherReadFeatureValuesResponse.Header
Returns
TypeDescription
ReadFeatureValuesResponse.Header.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReadFeatureValuesResponse.Header.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The entityType to set.

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

The bytes for entityType to set.

Returns
TypeDescription
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.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameters
NameDescription
indexint
valueReadFeatureValuesResponse.FeatureDescriptor
Returns
TypeDescription
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.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;

Parameters
NameDescription
indexint
builderForValueReadFeatureValuesResponse.FeatureDescriptor.Builder
Returns
TypeDescription
ReadFeatureValuesResponse.Header.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReadFeatureValuesResponse.Header.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReadFeatureValuesResponse.Header.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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