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 jersey-rpc-support Show documentation
Show all versions of jersey-rpc-support Show documentation
jersey-rpc-support developed by FullContact
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/rpc/error_details.proto
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".
*
*
* optional string resource_type = 1;
*/
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".
*
*
* optional string resource_type = 1;
*/
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].
*
*
* optional string resource_name = 2;
*/
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].
*
*
* optional string resource_name = 2;
*/
com.google.protobuf.ByteString
getResourceNameBytes();
/**
*
* The owner of the resource (optional).
* For example, "user:<owner email>" or "project:<Google developer project
* id>".
*
*
* optional string owner = 3;
*/
java.lang.String getOwner();
/**
*
* The owner of the resource (optional).
* For example, "user:<owner email>" or "project:<Google developer project
* id>".
*
*
* optional string owner = 3;
*/
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.
*
*
* optional string description = 4;
*/
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.
*
*
* optional string description = 4;
*/
com.google.protobuf.ByteString
getDescriptionBytes();
}