Package com.google.storage.v2
Interface ComposeObjectRequest.SourceObject.ObjectPreconditionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ComposeObjectRequest.SourceObject.ObjectPreconditions,ComposeObjectRequest.SourceObject.ObjectPreconditions.Builder
- Enclosing class:
- ComposeObjectRequest.SourceObject
public static interface ComposeObjectRequest.SourceObject.ObjectPreconditionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongOnly perform the composition if the generation of the source object that would be used matches this value.booleanOnly perform the composition if the generation of the source object that would be used matches this value.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasIfGenerationMatch
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:
- Whether the ifGenerationMatch field is set.
-
getIfGenerationMatch
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:
- The ifGenerationMatch.
-