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

build.buf.connect.generated.v1.StatusOrBuilder Maven / Gradle / Ivy

The newest version!
// Copyright 2022-2023 Buf Technologies, Inc.
//
// 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
//
//      http://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: build/buf/connect/generated/v1/status.proto

package build.buf.connect.generated.v1;

public interface StatusOrBuilder extends
    // @@protoc_insertion_point(interface_extends:build.buf.connect.generated.v1.Status)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * 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 .build.buf.connect.generated.v1.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 .build.buf.connect.generated.v1.Any details = 3 [json_name = "details"]; */ build.buf.connect.generated.v1.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 .build.buf.connect.generated.v1.Any details = 3 [json_name = "details"]; */ int getDetailsCount(); /** *
   * A list of messages that carry the error details.  There is a common set of
   * message types for APIs to use.
   * 
* * repeated .build.buf.connect.generated.v1.Any details = 3 [json_name = "details"]; */ java.util.List getDetailsOrBuilderList(); /** *
   * A list of messages that carry the error details.  There is a common set of
   * message types for APIs to use.
   * 
* * repeated .build.buf.connect.generated.v1.Any details = 3 [json_name = "details"]; */ build.buf.connect.generated.v1.AnyOrBuilder getDetailsOrBuilder( int index); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy