Class QueryErrorList (3.48.0)

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
Type Description
int

ERROR_SUMMARY_FIELD_NUMBER

public static final int ERROR_SUMMARY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static QueryErrorList getDefaultInstance()
Returns
Type Description
QueryErrorList

getDescriptor()

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

newBuilder()

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

newBuilder(QueryErrorList prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public QueryErrorList getDefaultInstanceForType()
Returns
Type Description
QueryErrorList

getErrorSummary()

public String getErrorSummary()

A summary of all the errors.

string error_summary = 2;

Returns
Type Description
String

The errorSummary.

getErrorSummaryBytes()

public ByteString getErrorSummaryBytes()

A summary of all the errors.

string error_summary = 2;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.monitoring.v3.QueryErrorOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QueryErrorList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
QueryErrorList.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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