Class DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder (3.45.0)

public static final class DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder extends GeneratedMessageV3.Builder<DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder
Overrides

build()

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

buildPartial()

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

clear()

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder clear()
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder
Overrides

clearFeatureSelector()

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder clearFeatureSelector()

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
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

clearField(Descriptors.FieldDescriptor field)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder
Overrides

clearSkipOnlineStorageDelete()

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder clearSkipOnlineStorageDelete()

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
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

This builder for chaining.

clearTimeRange()

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder clearTimeRange()

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
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

clone()

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder clone()
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getFeatureSelectorBuilder()

public FeatureSelector.Builder getFeatureSelectorBuilder()

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.Builder

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

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.

getTimeRangeBuilder()

public Interval.Builder getTimeRangeBuilder()

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.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFeatureSelector(FeatureSelector value)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder mergeFeatureSelector(FeatureSelector value)

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];

Parameter
Name Description
value FeatureSelector
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

mergeFrom(DeleteFeatureValuesRequest.SelectTimeRangeAndFeature other)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder mergeFrom(DeleteFeatureValuesRequest.SelectTimeRangeAndFeature other)
Parameter
Name Description
other DeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder
Overrides

mergeTimeRange(Interval value)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder mergeTimeRange(Interval value)

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];

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder
Overrides

setFeatureSelector(FeatureSelector value)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder setFeatureSelector(FeatureSelector value)

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];

Parameter
Name Description
value FeatureSelector
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

setFeatureSelector(FeatureSelector.Builder builderForValue)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder setFeatureSelector(FeatureSelector.Builder builderForValue)

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];

Parameter
Name Description
builderForValue FeatureSelector.Builder
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder
Overrides

setSkipOnlineStorageDelete(boolean value)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder setSkipOnlineStorageDelete(boolean value)

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;

Parameter
Name Description
value boolean

The skipOnlineStorageDelete to set.

Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

This builder for chaining.

setTimeRange(Interval value)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder setTimeRange(Interval value)

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];

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

setTimeRange(Interval.Builder builderForValue)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder setTimeRange(Interval.Builder builderForValue)

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];

Parameter
Name Description
builderForValue com.google.type.Interval.Builder
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder
Overrides