public static interface ComposeObjectRequest.SourceObject.ObjectPreconditionsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 fails.
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 fails.
optional int64 if_generation_match = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ifGenerationMatch field is set. |