Interface ComposeObjectRequest.SourceObject.ObjectPreconditionsOrBuilder (2.37.0)

public static interface ComposeObjectRequest.SourceObject.ObjectPreconditionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIfGenerationMatch()

public abstract long getIfGenerationMatch()

Only perform the composition if the generation of the source object that would be used matches this value. If this value and a generation are both specified, they must be the same value or the call will fail.

optional int64 if_generation_match = 1;

Returns
Type Description
long

The ifGenerationMatch.

hasIfGenerationMatch()

public abstract boolean hasIfGenerationMatch()

Only perform the composition if the generation of the source object that would be used matches this value. If this value and a generation are both specified, they must be the same value or the call will fail.

optional int64 if_generation_match = 1;

Returns
Type Description
boolean

Whether the ifGenerationMatch field is set.