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()
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