com.google.rpc.ResourceInfoOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-common-protos Show documentation
Show all versions of proto-google-common-protos Show documentation
PROTO library for proto-google-common-protos
/*
* 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/rpc/error_details.proto
// Protobuf Java Version: 3.25.2
package com.google.rpc;
public interface ResourceInfoOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.rpc.ResourceInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* A name for the type of resource being accessed, e.g. "sql table",
* "cloud storage bucket", "file", "Google calendar"; or the type URL
* of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
*
*
* string resource_type = 1;
*
* @return The resourceType.
*/
java.lang.String getResourceType();
/**
*
*
*
* A name for the type of resource being accessed, e.g. "sql table",
* "cloud storage bucket", "file", "Google calendar"; or the type URL
* of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
*
*
* string resource_type = 1;
*
* @return The bytes for resourceType.
*/
com.google.protobuf.ByteString getResourceTypeBytes();
/**
*
*
*
* The name of the resource being accessed. For example, a shared calendar
* name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current
* error is
* [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
*
*
* string resource_name = 2;
*
* @return The resourceName.
*/
java.lang.String getResourceName();
/**
*
*
*
* The name of the resource being accessed. For example, a shared calendar
* name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current
* error is
* [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
*
*
* string resource_name = 2;
*
* @return The bytes for resourceName.
*/
com.google.protobuf.ByteString getResourceNameBytes();
/**
*
*
*
* The owner of the resource (optional).
* For example, "user:<owner email>" or "project:<Google developer project
* id>".
*
*
* string owner = 3;
*
* @return The owner.
*/
java.lang.String getOwner();
/**
*
*
*
* The owner of the resource (optional).
* For example, "user:<owner email>" or "project:<Google developer project
* id>".
*
*
* string owner = 3;
*
* @return The bytes for owner.
*/
com.google.protobuf.ByteString getOwnerBytes();
/**
*
*
*
* Describes what error is encountered when accessing this resource.
* For example, updating a cloud project may require the `writer` permission
* on the developer console project.
*
*
* string description = 4;
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* Describes what error is encountered when accessing this resource.
* For example, updating a cloud project may require the `writer` permission
* on the developer console project.
*
*
* string description = 4;
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
}