Interface PreconditionOrBuilder (3.17.0)

public interface PreconditionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConditionTypeCase()

public abstract Precondition.ConditionTypeCase getConditionTypeCase()
Returns
TypeDescription
Precondition.ConditionTypeCase

getExists()

public abstract boolean getExists()

When set to true, the target document must exist. When set to false, the target document must not exist.

bool exists = 1;

Returns
TypeDescription
boolean

The exists.

getUpdateTime()

public abstract Timestamp getUpdateTime()

When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
TimestampOrBuilder

hasExists()

public abstract boolean hasExists()

When set to true, the target document must exist. When set to false, the target document must not exist.

bool exists = 1;

Returns
TypeDescription
boolean

Whether the exists field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
boolean

Whether the updateTime field is set.