Interface ComposeObjectRequest.SourceObject.ObjectPreconditionsOrBuilder (2.50.0)

publicstaticinterfaceComposeObjectRequest.SourceObject.ObjectPreconditionsOrBuilderextendsMessageOrBuilder

Methods

getIfGenerationMatch()

publicabstractlonggetIfGenerationMatch()

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

The ifGenerationMatch.

hasIfGenerationMatch()

publicabstractbooleanhasIfGenerationMatch()

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

Whether the ifGenerationMatch field is set.