Class QueryError (3.4.1)

public final class QueryError extends GeneratedMessageV3 implements QueryErrorOrBuilder

An error associated with a query in the time series query language format.

Protobuf type google.monitoring.v3.QueryError

Implements

QueryErrorOrBuilder

Static Fields

LOCATOR_FIELD_NUMBER

public static final int LOCATOR_FIELD_NUMBER
Field Value
TypeDescription
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static QueryError getDefaultInstance()
Returns
TypeDescription
QueryError

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static QueryError.Builder newBuilder()
Returns
TypeDescription
QueryError.Builder

newBuilder(QueryError prototype)

public static QueryError.Builder newBuilder(QueryError prototype)
Parameter
NameDescription
prototypeQueryError
Returns
TypeDescription
QueryError.Builder

parseDelimitedFrom(InputStream input)

public static QueryError parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QueryError
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryError
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static QueryError parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
QueryError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QueryError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QueryError parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
QueryError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QueryError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QueryError parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
QueryError
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryError
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static QueryError parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QueryError
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryError
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static QueryError parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
QueryError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QueryError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryError
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<QueryError> parser()
Returns
TypeDescription
Parser<QueryError>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public QueryError getDefaultInstanceForType()
Returns
TypeDescription
QueryError

getLocator()

public TextLocator getLocator()

The location of the time series query language text that this error applies to.

.google.monitoring.v3.TextLocator locator = 1;

Returns
TypeDescription
TextLocator

The locator.

getLocatorOrBuilder()

public TextLocatorOrBuilder getLocatorOrBuilder()

The location of the time series query language text that this error applies to.

.google.monitoring.v3.TextLocator locator = 1;

Returns
TypeDescription
TextLocatorOrBuilder

getMessage()

public String getMessage()

The error message.

string message = 2;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

The error message.

string message = 2;

Returns
TypeDescription
ByteString

The bytes for message.

getParserForType()

public Parser<QueryError> getParserForType()
Returns
TypeDescription
Parser<QueryError>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasLocator()

public boolean hasLocator()

The location of the time series query language text that this error applies to.

.google.monitoring.v3.TextLocator locator = 1;

Returns
TypeDescription
boolean

Whether the locator field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public QueryError.Builder newBuilderForType()
Returns
TypeDescription
QueryError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QueryError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
QueryError.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public QueryError.Builder toBuilder()
Returns
TypeDescription
QueryError.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException