Package gql
Interface GqlTypes.GqlStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GqlTypes.GqlStatus,GqlTypes.GqlStatus.Builder
- Enclosing class:
- GqlTypes
public static interface GqlTypes.GqlStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCause()Optional chained causeOptional chained causegetCode()5-char GQLSTATUS codecom.google.protobuf.ByteString5-char GQLSTATUS codeOptional diagnostic contextOptional diagnostic contextHuman-readable descriptioncom.google.protobuf.ByteStringHuman-readable descriptionbooleanhasCause()Optional chained causebooleanOptional diagnostic contextMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCode
String getCode()5-char GQLSTATUS code
string code = 1;- Returns:
- The code.
-
getCodeBytes
com.google.protobuf.ByteString getCodeBytes()5-char GQLSTATUS code
string code = 1;- Returns:
- The bytes for code.
-
getMessage
String getMessage()Human-readable description
string message = 2;- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()Human-readable description
string message = 2;- Returns:
- The bytes for message.
-
hasDiagnostic
boolean hasDiagnostic()Optional diagnostic context
.gql.DiagnosticRecord diagnostic = 3;- Returns:
- Whether the diagnostic field is set.
-
getDiagnostic
GqlTypes.DiagnosticRecord getDiagnostic()Optional diagnostic context
.gql.DiagnosticRecord diagnostic = 3;- Returns:
- The diagnostic.
-
getDiagnosticOrBuilder
GqlTypes.DiagnosticRecordOrBuilder getDiagnosticOrBuilder()Optional diagnostic context
.gql.DiagnosticRecord diagnostic = 3; -
hasCause
boolean hasCause()Optional chained cause
.gql.GqlStatus cause = 4;- Returns:
- Whether the cause field is set.
-
getCause
GqlTypes.GqlStatus getCause()Optional chained cause
.gql.GqlStatus cause = 4;- Returns:
- The cause.
-
getCauseOrBuilder
GqlTypes.GqlStatusOrBuilder getCauseOrBuilder()Optional chained cause
.gql.GqlStatus cause = 4;
-