Class DeleteFeatureValuesRequest.SelectTimeRangeAndFeature (3.44.0)

public static final class DeleteFeatureValuesRequest.SelectTimeRangeAndFeature extends GeneratedMessageV3 implements DeleteFeatureValuesRequest.SelectTimeRangeAndFeatureOrBuilder

Message to select time range and feature. Values of the selected feature generated within an inclusive time range will be deleted. Using this option permanently deletes the feature values from the specified feature IDs within the specified time range. This might include data from the online storage. If you want to retain any deleted historical data in the online storage, you must re-ingest it.

Protobuf type google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DeleteFeatureValuesRequest.SelectTimeRangeAndFeature

Static Fields

FEATURE_SELECTOR_FIELD_NUMBER

public static final int FEATURE_SELECTOR_FIELD_NUMBER
Field Value
Type Description
int

SKIP_ONLINE_STORAGE_DELETE_FIELD_NUMBER

public static final int SKIP_ONLINE_STORAGE_DELETE_FIELD_NUMBER
Field Value
Type Description
int

TIME_RANGE_FIELD_NUMBER

public static final int TIME_RANGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature getDefaultInstance()
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature

getDescriptor()

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

newBuilder()

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder newBuilder()
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

newBuilder(DeleteFeatureValuesRequest.SelectTimeRangeAndFeature prototype)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder newBuilder(DeleteFeatureValuesRequest.SelectTimeRangeAndFeature prototype)
Parameter
Name Description
prototype DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

parseDelimitedFrom(InputStream input)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DeleteFeatureValuesRequest.SelectTimeRangeAndFeature> parser()
Returns
Type Description
Parser<SelectTimeRangeAndFeature>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature getDefaultInstanceForType()
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature

getFeatureSelector()

public FeatureSelector getFeatureSelector()

Required. Selectors choosing which feature values to be deleted from the EntityType.

.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureSelector

The featureSelector.

getFeatureSelectorOrBuilder()

public FeatureSelectorOrBuilder getFeatureSelectorOrBuilder()

Required. Selectors choosing which feature values to be deleted from the EntityType.

.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureSelectorOrBuilder

getParserForType()

public Parser<DeleteFeatureValuesRequest.SelectTimeRangeAndFeature> getParserForType()
Returns
Type Description
Parser<SelectTimeRangeAndFeature>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSkipOnlineStorageDelete()

public boolean getSkipOnlineStorageDelete()

If set, data will not be deleted from online storage. When time range is older than the data in online storage, setting this to be true will make the deletion have no impact on online serving.

bool skip_online_storage_delete = 3;

Returns
Type Description
boolean

The skipOnlineStorageDelete.

getTimeRange()

public Interval getTimeRange()

Required. Select feature generated within a half-inclusive time range. The time range is lower inclusive and upper exclusive.

.google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.Interval

The timeRange.

getTimeRangeOrBuilder()

public IntervalOrBuilder getTimeRangeOrBuilder()

Required. Select feature generated within a half-inclusive time range. The time range is lower inclusive and upper exclusive.

.google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.IntervalOrBuilder

hasFeatureSelector()

public boolean hasFeatureSelector()

Required. Selectors choosing which feature values to be deleted from the EntityType.

.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the featureSelector field is set.

hasTimeRange()

public boolean hasTimeRange()

Required. Select feature generated within a half-inclusive time range. The time range is lower inclusive and upper exclusive.

.google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the timeRange field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder newBuilderForType()
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder toBuilder()
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException