com.google.storage.v2.ComposeObjectRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-storage-v2 Show documentation
Show all versions of proto-google-cloud-storage-v2 Show documentation
PROTO library for proto-google-cloud-storage-v2
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/storage/v2/storage.proto
// Protobuf Java Version: 3.25.2
package com.google.storage.v2;
public interface ComposeObjectRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.storage.v2.ComposeObjectRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. Properties of the resulting object.
*
*
* .google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the destination field is set.
*/
boolean hasDestination();
/**
*
*
*
* Required. Properties of the resulting object.
*
*
* .google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The destination.
*/
com.google.storage.v2.Object getDestination();
/**
*
*
*
* Required. Properties of the resulting object.
*
*
* .google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.storage.v2.ObjectOrBuilder getDestinationOrBuilder();
/**
*
*
*
* The list of source objects that will be concatenated into a single object.
*
*
* repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;
*/
java.util.List getSourceObjectsList();
/**
*
*
*
* The list of source objects that will be concatenated into a single object.
*
*
* repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;
*/
com.google.storage.v2.ComposeObjectRequest.SourceObject getSourceObjects(int index);
/**
*
*
*
* The list of source objects that will be concatenated into a single object.
*
*
* repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;
*/
int getSourceObjectsCount();
/**
*
*
*
* The list of source objects that will be concatenated into a single object.
*
*
* repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;
*/
java.util.List extends com.google.storage.v2.ComposeObjectRequest.SourceObjectOrBuilder>
getSourceObjectsOrBuilderList();
/**
*
*
*
* The list of source objects that will be concatenated into a single object.
*
*
* repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;
*/
com.google.storage.v2.ComposeObjectRequest.SourceObjectOrBuilder getSourceObjectsOrBuilder(
int index);
/**
*
*
*
* 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;
*
* @return The destinationPredefinedAcl.
*/
java.lang.String getDestinationPredefinedAcl();
/**
*
*
*
* 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;
*
* @return The bytes for destinationPredefinedAcl.
*/
com.google.protobuf.ByteString getDestinationPredefinedAclBytes();
/**
*
*
*
* 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;
*
* @return Whether the ifGenerationMatch field is set.
*/
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;
*
* @return The ifGenerationMatch.
*/
long getIfGenerationMatch();
/**
*
*
*
* Makes the operation conditional on whether the object's current
* metageneration matches the given value.
*
*
* optional int64 if_metageneration_match = 5;
*
* @return Whether the ifMetagenerationMatch field is set.
*/
boolean hasIfMetagenerationMatch();
/**
*
*
*
* Makes the operation conditional on whether the object's current
* metageneration matches the given value.
*
*
* optional int64 if_metageneration_match = 5;
*
* @return The ifMetagenerationMatch.
*/
long getIfMetagenerationMatch();
/**
*
*
*
* 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.resource_reference) = { ... }
*
* @return The kmsKey.
*/
java.lang.String getKmsKey();
/**
*
*
*
* 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.resource_reference) = { ... }
*
* @return The bytes for kmsKey.
*/
com.google.protobuf.ByteString getKmsKeyBytes();
/**
*
*
*
* A set of parameters common to Storage API requests concerning an object.
*
*
* .google.storage.v2.CommonObjectRequestParams common_object_request_params = 7;
*
* @return Whether the commonObjectRequestParams field is set.
*/
boolean hasCommonObjectRequestParams();
/**
*
*
*
* A set of parameters common to Storage API requests concerning an object.
*
*
* .google.storage.v2.CommonObjectRequestParams common_object_request_params = 7;
*
* @return The commonObjectRequestParams.
*/
com.google.storage.v2.CommonObjectRequestParams getCommonObjectRequestParams();
/**
*
*
*
* A set of parameters common to Storage API requests concerning an object.
*
*
* .google.storage.v2.CommonObjectRequestParams common_object_request_params = 7;
*/
com.google.storage.v2.CommonObjectRequestParamsOrBuilder getCommonObjectRequestParamsOrBuilder();
/**
*
*
*
* 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;
*
* @return Whether the objectChecksums field is set.
*/
boolean hasObjectChecksums();
/**
*
*
*
* 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;
*
* @return The objectChecksums.
*/
com.google.storage.v2.ObjectChecksums getObjectChecksums();
/**
*
*
*
* 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;
*/
com.google.storage.v2.ObjectChecksumsOrBuilder getObjectChecksumsOrBuilder();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy