Interface ComposeObjectRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ComposeObjectRequest, ComposeObjectRequest.Builder

public interface ComposeObjectRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasDestination

      boolean hasDestination()
       Required. Properties of the resulting object.
       
      .google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the destination field is set.
    • getDestination

      Object getDestination()
       Required. Properties of the resulting object.
       
      .google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The destination.
    • getDestinationOrBuilder

      ObjectOrBuilder getDestinationOrBuilder()
       Required. Properties of the resulting object.
       
      .google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];
    • getSourceObjectsList

      List<ComposeObjectRequest.SourceObject> getSourceObjectsList()
       Optional. The list of source objects that will be concatenated into a
       single object.
       
      repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getSourceObjects

      ComposeObjectRequest.SourceObject getSourceObjects(int index)
       Optional. The list of source objects that will be concatenated into a
       single object.
       
      repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getSourceObjectsCount

      int getSourceObjectsCount()
       Optional. The list of source objects that will be concatenated into a
       single object.
       
      repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getSourceObjectsOrBuilderList

      List<? extends ComposeObjectRequest.SourceObjectOrBuilder> getSourceObjectsOrBuilderList()
       Optional. The list of source objects that will be concatenated into a
       single object.
       
      repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getSourceObjectsOrBuilder

      ComposeObjectRequest.SourceObjectOrBuilder getSourceObjectsOrBuilder(int index)
       Optional. The list of source objects that will be concatenated into a
       single object.
       
      repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getDestinationPredefinedAcl

      String getDestinationPredefinedAcl()
       Optional. Apply a predefined set of access controls to the destination
       object. Valid values are "authenticatedRead", "bucketOwnerFullControl",
       "bucketOwnerRead", "private", "projectPrivate", or "publicRead".
       
      string destination_predefined_acl = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The destinationPredefinedAcl.
    • getDestinationPredefinedAclBytes

      com.google.protobuf.ByteString getDestinationPredefinedAclBytes()
       Optional. Apply a predefined set of access controls to the destination
       object. Valid values are "authenticatedRead", "bucketOwnerFullControl",
       "bucketOwnerRead", "private", "projectPrivate", or "publicRead".
       
      string destination_predefined_acl = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for destinationPredefinedAcl.
    • hasIfGenerationMatch

      boolean hasIfGenerationMatch()
       Makes the operation conditional on whether the object's current generation
       matches the given value. Setting to 0 makes the operation succeed only if
       there are no live versions of the object.
       
      optional int64 if_generation_match = 4;
      Returns:
      Whether the ifGenerationMatch field is set.
    • getIfGenerationMatch

      long getIfGenerationMatch()
       Makes the operation conditional on whether the object's current generation
       matches the given value. Setting to 0 makes the operation succeed only if
       there are no live versions of the object.
       
      optional int64 if_generation_match = 4;
      Returns:
      The ifGenerationMatch.
    • hasIfMetagenerationMatch

      boolean hasIfMetagenerationMatch()
       Makes the operation conditional on whether the object's current
       metageneration matches the given value.
       
      optional int64 if_metageneration_match = 5;
      Returns:
      Whether the ifMetagenerationMatch field is set.
    • getIfMetagenerationMatch

      long getIfMetagenerationMatch()
       Makes the operation conditional on whether the object's current
       metageneration matches the given value.
       
      optional int64 if_metageneration_match = 5;
      Returns:
      The ifMetagenerationMatch.
    • getKmsKey

      String getKmsKey()
       Optional. Resource name of the Cloud KMS key, of the form
       `projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key`,
       that will be used to encrypt the object. Overrides the object
       metadata's `kms_key_name` value, if any.
       
      string kms_key = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The kmsKey.
    • getKmsKeyBytes

      com.google.protobuf.ByteString getKmsKeyBytes()
       Optional. Resource name of the Cloud KMS key, of the form
       `projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key`,
       that will be used to encrypt the object. Overrides the object
       metadata's `kms_key_name` value, if any.
       
      string kms_key = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for kmsKey.
    • hasCommonObjectRequestParams

      boolean hasCommonObjectRequestParams()
       Optional. A set of parameters common to Storage API requests concerning an
       object.
       
      .google.storage.v2.CommonObjectRequestParams common_object_request_params = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the commonObjectRequestParams field is set.
    • getCommonObjectRequestParams

      CommonObjectRequestParams getCommonObjectRequestParams()
       Optional. A set of parameters common to Storage API requests concerning an
       object.
       
      .google.storage.v2.CommonObjectRequestParams common_object_request_params = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The commonObjectRequestParams.
    • getCommonObjectRequestParamsOrBuilder

      CommonObjectRequestParamsOrBuilder getCommonObjectRequestParamsOrBuilder()
       Optional. A set of parameters common to Storage API requests concerning an
       object.
       
      .google.storage.v2.CommonObjectRequestParams common_object_request_params = 7 [(.google.api.field_behavior) = OPTIONAL];
    • hasObjectChecksums

      boolean hasObjectChecksums()
       Optional. The checksums of the complete object. This will be validated
       against the combined checksums of the component objects.
       
      .google.storage.v2.ObjectChecksums object_checksums = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the objectChecksums field is set.
    • getObjectChecksums

      ObjectChecksums getObjectChecksums()
       Optional. The checksums of the complete object. This will be validated
       against the combined checksums of the component objects.
       
      .google.storage.v2.ObjectChecksums object_checksums = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The objectChecksums.
    • getObjectChecksumsOrBuilder

      ObjectChecksumsOrBuilder getObjectChecksumsOrBuilder()
       Optional. The checksums of the complete object. This will be validated
       against the combined checksums of the component objects.
       
      .google.storage.v2.ObjectChecksums object_checksums = 10 [(.google.api.field_behavior) = OPTIONAL];