Class QueryErrorList.Builder (3.23.0)

public static final class QueryErrorList.Builder extends GeneratedMessageV3.Builder<QueryErrorList.Builder> implements QueryErrorListOrBuilder

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

Protobuf type google.monitoring.v3.QueryErrorList

Static Methods

getDescriptor()

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

Methods

addAllErrors(Iterable<? extends QueryError> values)

public QueryErrorList.Builder addAllErrors(Iterable<? extends QueryError> values)

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
valuesIterable<? extends com.google.monitoring.v3.QueryError>
Returns
TypeDescription
QueryErrorList.Builder

addErrors(QueryError value)

public QueryErrorList.Builder addErrors(QueryError value)

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
valueQueryError
Returns
TypeDescription
QueryErrorList.Builder

addErrors(QueryError.Builder builderForValue)

public QueryErrorList.Builder addErrors(QueryError.Builder builderForValue)

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
builderForValueQueryError.Builder
Returns
TypeDescription
QueryErrorList.Builder

addErrors(int index, QueryError value)

public QueryErrorList.Builder addErrors(int index, QueryError value)

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;

Parameters
NameDescription
indexint
valueQueryError
Returns
TypeDescription
QueryErrorList.Builder

addErrors(int index, QueryError.Builder builderForValue)

public QueryErrorList.Builder addErrors(int index, QueryError.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueQueryError.Builder
Returns
TypeDescription
QueryErrorList.Builder

addErrorsBuilder()

public QueryError.Builder addErrorsBuilder()

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
QueryError.Builder

addErrorsBuilder(int index)

public QueryError.Builder addErrorsBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueryErrorList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
QueryErrorList.Builder
Overrides

build()

public QueryErrorList build()
Returns
TypeDescription
QueryErrorList

buildPartial()

public QueryErrorList buildPartial()
Returns
TypeDescription
QueryErrorList

clear()

public QueryErrorList.Builder clear()
Returns
TypeDescription
QueryErrorList.Builder
Overrides

clearErrorSummary()

public QueryErrorList.Builder clearErrorSummary()

A summary of all the errors.

string error_summary = 2;

Returns
TypeDescription
QueryErrorList.Builder

This builder for chaining.

clearErrors()

public QueryErrorList.Builder clearErrors()

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
QueryErrorList.Builder

clearField(Descriptors.FieldDescriptor field)

public QueryErrorList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
QueryErrorList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public QueryErrorList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
QueryErrorList.Builder
Overrides

clone()

public QueryErrorList.Builder clone()
Returns
TypeDescription
QueryErrorList.Builder
Overrides

getDefaultInstanceForType()

public QueryErrorList getDefaultInstanceForType()
Returns
TypeDescription
QueryErrorList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

getErrorsBuilder(int index)

public QueryError.Builder getErrorsBuilder(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.Builder

getErrorsBuilderList()

public List<QueryError.Builder> getErrorsBuilderList()

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<Builder>

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(QueryErrorList other)

public QueryErrorList.Builder mergeFrom(QueryErrorList other)
Parameter
NameDescription
otherQueryErrorList
Returns
TypeDescription
QueryErrorList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueryErrorList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryErrorList.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public QueryErrorList.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
QueryErrorList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueryErrorList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
QueryErrorList.Builder
Overrides

removeErrors(int index)

public QueryErrorList.Builder removeErrors(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
QueryErrorList.Builder

setErrorSummary(String value)

public QueryErrorList.Builder setErrorSummary(String value)

A summary of all the errors.

string error_summary = 2;

Parameter
NameDescription
valueString

The errorSummary to set.

Returns
TypeDescription
QueryErrorList.Builder

This builder for chaining.

setErrorSummaryBytes(ByteString value)

public QueryErrorList.Builder setErrorSummaryBytes(ByteString value)

A summary of all the errors.

string error_summary = 2;

Parameter
NameDescription
valueByteString

The bytes for errorSummary to set.

Returns
TypeDescription
QueryErrorList.Builder

This builder for chaining.

setErrors(int index, QueryError value)

public QueryErrorList.Builder setErrors(int index, QueryError value)

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;

Parameters
NameDescription
indexint
valueQueryError
Returns
TypeDescription
QueryErrorList.Builder

setErrors(int index, QueryError.Builder builderForValue)

public QueryErrorList.Builder setErrors(int index, QueryError.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueQueryError.Builder
Returns
TypeDescription
QueryErrorList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public QueryErrorList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
QueryErrorList.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public QueryErrorList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
QueryErrorList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final QueryErrorList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
QueryErrorList.Builder
Overrides