Class QueryErrorList (3.4.4)

public final class QueryErrorList extends GeneratedMessageV3 implements QueryErrorListOrBuilder

This is an error detail intended to be used with INVALID_ARGUMENT errors.

Protobuf type google.monitoring.v3.QueryErrorList

Static Fields

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

ERROR_SUMMARY_FIELD_NUMBER

public static final int ERROR_SUMMARY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static QueryErrorList getDefaultInstance()
Returns
TypeDescription
QueryErrorList

getDescriptor()

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

newBuilder()

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

newBuilder(QueryErrorList prototype)

public static QueryErrorList.Builder newBuilder(QueryErrorList prototype)
Parameter
NameDescription
prototypeQueryErrorList
Returns
TypeDescription
QueryErrorList.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public QueryErrorList getDefaultInstanceForType()
Returns
TypeDescription
QueryErrorList

getErrorSummary()

public String getErrorSummary()

A summary of all the errors.

string error_summary = 2;

Returns
TypeDescription
String

The errorSummary.

getErrorSummaryBytes()

public ByteString getErrorSummaryBytes()

A summary of all the errors.

string error_summary = 2;

Returns
TypeDescription
ByteString

The bytes for errorSummary.

getErrors(int index)

public QueryError getErrors(int index)

Errors in parsing the time series query language text. The number of errors in the response may be limited.

repeated .google.monitoring.v3.QueryError errors = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
QueryError

getErrorsCount()

public int getErrorsCount()

Errors in parsing the time series query language text. The number of errors in the response may be limited.

repeated .google.monitoring.v3.QueryError errors = 1;

Returns
TypeDescription
int

getErrorsList()

public List<QueryError> getErrorsList()

Errors in parsing the time series query language text. The number of errors in the response may be limited.

repeated .google.monitoring.v3.QueryError errors = 1;

Returns
TypeDescription
List<QueryError>

getErrorsOrBuilder(int index)

public QueryErrorOrBuilder getErrorsOrBuilder(int index)

Errors in parsing the time series query language text. The number of errors in the response may be limited.

repeated .google.monitoring.v3.QueryError errors = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
QueryErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends QueryErrorOrBuilder> getErrorsOrBuilderList()

Errors in parsing the time series query language text. The number of errors in the response may be limited.

repeated .google.monitoring.v3.QueryError errors = 1;

Returns
TypeDescription
List<? extends com.google.monitoring.v3.QueryErrorOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 QueryErrorList.Builder newBuilderForType()
Returns
TypeDescription
QueryErrorList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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