Package ai.chalk.protos.chalk.graph.v1
Interface ScalarFeatureTypeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ScalarFeatureType,ScalarFeatureType.Builder
public interface ScalarFeatureTypeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.chalk.arrow.v1.ArrowType arrow_type = 11 [json_name = "arrowType"];.chalk.arrow.v1.ArrowType arrow_type = 11 [json_name = "arrowType"];string attribute_name = 23 [json_name = "attributeName"];com.google.protobuf.ByteStringstring attribute_name = 23 [json_name = "attributeName"];.chalk.graph.v1.CacheStrategy cache_strategy = 25 [json_name = "cacheStrategy"];int.chalk.graph.v1.CacheStrategy cache_strategy = 25 [json_name = "cacheStrategy"];.chalk.arrow.v1.ScalarValue default_value = 14 [json_name = "defaultValue"];.chalk.arrow.v1.ScalarValue default_value = 14 [json_name = "defaultValue"];optional string description = 16 [json_name = "description"];com.google.protobuf.ByteStringoptional string description = 16 [json_name = "description"];booleanThis represents whatever arg the user passed into the `feature()` call..chalk.expression.v1.LogicalExprNode expression = 18 [json_name = "expression"];.chalk.expression.v1.LogicalExprNode expression = 18 [json_name = "expression"];longoptional uint64 internal_version = 7 [json_name = "internalVersion"];booleanbool is_autogenerated = 3 [json_name = "isAutogenerated"];booleanWhether the user marked the feature as deprecated.booleanbool is_distance_pseudofeature = 22 [json_name = "isDistancePseudofeature"];booleanbool is_nullable = 6 [json_name = "isNullable"];booleanbool is_primary = 5 [json_name = "isPrimary"];.chalk.graph.v1.FeatureReference last_for = 20 [json_name = "lastFor"];.chalk.graph.v1.FeatureReference last_for = 20 [json_name = "lastFor"];com.google.protobuf.DurationThis represents whatever arg the user passed into the `feature()` call.com.google.protobuf.DurationOrBuilderThis represents whatever arg the user passed into the `feature()` call.getName()string name = 1 [json_name = "name"];com.google.protobuf.ByteStringstring name = 1 [json_name = "name"];string namespace = 2 [json_name = "namespace"];com.google.protobuf.ByteStringstring namespace = 2 [json_name = "namespace"];booleanbool no_display = 4 [json_name = "noDisplay"];com.google.protobuf.Duration.google.protobuf.Duration offline_ttl_duration = 10 [json_name = "offlineTtlDuration"];com.google.protobuf.DurationOrBuilder.google.protobuf.Duration offline_ttl_duration = 10 [json_name = "offlineTtlDuration"];getOwner()optional string owner = 17 [json_name = "owner"];com.google.protobuf.ByteStringoptional string owner = 17 [json_name = "owner"];getTags(int index) repeated string tags = 15 [json_name = "tags"];com.google.protobuf.ByteStringgetTagsBytes(int index) repeated string tags = 15 [json_name = "tags"];intrepeated string tags = 15 [json_name = "tags"];repeated string tags = 15 [json_name = "tags"];getValidations(int index) repeated .chalk.graph.v1.FeatureValidation validations = 19 [json_name = "validations"];intrepeated .chalk.graph.v1.FeatureValidation validations = 19 [json_name = "validations"];repeated .chalk.graph.v1.FeatureValidation validations = 19 [json_name = "validations"];getValidationsOrBuilder(int index) repeated .chalk.graph.v1.FeatureValidation validations = 19 [json_name = "validations"];List<? extends FeatureValidationOrBuilder>repeated .chalk.graph.v1.FeatureValidation validations = 19 [json_name = "validations"];.chalk.graph.v1.VersionInfo version = 12 [json_name = "version"];.chalk.graph.v1.VersionInfo version = 12 [json_name = "version"];.chalk.graph.v1.WindowInfo window_info = 13 [json_name = "windowInfo"];.chalk.graph.v1.WindowInfo window_info = 13 [json_name = "windowInfo"];boolean.chalk.arrow.v1.ArrowType arrow_type = 11 [json_name = "arrowType"];boolean.chalk.arrow.v1.ScalarValue default_value = 14 [json_name = "defaultValue"];booleanoptional string description = 16 [json_name = "description"];booleanThis represents whatever arg the user passed into the `feature()` call.boolean.chalk.expression.v1.LogicalExprNode expression = 18 [json_name = "expression"];booleanoptional uint64 internal_version = 7 [json_name = "internalVersion"];boolean.chalk.graph.v1.FeatureReference last_for = 20 [json_name = "lastFor"];booleanThis represents whatever arg the user passed into the `feature()` call.boolean.google.protobuf.Duration offline_ttl_duration = 10 [json_name = "offlineTtlDuration"];booleanhasOwner()optional string owner = 17 [json_name = "owner"];boolean.chalk.graph.v1.VersionInfo version = 12 [json_name = "version"];boolean.chalk.graph.v1.WindowInfo window_info = 13 [json_name = "windowInfo"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()string name = 1 [json_name = "name"];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()string name = 1 [json_name = "name"];- Returns:
- The bytes for name.
-
getNamespace
String getNamespace()string namespace = 2 [json_name = "namespace"];- Returns:
- The namespace.
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()string namespace = 2 [json_name = "namespace"];- Returns:
- The bytes for namespace.
-
getIsAutogenerated
boolean getIsAutogenerated()bool is_autogenerated = 3 [json_name = "isAutogenerated"];- Returns:
- The isAutogenerated.
-
getNoDisplay
boolean getNoDisplay()bool no_display = 4 [json_name = "noDisplay"];- Returns:
- The noDisplay.
-
getIsPrimary
boolean getIsPrimary()bool is_primary = 5 [json_name = "isPrimary"];- Returns:
- The isPrimary.
-
getIsNullable
boolean getIsNullable()bool is_nullable = 6 [json_name = "isNullable"];- Returns:
- The isNullable.
-
hasInternalVersion
boolean hasInternalVersion()optional uint64 internal_version = 7 [json_name = "internalVersion"];- Returns:
- Whether the internalVersion field is set.
-
getInternalVersion
long getInternalVersion()optional uint64 internal_version = 7 [json_name = "internalVersion"];- Returns:
- The internalVersion.
-
hasMaxStalenessDuration
boolean hasMaxStalenessDuration()This represents whatever arg the user passed into the `feature()` call. If both set, this should take precedence over the value in `FeatureSet`. If unset here, the value in `FeatureSet` should be used.
.google.protobuf.Duration max_staleness_duration = 8 [json_name = "maxStalenessDuration"];- Returns:
- Whether the maxStalenessDuration field is set.
-
getMaxStalenessDuration
com.google.protobuf.Duration getMaxStalenessDuration()This represents whatever arg the user passed into the `feature()` call. If both set, this should take precedence over the value in `FeatureSet`. If unset here, the value in `FeatureSet` should be used.
.google.protobuf.Duration max_staleness_duration = 8 [json_name = "maxStalenessDuration"];- Returns:
- The maxStalenessDuration.
-
getMaxStalenessDurationOrBuilder
com.google.protobuf.DurationOrBuilder getMaxStalenessDurationOrBuilder()This represents whatever arg the user passed into the `feature()` call. If both set, this should take precedence over the value in `FeatureSet`. If unset here, the value in `FeatureSet` should be used.
.google.protobuf.Duration max_staleness_duration = 8 [json_name = "maxStalenessDuration"]; -
hasOfflineTtlDuration
boolean hasOfflineTtlDuration().google.protobuf.Duration offline_ttl_duration = 10 [json_name = "offlineTtlDuration"];- Returns:
- Whether the offlineTtlDuration field is set.
-
getOfflineTtlDuration
com.google.protobuf.Duration getOfflineTtlDuration().google.protobuf.Duration offline_ttl_duration = 10 [json_name = "offlineTtlDuration"];- Returns:
- The offlineTtlDuration.
-
getOfflineTtlDurationOrBuilder
com.google.protobuf.DurationOrBuilder getOfflineTtlDurationOrBuilder().google.protobuf.Duration offline_ttl_duration = 10 [json_name = "offlineTtlDuration"]; -
hasArrowType
boolean hasArrowType().chalk.arrow.v1.ArrowType arrow_type = 11 [json_name = "arrowType"];- Returns:
- Whether the arrowType field is set.
-
getArrowType
ArrowType getArrowType().chalk.arrow.v1.ArrowType arrow_type = 11 [json_name = "arrowType"];- Returns:
- The arrowType.
-
getArrowTypeOrBuilder
ArrowTypeOrBuilder getArrowTypeOrBuilder().chalk.arrow.v1.ArrowType arrow_type = 11 [json_name = "arrowType"]; -
hasVersion
boolean hasVersion().chalk.graph.v1.VersionInfo version = 12 [json_name = "version"];- Returns:
- Whether the version field is set.
-
getVersion
VersionInfo getVersion().chalk.graph.v1.VersionInfo version = 12 [json_name = "version"];- Returns:
- The version.
-
getVersionOrBuilder
VersionInfoOrBuilder getVersionOrBuilder().chalk.graph.v1.VersionInfo version = 12 [json_name = "version"]; -
hasWindowInfo
boolean hasWindowInfo().chalk.graph.v1.WindowInfo window_info = 13 [json_name = "windowInfo"];- Returns:
- Whether the windowInfo field is set.
-
getWindowInfo
WindowInfo getWindowInfo().chalk.graph.v1.WindowInfo window_info = 13 [json_name = "windowInfo"];- Returns:
- The windowInfo.
-
getWindowInfoOrBuilder
WindowInfoOrBuilder getWindowInfoOrBuilder().chalk.graph.v1.WindowInfo window_info = 13 [json_name = "windowInfo"]; -
hasDefaultValue
boolean hasDefaultValue().chalk.arrow.v1.ScalarValue default_value = 14 [json_name = "defaultValue"];- Returns:
- Whether the defaultValue field is set.
-
getDefaultValue
ScalarValue getDefaultValue().chalk.arrow.v1.ScalarValue default_value = 14 [json_name = "defaultValue"];- Returns:
- The defaultValue.
-
getDefaultValueOrBuilder
ScalarValueOrBuilder getDefaultValueOrBuilder().chalk.arrow.v1.ScalarValue default_value = 14 [json_name = "defaultValue"]; -
getTagsList
repeated string tags = 15 [json_name = "tags"];- Returns:
- A list containing the tags.
-
getTagsCount
int getTagsCount()repeated string tags = 15 [json_name = "tags"];- Returns:
- The count of tags.
-
getTags
repeated string tags = 15 [json_name = "tags"];- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
com.google.protobuf.ByteString getTagsBytes(int index) repeated string tags = 15 [json_name = "tags"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
hasDescription
boolean hasDescription()optional string description = 16 [json_name = "description"];- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()optional string description = 16 [json_name = "description"];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()optional string description = 16 [json_name = "description"];- Returns:
- The bytes for description.
-
hasOwner
boolean hasOwner()optional string owner = 17 [json_name = "owner"];- Returns:
- Whether the owner field is set.
-
getOwner
String getOwner()optional string owner = 17 [json_name = "owner"];- Returns:
- The owner.
-
getOwnerBytes
com.google.protobuf.ByteString getOwnerBytes()optional string owner = 17 [json_name = "owner"];- Returns:
- The bytes for owner.
-
hasExpression
boolean hasExpression().chalk.expression.v1.LogicalExprNode expression = 18 [json_name = "expression"];- Returns:
- Whether the expression field is set.
-
getExpression
LogicalExprNode getExpression().chalk.expression.v1.LogicalExprNode expression = 18 [json_name = "expression"];- Returns:
- The expression.
-
getExpressionOrBuilder
LogicalExprNodeOrBuilder getExpressionOrBuilder().chalk.expression.v1.LogicalExprNode expression = 18 [json_name = "expression"]; -
getValidationsList
List<FeatureValidation> getValidationsList()repeated .chalk.graph.v1.FeatureValidation validations = 19 [json_name = "validations"]; -
getValidations
repeated .chalk.graph.v1.FeatureValidation validations = 19 [json_name = "validations"]; -
getValidationsCount
int getValidationsCount()repeated .chalk.graph.v1.FeatureValidation validations = 19 [json_name = "validations"]; -
getValidationsOrBuilderList
List<? extends FeatureValidationOrBuilder> getValidationsOrBuilderList()repeated .chalk.graph.v1.FeatureValidation validations = 19 [json_name = "validations"]; -
getValidationsOrBuilder
repeated .chalk.graph.v1.FeatureValidation validations = 19 [json_name = "validations"]; -
hasLastFor
boolean hasLastFor().chalk.graph.v1.FeatureReference last_for = 20 [json_name = "lastFor"];- Returns:
- Whether the lastFor field is set.
-
getLastFor
FeatureReference getLastFor().chalk.graph.v1.FeatureReference last_for = 20 [json_name = "lastFor"];- Returns:
- The lastFor.
-
getLastForOrBuilder
FeatureReferenceOrBuilder getLastForOrBuilder().chalk.graph.v1.FeatureReference last_for = 20 [json_name = "lastFor"]; -
hasEtlOfflineToOnline
boolean hasEtlOfflineToOnline()This represents whatever arg the user passed into the `feature()` call. If both set, this should take precedence over the value in `FeatureSet`. If unset here, the value in `FeatureSet` should be used.
optional bool etl_offline_to_online = 21 [json_name = "etlOfflineToOnline"];- Returns:
- Whether the etlOfflineToOnline field is set.
-
getEtlOfflineToOnline
boolean getEtlOfflineToOnline()This represents whatever arg the user passed into the `feature()` call. If both set, this should take precedence over the value in `FeatureSet`. If unset here, the value in `FeatureSet` should be used.
optional bool etl_offline_to_online = 21 [json_name = "etlOfflineToOnline"];- Returns:
- The etlOfflineToOnline.
-
getIsDistancePseudofeature
boolean getIsDistancePseudofeature()bool is_distance_pseudofeature = 22 [json_name = "isDistancePseudofeature"];- Returns:
- The isDistancePseudofeature.
-
getAttributeName
String getAttributeName()string attribute_name = 23 [json_name = "attributeName"];- Returns:
- The attributeName.
-
getAttributeNameBytes
com.google.protobuf.ByteString getAttributeNameBytes()string attribute_name = 23 [json_name = "attributeName"];- Returns:
- The bytes for attributeName.
-
getIsDeprecated
boolean getIsDeprecated()Whether the user marked the feature as deprecated.
bool is_deprecated = 24 [json_name = "isDeprecated"];- Returns:
- The isDeprecated.
-
getCacheStrategyValue
int getCacheStrategyValue().chalk.graph.v1.CacheStrategy cache_strategy = 25 [json_name = "cacheStrategy"];- Returns:
- The enum numeric value on the wire for cacheStrategy.
-
getCacheStrategy
CacheStrategy getCacheStrategy().chalk.graph.v1.CacheStrategy cache_strategy = 25 [json_name = "cacheStrategy"];- Returns:
- The cacheStrategy.
-