Class FeatureView.FeatureRegistrySource.Builder (3.42.0)

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

A Feature Registry source for features that need to be synced to Online Store.

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

Static Methods

getDescriptor()

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

Methods

addAllFeatureGroups(Iterable<? extends FeatureView.FeatureRegistrySource.FeatureGroup> values)

public FeatureView.FeatureRegistrySource.Builder addAllFeatureGroups(Iterable<? extends FeatureView.FeatureRegistrySource.FeatureGroup> values)

Required. List of features that need to be synced to Online Store.

repeated .google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup>
Returns
Type Description
FeatureView.FeatureRegistrySource.Builder

addFeatureGroups(FeatureView.FeatureRegistrySource.FeatureGroup value)

public FeatureView.FeatureRegistrySource.Builder addFeatureGroups(FeatureView.FeatureRegistrySource.FeatureGroup value)

Required. List of features that need to be synced to Online Store.

repeated .google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FeatureView.FeatureRegistrySource.FeatureGroup
Returns
Type Description
FeatureView.FeatureRegistrySource.Builder

addFeatureGroups(FeatureView.FeatureRegistrySource.FeatureGroup.Builder builderForValue)

public FeatureView.FeatureRegistrySource.Builder addFeatureGroups(FeatureView.FeatureRegistrySource.FeatureGroup.Builder builderForValue)

Required. List of features that need to be synced to Online Store.

repeated .google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue FeatureView.FeatureRegistrySource.FeatureGroup.Builder
Returns
Type Description
FeatureView.FeatureRegistrySource.Builder

addFeatureGroups(int index, FeatureView.FeatureRegistrySource.FeatureGroup value)

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

Required. List of features that need to be synced to Online Store.

repeated .google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value FeatureView.FeatureRegistrySource.FeatureGroup
Returns
Type Description
FeatureView.FeatureRegistrySource.Builder

addFeatureGroups(int index, FeatureView.FeatureRegistrySource.FeatureGroup.Builder builderForValue)

public FeatureView.FeatureRegistrySource.Builder addFeatureGroups(int index, FeatureView.FeatureRegistrySource.FeatureGroup.Builder builderForValue)

Required. List of features that need to be synced to Online Store.

repeated .google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue FeatureView.FeatureRegistrySource.FeatureGroup.Builder
Returns
Type Description
FeatureView.FeatureRegistrySource.Builder

addFeatureGroupsBuilder()

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder addFeatureGroupsBuilder()

Required. List of features that need to be synced to Online Store.

repeated .google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureView.FeatureRegistrySource.FeatureGroup.Builder

addFeatureGroupsBuilder(int index)

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder addFeatureGroupsBuilder(int index)

Required. List of features that need to be synced to Online Store.

repeated .google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
FeatureView.FeatureRegistrySource.FeatureGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public FeatureView.FeatureRegistrySource.Builder clear()
Returns
Type Description
FeatureView.FeatureRegistrySource.Builder
Overrides

clearFeatureGroups()

public FeatureView.FeatureRegistrySource.Builder clearFeatureGroups()

Required. List of features that need to be synced to Online Store.

repeated .google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureView.FeatureRegistrySource.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectNumber()

public FeatureView.FeatureRegistrySource.Builder clearProjectNumber()

Optional. The project number of the parent project of the Feature Groups.

optional int64 project_number = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FeatureView.FeatureRegistrySource.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getFeatureGroups(int index)

public FeatureView.FeatureRegistrySource.FeatureGroup getFeatureGroups(int index)

Required. List of features that need to be synced to Online Store.

repeated .google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
FeatureView.FeatureRegistrySource.FeatureGroup

getFeatureGroupsBuilder(int index)

public FeatureView.FeatureRegistrySource.FeatureGroup.Builder getFeatureGroupsBuilder(int index)

Required. List of features that need to be synced to Online Store.

repeated .google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
FeatureView.FeatureRegistrySource.FeatureGroup.Builder

getFeatureGroupsBuilderList()

public List<FeatureView.FeatureRegistrySource.FeatureGroup.Builder> getFeatureGroupsBuilderList()

Required. List of features that need to be synced to Online Store.

repeated .google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getFeatureGroupsCount()

public int getFeatureGroupsCount()

Required. List of features that need to be synced to Online Store.

repeated .google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getFeatureGroupsList()

public List<FeatureView.FeatureRegistrySource.FeatureGroup> getFeatureGroupsList()

Required. List of features that need to be synced to Online Store.

repeated .google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<FeatureGroup>

getFeatureGroupsOrBuilder(int index)

public FeatureView.FeatureRegistrySource.FeatureGroupOrBuilder getFeatureGroupsOrBuilder(int index)

Required. List of features that need to be synced to Online Store.

repeated .google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
FeatureView.FeatureRegistrySource.FeatureGroupOrBuilder

getFeatureGroupsOrBuilderList()

public List<? extends FeatureView.FeatureRegistrySource.FeatureGroupOrBuilder> getFeatureGroupsOrBuilderList()

Required. List of features that need to be synced to Online Store.

repeated .google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroupOrBuilder>

getProjectNumber()

public long getProjectNumber()

Optional. The project number of the parent project of the Feature Groups.

optional int64 project_number = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The projectNumber.

hasProjectNumber()

public boolean hasProjectNumber()

Optional. The project number of the parent project of the Feature Groups.

optional int64 project_number = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the projectNumber field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FeatureView.FeatureRegistrySource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeFeatureGroups(int index)

public FeatureView.FeatureRegistrySource.Builder removeFeatureGroups(int index)

Required. List of features that need to be synced to Online Store.

repeated .google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
FeatureView.FeatureRegistrySource.Builder

setFeatureGroups(int index, FeatureView.FeatureRegistrySource.FeatureGroup value)

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

Required. List of features that need to be synced to Online Store.

repeated .google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value FeatureView.FeatureRegistrySource.FeatureGroup
Returns
Type Description
FeatureView.FeatureRegistrySource.Builder

setFeatureGroups(int index, FeatureView.FeatureRegistrySource.FeatureGroup.Builder builderForValue)

public FeatureView.FeatureRegistrySource.Builder setFeatureGroups(int index, FeatureView.FeatureRegistrySource.FeatureGroup.Builder builderForValue)

Required. List of features that need to be synced to Online Store.

repeated .google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue FeatureView.FeatureRegistrySource.FeatureGroup.Builder
Returns
Type Description
FeatureView.FeatureRegistrySource.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setProjectNumber(long value)

public FeatureView.FeatureRegistrySource.Builder setProjectNumber(long value)

Optional. The project number of the parent project of the Feature Groups.

optional int64 project_number = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value long

The projectNumber to set.

Returns
Type Description
FeatureView.FeatureRegistrySource.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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