games.mythical.saga.sdk.proto.common.ErrorDataOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of saga-sdk-proto Show documentation
Show all versions of saga-sdk-proto Show documentation
Saga SDK for Java game servers
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: common/common.proto
package games.mythical.saga.sdk.proto.common;
public interface ErrorDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:saga.common.ErrorData)
com.google.protobuf.MessageOrBuilder {
/**
*
* The error code for this type of error
*
*
* string error_code = 1;
* @return The errorCode.
*/
java.lang.String getErrorCode();
/**
*
* The error code for this type of error
*
*
* string error_code = 1;
* @return The bytes for errorCode.
*/
com.google.protobuf.ByteString
getErrorCodeBytes();
/**
*
* Description of the error
*
*
* string message = 2;
* @return The message.
*/
java.lang.String getMessage();
/**
*
* Description of the error
*
*
* string message = 2;
* @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
/**
*
* Indicator of which service the error occurred in
*
*
* string source = 3;
* @return The source.
*/
java.lang.String getSource();
/**
*
* Indicator of which service the error occurred in
*
*
* string source = 3;
* @return The bytes for source.
*/
com.google.protobuf.ByteString
getSourceBytes();
/**
*
* Trace id for this operation, if any
*
*
* string trace = 4;
* @return The trace.
*/
java.lang.String getTrace();
/**
*
* Trace id for this operation, if any
*
*
* string trace = 4;
* @return The bytes for trace.
*/
com.google.protobuf.ByteString
getTraceBytes();
/**
*
* Error metadata
*
*
* .google.protobuf.Struct metadata = 5;
* @return Whether the metadata field is set.
*/
boolean hasMetadata();
/**
*
* Error metadata
*
*
* .google.protobuf.Struct metadata = 5;
* @return The metadata.
*/
com.google.protobuf.Struct getMetadata();
/**
*
* Error metadata
*
*
* .google.protobuf.Struct metadata = 5;
*/
com.google.protobuf.StructOrBuilder getMetadataOrBuilder();
/**
*
* Sub-errors assocated with this incident
*
*
* repeated .saga.common.SubError suberrors = 6;
*/
java.util.List
getSuberrorsList();
/**
*
* Sub-errors assocated with this incident
*
*
* repeated .saga.common.SubError suberrors = 6;
*/
games.mythical.saga.sdk.proto.common.SubError getSuberrors(int index);
/**
*
* Sub-errors assocated with this incident
*
*
* repeated .saga.common.SubError suberrors = 6;
*/
int getSuberrorsCount();
/**
*
* Sub-errors assocated with this incident
*
*
* repeated .saga.common.SubError suberrors = 6;
*/
java.util.List extends games.mythical.saga.sdk.proto.common.SubErrorOrBuilder>
getSuberrorsOrBuilderList();
/**
*
* Sub-errors assocated with this incident
*
*
* repeated .saga.common.SubError suberrors = 6;
*/
games.mythical.saga.sdk.proto.common.SubErrorOrBuilder getSuberrorsOrBuilder(
int index);
}