main.com.connectrpc.google.rpc.StatusOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of connect-kotlin-google-javalite-ext Show documentation
Show all versions of connect-kotlin-google-javalite-ext Show documentation
Simple, reliable, interoperable. A better RPC.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/rpc/status.proto
// Protobuf Java Version: 3.25.3
package com.connectrpc.google.rpc;
public interface StatusOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.rpc.Status)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* The status code, which should be an enum value of
* [google.rpc.Code][google.rpc.Code].
*
*
* int32 code = 1 [json_name = "code"];
* @return The code.
*/
int getCode();
/**
*
* A developer-facing error message, which should be in English. Any
* user-facing error message should be localized and sent in the
* [google.rpc.Status.details][google.rpc.Status.details] field, or localized
* by the client.
*
*
* string message = 2 [json_name = "message"];
* @return The message.
*/
java.lang.String getMessage();
/**
*
* A developer-facing error message, which should be in English. Any
* user-facing error message should be localized and sent in the
* [google.rpc.Status.details][google.rpc.Status.details] field, or localized
* by the client.
*
*
* string message = 2 [json_name = "message"];
* @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
/**
*
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*
*
* repeated .google.protobuf.Any details = 3 [json_name = "details"];
*/
java.util.List
getDetailsList();
/**
*
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*
*
* repeated .google.protobuf.Any details = 3 [json_name = "details"];
*/
com.google.protobuf.Any getDetails(int index);
/**
*
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*
*
* repeated .google.protobuf.Any details = 3 [json_name = "details"];
*/
int getDetailsCount();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy