com.google.storage.v2.GetBucketRequestOrBuilder 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.3
package com.google.storage.v2;
public interface GetBucketRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.storage.v2.GetBucketRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. Name of a bucket.
*
*
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Required. Name of a bucket.
*
*
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* If set, and if the bucket's current metageneration does not match the
* specified value, the request will return an error.
*
*
* optional int64 if_metageneration_match = 2;
*
* @return Whether the ifMetagenerationMatch field is set.
*/
boolean hasIfMetagenerationMatch();
/**
*
*
*
* If set, and if the bucket's current metageneration does not match the
* specified value, the request will return an error.
*
*
* optional int64 if_metageneration_match = 2;
*
* @return The ifMetagenerationMatch.
*/
long getIfMetagenerationMatch();
/**
*
*
*
* If set, and if the bucket's current metageneration matches the specified
* value, the request will return an error.
*
*
* optional int64 if_metageneration_not_match = 3;
*
* @return Whether the ifMetagenerationNotMatch field is set.
*/
boolean hasIfMetagenerationNotMatch();
/**
*
*
*
* If set, and if the bucket's current metageneration matches the specified
* value, the request will return an error.
*
*
* optional int64 if_metageneration_not_match = 3;
*
* @return The ifMetagenerationNotMatch.
*/
long getIfMetagenerationNotMatch();
/**
*
*
*
* Mask specifying which fields to read.
* A "*" field may be used to indicate all fields.
* If no mask is specified, will default to all fields.
*
*
* optional .google.protobuf.FieldMask read_mask = 5;
*
* @return Whether the readMask field is set.
*/
boolean hasReadMask();
/**
*
*
*
* Mask specifying which fields to read.
* A "*" field may be used to indicate all fields.
* If no mask is specified, will default to all fields.
*
*
* optional .google.protobuf.FieldMask read_mask = 5;
*
* @return The readMask.
*/
com.google.protobuf.FieldMask getReadMask();
/**
*
*
*
* Mask specifying which fields to read.
* A "*" field may be used to indicate all fields.
* If no mask is specified, will default to all fields.
*
*
* optional .google.protobuf.FieldMask read_mask = 5;
*/
com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder();
}