Send feedback
Class QueryError.Builder (3.2.9)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.2.9 keyboard_arrow_down
public static final class QueryError . Builder extends GeneratedMessageV3 . Builder<QueryError . Builder > implements QueryErrorOrBuilder
An error associated with a query in the time series query language format.
Protobuf type google.monitoring.v3.QueryError
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueryError . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public QueryError build ()
Returns
buildPartial()
public QueryError buildPartial ()
Returns
clear()
public QueryError . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public QueryError . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearLocator()
public QueryError . Builder clearLocator ()
The location of the time series query language text that this error applies
to.
.google.monitoring.v3.TextLocator locator = 1;
Returns
clearMessage()
public QueryError . Builder clearMessage ()
The error message.
string message = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryError . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public QueryError . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public QueryError getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
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
getLocatorBuilder()
public TextLocator . Builder getLocatorBuilder ()
The location of the time series query language text that this error applies
to.
.google.monitoring.v3.TextLocator locator = 1;
Returns
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
getMessage()
public String getMessage ()
The error message.
string message = 2;
Returns
Type Description String The message.
getMessageBytes()
public ByteString getMessageBytes ()
The error message.
string message = 2;
Returns
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
Type Description boolean Whether the locator field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(QueryError other)
public QueryError . Builder mergeFrom ( QueryError other )
Parameter
Returns
public QueryError . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public QueryError . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeLocator(TextLocator value)
public QueryError . Builder mergeLocator ( TextLocator value )
The location of the time series query language text that this error applies
to.
.google.monitoring.v3.TextLocator locator = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryError . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public QueryError . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setLocator(TextLocator value)
public QueryError . Builder setLocator ( TextLocator value )
The location of the time series query language text that this error applies
to.
.google.monitoring.v3.TextLocator locator = 1;
Parameter
Returns
setLocator(TextLocator.Builder builderForValue)
public QueryError . Builder setLocator ( TextLocator . Builder builderForValue )
The location of the time series query language text that this error applies
to.
.google.monitoring.v3.TextLocator locator = 1;
Parameter
Returns
setMessage(String value)
public QueryError . Builder setMessage ( String value )
The error message.
string message = 2;
Parameter
Name Description value String
The message to set.
Returns
setMessageBytes(ByteString value)
public QueryError . Builder setMessageBytes ( ByteString value )
The error message.
string message = 2;
Parameter
Name Description value ByteString
The bytes for message to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryError . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryError . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]