Class QueryRuntimeError.Builder (0.31.0)

public static final class QueryRuntimeError.Builder extends GeneratedMessage.Builder<QueryRuntimeError.Builder> implements QueryRuntimeErrorOrBuilder

Runtime error for a dashboard query.

Protobuf type google.cloud.chronicle.v1.QueryRuntimeError

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllMetadata(Iterable<? extends QueryRuntimeError.QueryRuntimeErrorMetadata> values)

public QueryRuntimeError.Builder addAllMetadata(Iterable<? extends QueryRuntimeError.QueryRuntimeErrorMetadata> values)

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Parameter
Name Description
values Iterable<? extends com.google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata>
Returns
Type Description
QueryRuntimeError.Builder

addMetadata(QueryRuntimeError.QueryRuntimeErrorMetadata value)

public QueryRuntimeError.Builder addMetadata(QueryRuntimeError.QueryRuntimeErrorMetadata value)

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Parameter
Name Description
value QueryRuntimeError.QueryRuntimeErrorMetadata
Returns
Type Description
QueryRuntimeError.Builder

addMetadata(QueryRuntimeError.QueryRuntimeErrorMetadata.Builder builderForValue)

public QueryRuntimeError.Builder addMetadata(QueryRuntimeError.QueryRuntimeErrorMetadata.Builder builderForValue)

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Parameter
Name Description
builderForValue QueryRuntimeError.QueryRuntimeErrorMetadata.Builder
Returns
Type Description
QueryRuntimeError.Builder

addMetadata(int index, QueryRuntimeError.QueryRuntimeErrorMetadata value)

public QueryRuntimeError.Builder addMetadata(int index, QueryRuntimeError.QueryRuntimeErrorMetadata value)

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Parameters
Name Description
index int
value QueryRuntimeError.QueryRuntimeErrorMetadata
Returns
Type Description
QueryRuntimeError.Builder

addMetadata(int index, QueryRuntimeError.QueryRuntimeErrorMetadata.Builder builderForValue)

public QueryRuntimeError.Builder addMetadata(int index, QueryRuntimeError.QueryRuntimeErrorMetadata.Builder builderForValue)

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Parameters
Name Description
index int
builderForValue QueryRuntimeError.QueryRuntimeErrorMetadata.Builder
Returns
Type Description
QueryRuntimeError.Builder

addMetadataBuilder()

public QueryRuntimeError.QueryRuntimeErrorMetadata.Builder addMetadataBuilder()

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Returns
Type Description
QueryRuntimeError.QueryRuntimeErrorMetadata.Builder

addMetadataBuilder(int index)

public QueryRuntimeError.QueryRuntimeErrorMetadata.Builder addMetadataBuilder(int index)

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Parameter
Name Description
index int
Returns
Type Description
QueryRuntimeError.QueryRuntimeErrorMetadata.Builder

build()

public QueryRuntimeError build()
Returns
Type Description
QueryRuntimeError

buildPartial()

public QueryRuntimeError buildPartial()
Returns
Type Description
QueryRuntimeError

clear()

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

clearErrorDescription()

public QueryRuntimeError.Builder clearErrorDescription()

Error message

string error_description = 2;

Returns
Type Description
QueryRuntimeError.Builder

This builder for chaining.

clearErrorSeverity()

public QueryRuntimeError.Builder clearErrorSeverity()

Severity of the error.

.google.cloud.chronicle.v1.QueryRuntimeError.ErrorSeverity error_severity = 3;

Returns
Type Description
QueryRuntimeError.Builder

This builder for chaining.

clearErrorTitle()

public QueryRuntimeError.Builder clearErrorTitle()

Short Description of the error.

string error_title = 1;

Returns
Type Description
QueryRuntimeError.Builder

This builder for chaining.

clearMetadata()

public QueryRuntimeError.Builder clearMetadata()

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Returns
Type Description
QueryRuntimeError.Builder

clearWarningReason()

public QueryRuntimeError.Builder clearWarningReason()

Reason for the error.

.google.cloud.chronicle.v1.QueryRuntimeError.WarningReason warning_reason = 5;

Returns
Type Description
QueryRuntimeError.Builder

This builder for chaining.

getDefaultInstanceForType()

public QueryRuntimeError getDefaultInstanceForType()
Returns
Type Description
QueryRuntimeError

getDescriptorForType()

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

getErrorDescription()

public String getErrorDescription()

Error message

string error_description = 2;

Returns
Type Description
String

The errorDescription.

getErrorDescriptionBytes()

public ByteString getErrorDescriptionBytes()

Error message

string error_description = 2;

Returns
Type Description
ByteString

The bytes for errorDescription.

getErrorSeverity()

public QueryRuntimeError.ErrorSeverity getErrorSeverity()

Severity of the error.

.google.cloud.chronicle.v1.QueryRuntimeError.ErrorSeverity error_severity = 3;

Returns
Type Description
QueryRuntimeError.ErrorSeverity

The errorSeverity.

getErrorSeverityValue()

public int getErrorSeverityValue()

Severity of the error.

.google.cloud.chronicle.v1.QueryRuntimeError.ErrorSeverity error_severity = 3;

Returns
Type Description
int

The enum numeric value on the wire for errorSeverity.

getErrorTitle()

public String getErrorTitle()

Short Description of the error.

string error_title = 1;

Returns
Type Description
String

The errorTitle.

getErrorTitleBytes()

public ByteString getErrorTitleBytes()

Short Description of the error.

string error_title = 1;

Returns
Type Description
ByteString

The bytes for errorTitle.

getMetadata(int index)

public QueryRuntimeError.QueryRuntimeErrorMetadata getMetadata(int index)

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Parameter
Name Description
index int
Returns
Type Description
QueryRuntimeError.QueryRuntimeErrorMetadata

getMetadataBuilder(int index)

public QueryRuntimeError.QueryRuntimeErrorMetadata.Builder getMetadataBuilder(int index)

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Parameter
Name Description
index int
Returns
Type Description
QueryRuntimeError.QueryRuntimeErrorMetadata.Builder

getMetadataBuilderList()

public List<QueryRuntimeError.QueryRuntimeErrorMetadata.Builder> getMetadataBuilderList()

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Returns
Type Description
List<Builder>

getMetadataCount()

public int getMetadataCount()

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Returns
Type Description
int

getMetadataList()

public List<QueryRuntimeError.QueryRuntimeErrorMetadata> getMetadataList()

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Returns
Type Description
List<QueryRuntimeErrorMetadata>

getMetadataOrBuilder(int index)

public QueryRuntimeError.QueryRuntimeErrorMetadataOrBuilder getMetadataOrBuilder(int index)

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Parameter
Name Description
index int
Returns
Type Description
QueryRuntimeError.QueryRuntimeErrorMetadataOrBuilder

getMetadataOrBuilderList()

public List<? extends QueryRuntimeError.QueryRuntimeErrorMetadataOrBuilder> getMetadataOrBuilderList()

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Returns
Type Description
List<? extends com.google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadataOrBuilder>

getWarningReason()

public QueryRuntimeError.WarningReason getWarningReason()

Reason for the error.

.google.cloud.chronicle.v1.QueryRuntimeError.WarningReason warning_reason = 5;

Returns
Type Description
QueryRuntimeError.WarningReason

The warningReason.

getWarningReasonValue()

public int getWarningReasonValue()

Reason for the error.

.google.cloud.chronicle.v1.QueryRuntimeError.WarningReason warning_reason = 5;

Returns
Type Description
int

The enum numeric value on the wire for warningReason.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueryRuntimeError other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeMetadata(int index)

public QueryRuntimeError.Builder removeMetadata(int index)

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Parameter
Name Description
index int
Returns
Type Description
QueryRuntimeError.Builder

setErrorDescription(String value)

public QueryRuntimeError.Builder setErrorDescription(String value)

Error message

string error_description = 2;

Parameter
Name Description
value String

The errorDescription to set.

Returns
Type Description
QueryRuntimeError.Builder

This builder for chaining.

setErrorDescriptionBytes(ByteString value)

public QueryRuntimeError.Builder setErrorDescriptionBytes(ByteString value)

Error message

string error_description = 2;

Parameter
Name Description
value ByteString

The bytes for errorDescription to set.

Returns
Type Description
QueryRuntimeError.Builder

This builder for chaining.

setErrorSeverity(QueryRuntimeError.ErrorSeverity value)

public QueryRuntimeError.Builder setErrorSeverity(QueryRuntimeError.ErrorSeverity value)

Severity of the error.

.google.cloud.chronicle.v1.QueryRuntimeError.ErrorSeverity error_severity = 3;

Parameter
Name Description
value QueryRuntimeError.ErrorSeverity

The errorSeverity to set.

Returns
Type Description
QueryRuntimeError.Builder

This builder for chaining.

setErrorSeverityValue(int value)

public QueryRuntimeError.Builder setErrorSeverityValue(int value)

Severity of the error.

.google.cloud.chronicle.v1.QueryRuntimeError.ErrorSeverity error_severity = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for errorSeverity to set.

Returns
Type Description
QueryRuntimeError.Builder

This builder for chaining.

setErrorTitle(String value)

public QueryRuntimeError.Builder setErrorTitle(String value)

Short Description of the error.

string error_title = 1;

Parameter
Name Description
value String

The errorTitle to set.

Returns
Type Description
QueryRuntimeError.Builder

This builder for chaining.

setErrorTitleBytes(ByteString value)

public QueryRuntimeError.Builder setErrorTitleBytes(ByteString value)

Short Description of the error.

string error_title = 1;

Parameter
Name Description
value ByteString

The bytes for errorTitle to set.

Returns
Type Description
QueryRuntimeError.Builder

This builder for chaining.

setMetadata(int index, QueryRuntimeError.QueryRuntimeErrorMetadata value)

public QueryRuntimeError.Builder setMetadata(int index, QueryRuntimeError.QueryRuntimeErrorMetadata value)

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Parameters
Name Description
index int
value QueryRuntimeError.QueryRuntimeErrorMetadata
Returns
Type Description
QueryRuntimeError.Builder

setMetadata(int index, QueryRuntimeError.QueryRuntimeErrorMetadata.Builder builderForValue)

public QueryRuntimeError.Builder setMetadata(int index, QueryRuntimeError.QueryRuntimeErrorMetadata.Builder builderForValue)

Metadata for the error.

repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;

Parameters
Name Description
index int
builderForValue QueryRuntimeError.QueryRuntimeErrorMetadata.Builder
Returns
Type Description
QueryRuntimeError.Builder

setWarningReason(QueryRuntimeError.WarningReason value)

public QueryRuntimeError.Builder setWarningReason(QueryRuntimeError.WarningReason value)

Reason for the error.

.google.cloud.chronicle.v1.QueryRuntimeError.WarningReason warning_reason = 5;

Parameter
Name Description
value QueryRuntimeError.WarningReason

The warningReason to set.

Returns
Type Description
QueryRuntimeError.Builder

This builder for chaining.

setWarningReasonValue(int value)

public QueryRuntimeError.Builder setWarningReasonValue(int value)

Reason for the error.

.google.cloud.chronicle.v1.QueryRuntimeError.WarningReason warning_reason = 5;

Parameter
Name Description
value int

The enum numeric value on the wire for warningReason to set.

Returns
Type Description
QueryRuntimeError.Builder

This builder for chaining.