Send feedback
Class QueryError.Builder (3.23.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.23.0 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueryError . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public QueryError build ()
buildPartial()
public QueryError buildPartial ()
clear()
public QueryError . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public QueryError . Builder clearField ( Descriptors . FieldDescriptor field )
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;
clearMessage()
public QueryError . Builder clearMessage ()
The error message.
string message = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryError . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public QueryError . Builder clone ()
Overrides
getDefaultInstanceForType()
public QueryError getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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;
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;
getLocatorOrBuilder()
public TextLocatorOrBuilder getLocatorOrBuilder ()
The location of the time series query language text that this error applies
to.
.google.monitoring.v3.TextLocator locator = 1;
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 Type Description ByteString
The bytes for message.
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(QueryError other)
public QueryError . Builder mergeFrom ( QueryError other )
public QueryError . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public QueryError . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryError . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public QueryError . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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;
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;
setMessage(String value)
public QueryError . Builder setMessage ( String value )
The error message.
string message = 2;
Parameter Name Description value
String
The message to set.
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.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryError . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryError . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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-21 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-21 UTC."],[],[]]