Class DeleteFeatureValuesRequest.SelectTimeRangeAndFeature (3.22.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
TypeDescription
int

SKIP_ONLINE_STORAGE_DELETE_FIELD_NUMBER

public static final int SKIP_ONLINE_STORAGE_DELETE_FIELD_NUMBER
Field Value
TypeDescription
int

TIME_RANGE_FIELD_NUMBER

public static final int TIME_RANGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature getDefaultInstance()
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder newBuilder()
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

newBuilder(DeleteFeatureValuesRequest.SelectTimeRangeAndFeature prototype)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder newBuilder(DeleteFeatureValuesRequest.SelectTimeRangeAndFeature prototype)
Parameter
NameDescription
prototypeDeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

parseDelimitedFrom(InputStream input)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DeleteFeatureValuesRequest.SelectTimeRangeAndFeature parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
FeatureSelectorOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the timeRange field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder newBuilderForType()
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder toBuilder()
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException