Class FeatureView.FeatureRegistrySource.FeatureGroup.Builder (3.47.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
Type Description
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
Name Description
values Iterable<String>

The featureIds to add.

Returns
Type Description
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
Name Description
value String

The featureIds to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the featureIds to add.

Returns
Type Description
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
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FeatureView.FeatureRegistrySource.FeatureGroup.Builder
Overrides

build()

public FeatureView.FeatureRegistrySource.FeatureGroup build()
Returns
Type Description
FeatureView.FeatureRegistrySource.FeatureGroup

buildPartial()

public FeatureView.FeatureRegistrySource.FeatureGroup buildPartial()
Returns
Type Description
FeatureView.FeatureRegistrySource.FeatureGroup

clear()

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
FeatureView.FeatureRegistrySource.FeatureGroup.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FeatureView.FeatureRegistrySource.FeatureGroup.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FeatureView.FeatureRegistrySource.FeatureGroup.Builder
Overrides

clone()

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder clone()
Returns
Type Description
FeatureView.FeatureRegistrySource.FeatureGroup.Builder
Overrides

getDefaultInstanceForType()

public FeatureView.FeatureRegistrySource.FeatureGroup getDefaultInstanceForType()
Returns
Type Description
FeatureView.FeatureRegistrySource.FeatureGroup

getDescriptorForType()

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

getFeatureGroupId()

public String getFeatureGroupId()

Required. Identifier of the feature group.

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

Returns
Type Description
String

The featureGroupId.

getFeatureGroupIdBytes()

public ByteString getFeatureGroupIdBytes()

Required. Identifier of the feature group.

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

Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the featureIds.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FeatureView.FeatureRegistrySource.FeatureGroup other)

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder mergeFrom(FeatureView.FeatureRegistrySource.FeatureGroup other)
Parameter
Name Description
other FeatureView.FeatureRegistrySource.FeatureGroup
Returns
Type Description
FeatureView.FeatureRegistrySource.FeatureGroup.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.FeatureRegistrySource.FeatureGroup.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FeatureView.FeatureRegistrySource.FeatureGroup.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureView.FeatureRegistrySource.FeatureGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The featureGroupId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for featureGroupId to set.

Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The featureIds to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FeatureView.FeatureRegistrySource.FeatureGroup.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FeatureView.FeatureRegistrySource.FeatureGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FeatureView.FeatureRegistrySource.FeatureGroup.Builder
Overrides