Class DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder (3.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder
Overrides

build()

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature build()
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature

buildPartial()

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature buildPartial()
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature

clear()

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

clearField(Descriptors.FieldDescriptor field)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

clone()

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder clone()
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder
Overrides

getDefaultInstanceForType()

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature getDefaultInstanceForType()
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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.

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueFeatureSelector
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

mergeFrom(DeleteFeatureValuesRequest.SelectTimeRangeAndFeature other)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder mergeFrom(DeleteFeatureValuesRequest.SelectTimeRangeAndFeature other)
Parameter
NameDescription
otherDeleteFeatureValuesRequest.SelectTimeRangeAndFeature
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Interval
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFeatureSelector
Returns
TypeDescription
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
NameDescription
builderForValueFeatureSelector.Builder
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The skipOnlineStorageDelete to set.

Returns
TypeDescription
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
NameDescription
valuecom.google.type.Interval
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.type.Interval.Builder
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.Builder
Overrides