Class FeatureView.FeatureRegistrySource.FeatureGroup.Builder (3.30.0)

public static final class FeatureView.FeatureRegistrySource.FeatureGroup.Builder extends GeneratedMessageV3.Builder<FeatureView.FeatureRegistrySource.FeatureGroup.Builder> implements FeatureView.FeatureRegistrySource.FeatureGroupOrBuilder

Features belonging to a single feature group that will be synced to Online Store.

Protobuf type google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FeatureView.FeatureRegistrySource.FeatureGroup.Builder

Static Methods

getDescriptor()

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

Methods

addAllFeatureIds(Iterable<String> values)

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder addAllFeatureIds(Iterable<String> values)

Required. Identifiers of features under the feature group.

repeated string feature_ids = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<String>

The featureIds to add.

Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup.Builder

This builder for chaining.

addFeatureIds(String value)

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder addFeatureIds(String value)

Required. Identifiers of features under the feature group.

repeated string feature_ids = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The featureIds to add.

Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup.Builder

This builder for chaining.

addFeatureIdsBytes(ByteString value)

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder addFeatureIdsBytes(ByteString value)

Required. Identifiers of features under the feature group.

repeated string feature_ids = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes of the featureIds to add.

Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FeatureView.FeatureRegistrySource.FeatureGroup build()
Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup

buildPartial()

public FeatureView.FeatureRegistrySource.FeatureGroup buildPartial()
Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup

clear()

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder clear()
Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup.Builder
Overrides

clearFeatureGroupId()

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder clearFeatureGroupId()

Required. Identifier of the feature group.

string feature_group_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup.Builder

This builder for chaining.

clearFeatureIds()

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder clearFeatureIds()

Required. Identifiers of features under the feature group.

repeated string feature_ids = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup.Builder
Overrides

clone()

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder clone()
Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup.Builder
Overrides

getDefaultInstanceForType()

public FeatureView.FeatureRegistrySource.FeatureGroup getDefaultInstanceForType()
Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFeatureGroupId()

public String getFeatureGroupId()

Required. Identifier of the feature group.

string feature_group_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The featureGroupId.

getFeatureGroupIdBytes()

public ByteString getFeatureGroupIdBytes()

Required. Identifier of the feature group.

string feature_group_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for featureGroupId.

getFeatureIds(int index)

public String getFeatureIds(int index)

Required. Identifiers of features under the feature group.

repeated string feature_ids = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The featureIds at the given index.

getFeatureIdsBytes(int index)

public ByteString getFeatureIdsBytes(int index)

Required. Identifiers of features under the feature group.

repeated string feature_ids = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the featureIds at the given index.

getFeatureIdsCount()

public int getFeatureIdsCount()

Required. Identifiers of features under the feature group.

repeated string feature_ids = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of featureIds.

getFeatureIdsList()

public ProtocolStringList getFeatureIdsList()

Required. Identifiers of features under the feature group.

repeated string feature_ids = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ProtocolStringList

A list containing the featureIds.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FeatureView.FeatureRegistrySource.FeatureGroup other)

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder mergeFrom(FeatureView.FeatureRegistrySource.FeatureGroup other)
Parameter
NameDescription
otherFeatureView.FeatureRegistrySource.FeatureGroup
Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureView.FeatureRegistrySource.FeatureGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup.Builder
Overrides

setFeatureGroupId(String value)

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder setFeatureGroupId(String value)

Required. Identifier of the feature group.

string feature_group_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The featureGroupId to set.

Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup.Builder

This builder for chaining.

setFeatureGroupIdBytes(ByteString value)

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder setFeatureGroupIdBytes(ByteString value)

Required. Identifier of the feature group.

string feature_group_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for featureGroupId to set.

Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup.Builder

This builder for chaining.

setFeatureIds(int index, String value)

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder setFeatureIds(int index, String value)

Required. Identifiers of features under the feature group.

repeated string feature_ids = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The featureIds to set.

Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final FeatureView.FeatureRegistrySource.FeatureGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup.Builder
Overrides