Class QueryRuntimeError (0.31.0)

public final class QueryRuntimeError extends GeneratedMessage implements QueryRuntimeErrorOrBuilder

Runtime error for a dashboard query.

Protobuf type google.cloud.chronicle.v1.QueryRuntimeError

Static Fields

ERROR_DESCRIPTION_FIELD_NUMBER

public static final int ERROR_DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

ERROR_SEVERITY_FIELD_NUMBER

public static final int ERROR_SEVERITY_FIELD_NUMBER
Field Value
Type Description
int

ERROR_TITLE_FIELD_NUMBER

public static final int ERROR_TITLE_FIELD_NUMBER
Field Value
Type Description
int

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
Type Description
int

WARNING_REASON_FIELD_NUMBER

public static final int WARNING_REASON_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static QueryRuntimeError getDefaultInstance()
Returns
Type Description
QueryRuntimeError

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static QueryRuntimeError.Builder newBuilder()
Returns
Type Description
QueryRuntimeError.Builder

newBuilder(QueryRuntimeError prototype)

public static QueryRuntimeError.Builder newBuilder(QueryRuntimeError prototype)
Parameter
Name Description
prototype QueryRuntimeError
Returns
Type Description
QueryRuntimeError.Builder

parseDelimitedFrom(InputStream input)

public static QueryRuntimeError parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QueryRuntimeError
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryRuntimeError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryRuntimeError
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static QueryRuntimeError parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
QueryRuntimeError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QueryRuntimeError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryRuntimeError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QueryRuntimeError parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
QueryRuntimeError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QueryRuntimeError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryRuntimeError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QueryRuntimeError parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
QueryRuntimeError
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryRuntimeError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryRuntimeError
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static QueryRuntimeError parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QueryRuntimeError
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryRuntimeError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryRuntimeError
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static QueryRuntimeError parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
QueryRuntimeError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QueryRuntimeError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryRuntimeError
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<QueryRuntimeError> parser()
Returns
Type Description
Parser<QueryRuntimeError>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public QueryRuntimeError getDefaultInstanceForType()
Returns
Type Description
QueryRuntimeError

getErrorDescription()

public String getErrorDescription()

Error message

string error_description = 2;

Returns
Type Description
String

The errorDescription.

getErrorDescriptionBytes()

public ByteString getErrorDescriptionBytes()

Error message

string error_description = 2;

Returns
Type Description
ByteString

The bytes for errorDescription.

getErrorSeverity()

public QueryRuntimeError.ErrorSeverity getErrorSeverity()

Severity of the error.

.google.cloud.chronicle.v1.QueryRuntimeError.ErrorSeverity error_severity = 3;

Returns
Type Description
QueryRuntimeError.ErrorSeverity

The errorSeverity.

getErrorSeverityValue()

public int getErrorSeverityValue()

Severity of the error.

.google.cloud.chronicle.v1.QueryRuntimeError.ErrorSeverity error_severity = 3;

Returns
Type Description
int

The enum numeric value on the wire for errorSeverity.

getErrorTitle()

public String getErrorTitle()

Short Description of the error.

string error_title = 1;

Returns
Type Description
String

The errorTitle.

getErrorTitleBytes()

public ByteString getErrorTitleBytes()

Short Description of the error.

string error_title = 1;

Returns
Type Description
ByteString

The bytes for errorTitle.

getMetadata(int index)

public QueryRuntimeError.QueryRuntimeErrorMetadata getMetadata(int index)

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Parameter
Name Description
index int
Returns
Type Description
QueryRuntimeError.QueryRuntimeErrorMetadata

getMetadataCount()

public int getMetadataCount()

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Returns
Type Description
int

getMetadataList()

public List<QueryRuntimeError.QueryRuntimeErrorMetadata> getMetadataList()

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Returns
Type Description
List<QueryRuntimeErrorMetadata>

getMetadataOrBuilder(int index)

public QueryRuntimeError.QueryRuntimeErrorMetadataOrBuilder getMetadataOrBuilder(int index)

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Parameter
Name Description
index int
Returns
Type Description
QueryRuntimeError.QueryRuntimeErrorMetadataOrBuilder

getMetadataOrBuilderList()

public List<? extends QueryRuntimeError.QueryRuntimeErrorMetadataOrBuilder> getMetadataOrBuilderList()

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Returns
Type Description
List<? extends com.google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadataOrBuilder>

getParserForType()

public Parser<QueryRuntimeError> getParserForType()
Returns
Type Description
Parser<QueryRuntimeError>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWarningReason()

public QueryRuntimeError.WarningReason getWarningReason()

Reason for the error.

.google.cloud.chronicle.v1.QueryRuntimeError.WarningReason warning_reason = 5;

Returns
Type Description
QueryRuntimeError.WarningReason

The warningReason.

getWarningReasonValue()

public int getWarningReasonValue()

Reason for the error.

.google.cloud.chronicle.v1.QueryRuntimeError.WarningReason warning_reason = 5;

Returns
Type Description
int

The enum numeric value on the wire for warningReason.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public QueryRuntimeError.Builder newBuilderForType()
Returns
Type Description
QueryRuntimeError.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected QueryRuntimeError.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
QueryRuntimeError.Builder
Overrides

toBuilder()

public QueryRuntimeError.Builder toBuilder()
Returns
Type Description
QueryRuntimeError.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException