Package com.google.cloud.aiplatform.v1
Class ImportFeatureValuesRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.ImportFeatureValuesRequest
- All Implemented Interfaces:
ImportFeatureValuesRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ImportFeatureValuesRequest
extends com.google.protobuf.GeneratedMessage
implements ImportFeatureValuesRequestOrBuilder
Request message for [FeaturestoreService.ImportFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.ImportFeatureValues].Protobuf type
google.cloud.aiplatform.v1.ImportFeatureValuesRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRequest message for [FeaturestoreService.ImportFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.ImportFeatureValues].static final classDefines the Feature value(s) to import.static interfacestatic enumstatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionboolean.google.cloud.aiplatform.v1.AvroSource avro_source = 2;.google.cloud.aiplatform.v1.AvroSource avro_source = 2;.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3;.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3;.google.cloud.aiplatform.v1.CsvSource csv_source = 4;.google.cloud.aiplatform.v1.CsvSource csv_source = 4;static ImportFeatureValuesRequeststatic final com.google.protobuf.Descriptors.DescriptorbooleanIf true, API doesn't start ingestion analysis pipeline.booleanIf set, data will not be imported for online serving.Source column that holds entity IDs.com.google.protobuf.ByteStringSource column that holds entity IDs.Required.com.google.protobuf.ByteStringRequired.getFeatureSpecs(int index) Required.intRequired.Required.getFeatureSpecsOrBuilder(int index) Required.Required.com.google.protobuf.TimestampSingle Feature timestamp for all entities being imported.Source column that holds the Feature timestamp for all Feature values in each entity.com.google.protobuf.ByteStringSource column that holds the Feature timestamp for all Feature values in each entity.com.google.protobuf.TimestampOrBuilderSingle Feature timestamp for all entities being imported.com.google.protobuf.Parser<ImportFeatureValuesRequest>intintSpecifies the number of workers that are used to write data to the Featurestore.boolean.google.cloud.aiplatform.v1.AvroSource avro_source = 2;boolean.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3;boolean.google.cloud.aiplatform.v1.CsvSource csv_source = 4;booleanSingle Feature timestamp for all entities being imported.booleanSource column that holds the Feature timestamp for all Feature values in each entity.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(ImportFeatureValuesRequest prototype) protected ImportFeatureValuesRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ImportFeatureValuesRequestparseDelimitedFrom(InputStream input) static ImportFeatureValuesRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ImportFeatureValuesRequestparseFrom(byte[] data) static ImportFeatureValuesRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ImportFeatureValuesRequestparseFrom(com.google.protobuf.ByteString data) static ImportFeatureValuesRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ImportFeatureValuesRequestparseFrom(com.google.protobuf.CodedInputStream input) static ImportFeatureValuesRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ImportFeatureValuesRequestparseFrom(InputStream input) static ImportFeatureValuesRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ImportFeatureValuesRequestparseFrom(ByteBuffer data) static ImportFeatureValuesRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ImportFeatureValuesRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
AVRO_SOURCE_FIELD_NUMBER
public static final int AVRO_SOURCE_FIELD_NUMBER- See Also:
-
BIGQUERY_SOURCE_FIELD_NUMBER
public static final int BIGQUERY_SOURCE_FIELD_NUMBER- See Also:
-
CSV_SOURCE_FIELD_NUMBER
public static final int CSV_SOURCE_FIELD_NUMBER- See Also:
-
FEATURE_TIME_FIELD_FIELD_NUMBER
public static final int FEATURE_TIME_FIELD_FIELD_NUMBER- See Also:
-
FEATURE_TIME_FIELD_NUMBER
public static final int FEATURE_TIME_FIELD_NUMBER- See Also:
-
ENTITY_TYPE_FIELD_NUMBER
public static final int ENTITY_TYPE_FIELD_NUMBER- See Also:
-
ENTITY_ID_FIELD_FIELD_NUMBER
public static final int ENTITY_ID_FIELD_FIELD_NUMBER- See Also:
-
FEATURE_SPECS_FIELD_NUMBER
public static final int FEATURE_SPECS_FIELD_NUMBER- See Also:
-
DISABLE_ONLINE_SERVING_FIELD_NUMBER
public static final int DISABLE_ONLINE_SERVING_FIELD_NUMBER- See Also:
-
WORKER_COUNT_FIELD_NUMBER
public static final int WORKER_COUNT_FIELD_NUMBER- See Also:
-
DISABLE_INGESTION_ANALYSIS_FIELD_NUMBER
public static final int DISABLE_INGESTION_ANALYSIS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getSourceCase
- Specified by:
getSourceCasein interfaceImportFeatureValuesRequestOrBuilder
-
getFeatureTimeSourceCase
- Specified by:
getFeatureTimeSourceCasein interfaceImportFeatureValuesRequestOrBuilder
-
hasAvroSource
public boolean hasAvroSource().google.cloud.aiplatform.v1.AvroSource avro_source = 2;- Specified by:
hasAvroSourcein interfaceImportFeatureValuesRequestOrBuilder- Returns:
- Whether the avroSource field is set.
-
getAvroSource
.google.cloud.aiplatform.v1.AvroSource avro_source = 2;- Specified by:
getAvroSourcein interfaceImportFeatureValuesRequestOrBuilder- Returns:
- The avroSource.
-
getAvroSourceOrBuilder
.google.cloud.aiplatform.v1.AvroSource avro_source = 2;- Specified by:
getAvroSourceOrBuilderin interfaceImportFeatureValuesRequestOrBuilder
-
hasBigquerySource
public boolean hasBigquerySource().google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3;- Specified by:
hasBigquerySourcein interfaceImportFeatureValuesRequestOrBuilder- Returns:
- Whether the bigquerySource field is set.
-
getBigquerySource
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3;- Specified by:
getBigquerySourcein interfaceImportFeatureValuesRequestOrBuilder- Returns:
- The bigquerySource.
-
getBigquerySourceOrBuilder
.google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3;- Specified by:
getBigquerySourceOrBuilderin interfaceImportFeatureValuesRequestOrBuilder
-
hasCsvSource
public boolean hasCsvSource().google.cloud.aiplatform.v1.CsvSource csv_source = 4;- Specified by:
hasCsvSourcein interfaceImportFeatureValuesRequestOrBuilder- Returns:
- Whether the csvSource field is set.
-
getCsvSource
.google.cloud.aiplatform.v1.CsvSource csv_source = 4;- Specified by:
getCsvSourcein interfaceImportFeatureValuesRequestOrBuilder- Returns:
- The csvSource.
-
getCsvSourceOrBuilder
.google.cloud.aiplatform.v1.CsvSource csv_source = 4;- Specified by:
getCsvSourceOrBuilderin interfaceImportFeatureValuesRequestOrBuilder
-
hasFeatureTimeField
public boolean hasFeatureTimeField()Source column that holds the Feature timestamp for all Feature values in each entity.
string feature_time_field = 6;- Specified by:
hasFeatureTimeFieldin interfaceImportFeatureValuesRequestOrBuilder- Returns:
- Whether the featureTimeField field is set.
-
getFeatureTimeField
Source column that holds the Feature timestamp for all Feature values in each entity.
string feature_time_field = 6;- Specified by:
getFeatureTimeFieldin interfaceImportFeatureValuesRequestOrBuilder- Returns:
- The featureTimeField.
-
getFeatureTimeFieldBytes
public com.google.protobuf.ByteString getFeatureTimeFieldBytes()Source column that holds the Feature timestamp for all Feature values in each entity.
string feature_time_field = 6;- Specified by:
getFeatureTimeFieldBytesin interfaceImportFeatureValuesRequestOrBuilder- Returns:
- The bytes for featureTimeField.
-
hasFeatureTime
public boolean hasFeatureTime()Single Feature timestamp for all entities being imported. The timestamp must not have higher than millisecond precision.
.google.protobuf.Timestamp feature_time = 7;- Specified by:
hasFeatureTimein interfaceImportFeatureValuesRequestOrBuilder- Returns:
- Whether the featureTime field is set.
-
getFeatureTime
public com.google.protobuf.Timestamp getFeatureTime()Single Feature timestamp for all entities being imported. The timestamp must not have higher than millisecond precision.
.google.protobuf.Timestamp feature_time = 7;- Specified by:
getFeatureTimein interfaceImportFeatureValuesRequestOrBuilder- Returns:
- The featureTime.
-
getFeatureTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getFeatureTimeOrBuilder()Single Feature timestamp for all entities being imported. The timestamp must not have higher than millisecond precision.
.google.protobuf.Timestamp feature_time = 7;- Specified by:
getFeatureTimeOrBuilderin interfaceImportFeatureValuesRequestOrBuilder
-
getEntityType
Required. The resource name of the EntityType grouping the Features for which values are being imported. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getEntityTypein interfaceImportFeatureValuesRequestOrBuilder- Returns:
- The entityType.
-
getEntityTypeBytes
public com.google.protobuf.ByteString getEntityTypeBytes()Required. The resource name of the EntityType grouping the Features for which values are being imported. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getEntityTypeBytesin interfaceImportFeatureValuesRequestOrBuilder- Returns:
- The bytes for entityType.
-
getEntityIdField
Source column that holds entity IDs. If not provided, entity IDs are extracted from the column named entity_id.
string entity_id_field = 5;- Specified by:
getEntityIdFieldin interfaceImportFeatureValuesRequestOrBuilder- Returns:
- The entityIdField.
-
getEntityIdFieldBytes
public com.google.protobuf.ByteString getEntityIdFieldBytes()Source column that holds entity IDs. If not provided, entity IDs are extracted from the column named entity_id.
string entity_id_field = 5;- Specified by:
getEntityIdFieldBytesin interfaceImportFeatureValuesRequestOrBuilder- Returns:
- The bytes for entityIdField.
-
getFeatureSpecsList
Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.
repeated .google.cloud.aiplatform.v1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFeatureSpecsListin interfaceImportFeatureValuesRequestOrBuilder
-
getFeatureSpecsOrBuilderList
public List<? extends ImportFeatureValuesRequest.FeatureSpecOrBuilder> getFeatureSpecsOrBuilderList()Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.
repeated .google.cloud.aiplatform.v1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFeatureSpecsOrBuilderListin interfaceImportFeatureValuesRequestOrBuilder
-
getFeatureSpecsCount
public int getFeatureSpecsCount()Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.
repeated .google.cloud.aiplatform.v1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFeatureSpecsCountin interfaceImportFeatureValuesRequestOrBuilder
-
getFeatureSpecs
Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.
repeated .google.cloud.aiplatform.v1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFeatureSpecsin interfaceImportFeatureValuesRequestOrBuilder
-
getFeatureSpecsOrBuilder
Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.
repeated .google.cloud.aiplatform.v1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFeatureSpecsOrBuilderin interfaceImportFeatureValuesRequestOrBuilder
-
getDisableOnlineServing
public boolean getDisableOnlineServing()If set, data will not be imported for online serving. This is typically used for backfilling, where Feature generation timestamps are not in the timestamp range needed for online serving.
bool disable_online_serving = 9;- Specified by:
getDisableOnlineServingin interfaceImportFeatureValuesRequestOrBuilder- Returns:
- The disableOnlineServing.
-
getWorkerCount
public int getWorkerCount()Specifies the number of workers that are used to write data to the Featurestore. Consider the online serving capacity that you require to achieve the desired import throughput without interfering with online serving. The value must be positive, and less than or equal to 100. If not set, defaults to using 1 worker. The low count ensures minimal impact on online serving performance.
int32 worker_count = 11;- Specified by:
getWorkerCountin interfaceImportFeatureValuesRequestOrBuilder- Returns:
- The workerCount.
-
getDisableIngestionAnalysis
public boolean getDisableIngestionAnalysis()If true, API doesn't start ingestion analysis pipeline.
bool disable_ingestion_analysis = 12;- Specified by:
getDisableIngestionAnalysisin interfaceImportFeatureValuesRequestOrBuilder- Returns:
- The disableIngestionAnalysis.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ImportFeatureValuesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportFeatureValuesRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportFeatureValuesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportFeatureValuesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportFeatureValuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportFeatureValuesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ImportFeatureValuesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ImportFeatureValuesRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ImportFeatureValuesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ImportFeatureValuesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ImportFeatureValuesRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-