Package com.google.storage.v2
Interface ComposeObjectRequest.SourceObjectOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ComposeObjectRequest.SourceObject,ComposeObjectRequest.SourceObject.Builder
- Enclosing class:
- ComposeObjectRequest
public static interface ComposeObjectRequest.SourceObjectOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongThe generation of this object to use as the source.getName()Required.com.google.protobuf.ByteStringRequired.Conditions that must be met for this operation to execute.Conditions that must be met for this operation to execute.booleanConditions that must be met for this operation to execute.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
-
getName
String getName()Required. The source object's name. All source objects must reside in the same bucket.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required. The source object's name. All source objects must reside in the same bucket.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for name.
-
getGeneration
long getGeneration()The generation of this object to use as the source.
int64 generation = 2;- Returns:
- The generation.
-
hasObjectPreconditions
boolean hasObjectPreconditions()Conditions that must be met for this operation to execute.
.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3;- Returns:
- Whether the objectPreconditions field is set.
-
getObjectPreconditions
ComposeObjectRequest.SourceObject.ObjectPreconditions getObjectPreconditions()Conditions that must be met for this operation to execute.
.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3;- Returns:
- The objectPreconditions.
-
getObjectPreconditionsOrBuilder
ComposeObjectRequest.SourceObject.ObjectPreconditionsOrBuilder getObjectPreconditionsOrBuilder()Conditions that must be met for this operation to execute.
.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions object_preconditions = 3;
-