All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.storage.control.v2.RenameFolderRequestOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.46.0
Show newest version
/*
 * 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/control/v2/storage_control.proto

// Protobuf Java Version: 3.25.4
package com.google.storage.control.v2;

public interface RenameFolderRequestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.storage.control.v2.RenameFolderRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Required. Name of the source folder being renamed.
   * Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
   * 
* * * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The name. */ java.lang.String getName(); /** * * *
   * Required. Name of the source folder being renamed.
   * Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
   * 
* * * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * Required. The destination folder ID, e.g. `foo/bar/`.
   * 
* * string destination_folder_id = 8 [(.google.api.field_behavior) = REQUIRED]; * * @return The destinationFolderId. */ java.lang.String getDestinationFolderId(); /** * * *
   * Required. The destination folder ID, e.g. `foo/bar/`.
   * 
* * string destination_folder_id = 8 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for destinationFolderId. */ com.google.protobuf.ByteString getDestinationFolderIdBytes(); /** * * *
   * Makes the operation only succeed conditional on whether the source
   * folder's current metageneration matches the given value.
   * 
* * optional int64 if_metageneration_match = 4; * * @return Whether the ifMetagenerationMatch field is set. */ boolean hasIfMetagenerationMatch(); /** * * *
   * Makes the operation only succeed conditional on whether the source
   * folder's current metageneration matches the given value.
   * 
* * optional int64 if_metageneration_match = 4; * * @return The ifMetagenerationMatch. */ long getIfMetagenerationMatch(); /** * * *
   * Makes the operation only succeed conditional on whether the source
   * folder's current metageneration does not match the given value.
   * 
* * optional int64 if_metageneration_not_match = 5; * * @return Whether the ifMetagenerationNotMatch field is set. */ boolean hasIfMetagenerationNotMatch(); /** * * *
   * Makes the operation only succeed conditional on whether the source
   * folder's current metageneration does not match the given value.
   * 
* * optional int64 if_metageneration_not_match = 5; * * @return The ifMetagenerationNotMatch. */ long getIfMetagenerationNotMatch(); /** * * *
   * Optional. A unique identifier for this request. UUID is the recommended
   * format, but other formats are still accepted. This request is only
   * idempotent if a `request_id` is provided.
   * 
* * * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } * * * @return The requestId. */ java.lang.String getRequestId(); /** * * *
   * Optional. A unique identifier for this request. UUID is the recommended
   * format, but other formats are still accepted. This request is only
   * idempotent if a `request_id` is provided.
   * 
* * * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } * * * @return The bytes for requestId. */ com.google.protobuf.ByteString getRequestIdBytes(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy