Class QueryErrorList.Builder (3.55.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
Type Description
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
Name Description
values Iterable<? extends com.google.monitoring.v3.QueryError>
Returns
Type Description
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
Name Description
value QueryError
Returns
Type Description
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
Name Description
builderForValue QueryError.Builder
Returns
Type Description
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
Name Description
index int
value QueryError
Returns
Type Description
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
Name Description
index int
builderForValue QueryError.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
QueryError.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueryErrorList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueryErrorList.Builder
Overrides

build()

public QueryErrorList build()
Returns
Type Description
QueryErrorList

buildPartial()

public QueryErrorList buildPartial()
Returns
Type Description
QueryErrorList

clear()

public QueryErrorList.Builder clear()
Returns
Type Description
QueryErrorList.Builder
Overrides

clearErrorSummary()

public QueryErrorList.Builder clearErrorSummary()

A summary of all the errors.

string error_summary = 2;

Returns
Type Description
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
Type Description
QueryErrorList.Builder

clearField(Descriptors.FieldDescriptor field)

public QueryErrorList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
QueryErrorList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public QueryErrorList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
QueryErrorList.Builder
Overrides

clone()

public QueryErrorList.Builder clone()
Returns
Type Description
QueryErrorList.Builder
Overrides

getDefaultInstanceForType()

public QueryErrorList getDefaultInstanceForType()
Returns
Type Description
QueryErrorList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

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
Name Description
index int
Returns
Type Description
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
Type Description
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
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>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueryErrorList other)

public QueryErrorList.Builder mergeFrom(QueryErrorList other)
Parameter
Name Description
other QueryErrorList
Returns
Type Description
QueryErrorList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueryErrorList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryErrorList.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public QueryErrorList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
QueryErrorList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueryErrorList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
QueryErrorList.Builder

setErrorSummary(String value)

public QueryErrorList.Builder setErrorSummary(String value)

A summary of all the errors.

string error_summary = 2;

Parameter
Name Description
value String

The errorSummary to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for errorSummary to set.

Returns
Type Description
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
Name Description
index int
value QueryError
Returns
Type Description
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
Name Description
index int
builderForValue QueryError.Builder
Returns
Type Description
QueryErrorList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public QueryErrorList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueryErrorList.Builder
Overrides

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

public QueryErrorList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
QueryErrorList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final QueryErrorList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueryErrorList.Builder
Overrides