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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.FeatureView.FeatureRegistrySource.FeatureGroup>
Returns
TypeDescription
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
NameDescription
valueFeatureView.FeatureRegistrySource.FeatureGroup
Returns
TypeDescription
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
NameDescription
builderForValueFeatureView.FeatureRegistrySource.FeatureGroup.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueFeatureView.FeatureRegistrySource.FeatureGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFeatureView.FeatureRegistrySource.FeatureGroup.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
FeatureView.FeatureRegistrySource.FeatureGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureView.FeatureRegistrySource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
FeatureView.FeatureRegistrySource.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the projectNumber field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FeatureView.FeatureRegistrySource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureView.FeatureRegistrySource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueFeatureView.FeatureRegistrySource.FeatureGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFeatureView.FeatureRegistrySource.FeatureGroup.Builder
Returns
TypeDescription
FeatureView.FeatureRegistrySource.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FeatureView.FeatureRegistrySource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The projectNumber to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FeatureView.FeatureRegistrySource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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