Interface MemoryGenerationTriggerConfig.GenerationTriggerRuleOrBuilder (3.100.0)

public static interface MemoryGenerationTriggerConfig.GenerationTriggerRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEventCount()

public abstract int getEventCount()

Optional. Specifies to trigger generation when the event count reaches this limit.

int32 event_count = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The eventCount.

getFixedInterval()

public abstract Duration getFixedInterval()

Optional. Specifies to trigger generation at a fixed interval. The duration must have a minute-level granularity.

.google.protobuf.Duration fixed_interval = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The fixedInterval.

getFixedIntervalOrBuilder()

public abstract DurationOrBuilder getFixedIntervalOrBuilder()

Optional. Specifies to trigger generation at a fixed interval. The duration must have a minute-level granularity.

.google.protobuf.Duration fixed_interval = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getIdleDuration()

public abstract Duration getIdleDuration()

Optional. Specifies to trigger generation if the stream is inactive for the specified duration after the most recent event. The duration must have a minute-level granularity.

.google.protobuf.Duration idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The idleDuration.

getIdleDurationOrBuilder()

public abstract DurationOrBuilder getIdleDurationOrBuilder()

Optional. Specifies to trigger generation if the stream is inactive for the specified duration after the most recent event. The duration must have a minute-level granularity.

.google.protobuf.Duration idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getOverlapEventCount()

public abstract int getOverlapEventCount()

Optional. Re-include the last N already-processed events in the next window.

int32 overlap_event_count = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The overlapEventCount.

getOverlapWindowCase()

public abstract MemoryGenerationTriggerConfig.GenerationTriggerRule.OverlapWindowCase getOverlapWindowCase()
Returns
Type Description
MemoryGenerationTriggerConfig.GenerationTriggerRule.OverlapWindowCase

getTimeBasedConditionCase()

public abstract MemoryGenerationTriggerConfig.GenerationTriggerRule.TimeBasedConditionCase getTimeBasedConditionCase()
Returns
Type Description
MemoryGenerationTriggerConfig.GenerationTriggerRule.TimeBasedConditionCase

hasFixedInterval()

public abstract boolean hasFixedInterval()

Optional. Specifies to trigger generation at a fixed interval. The duration must have a minute-level granularity.

.google.protobuf.Duration fixed_interval = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the fixedInterval field is set.

hasIdleDuration()

public abstract boolean hasIdleDuration()

Optional. Specifies to trigger generation if the stream is inactive for the specified duration after the most recent event. The duration must have a minute-level granularity.

.google.protobuf.Duration idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the idleDuration field is set.

hasOverlapEventCount()

public abstract boolean hasOverlapEventCount()

Optional. Re-include the last N already-processed events in the next window.

int32 overlap_event_count = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the overlapEventCount field is set.