Class RuleExecutionError (0.32.0)

public final class RuleExecutionError extends GeneratedMessage implements RuleExecutionErrorOrBuilder

The RuleExecutionError resource represents an error generated from running/deploying a rule.

Protobuf type google.cloud.chronicle.v1.RuleExecutionError

Static Fields

CURATED_RULE_FIELD_NUMBER

public static final int CURATED_RULE_FIELD_NUMBER
Field Value
Type Description
int

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

RULE_FIELD_NUMBER

public static final int RULE_FIELD_NUMBER
Field Value
Type Description
int

TIME_RANGE_FIELD_NUMBER

public static final int TIME_RANGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RuleExecutionError getDefaultInstance()
Returns
Type Description
RuleExecutionError

getDescriptor()

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

newBuilder()

public static RuleExecutionError.Builder newBuilder()
Returns
Type Description
RuleExecutionError.Builder

newBuilder(RuleExecutionError prototype)

public static RuleExecutionError.Builder newBuilder(RuleExecutionError prototype)
Parameter
Name Description
prototype RuleExecutionError
Returns
Type Description
RuleExecutionError.Builder

parseDelimitedFrom(InputStream input)

public static RuleExecutionError parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RuleExecutionError
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuleExecutionError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleExecutionError
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RuleExecutionError parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RuleExecutionError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RuleExecutionError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleExecutionError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RuleExecutionError parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RuleExecutionError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RuleExecutionError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleExecutionError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RuleExecutionError parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RuleExecutionError
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RuleExecutionError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleExecutionError
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RuleExecutionError parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RuleExecutionError
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuleExecutionError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleExecutionError
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RuleExecutionError parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RuleExecutionError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RuleExecutionError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleExecutionError
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RuleExecutionError> parser()
Returns
Type Description
Parser<RuleExecutionError>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCuratedRule()

public String getCuratedRule()

Output only. The resource name of the curated rule that generated the rule execution error.

string curated_rule = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The curatedRule.

getCuratedRuleBytes()

public ByteString getCuratedRuleBytes()

Output only. The resource name of the curated rule that generated the rule execution error.

string curated_rule = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for curatedRule.

getDefaultInstanceForType()

public RuleExecutionError getDefaultInstanceForType()
Returns
Type Description
RuleExecutionError

getError()

public Status getError()

Output only. The error status corresponding with the rule execution error.

.google.rpc.Status error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status

The error.

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Output only. The error status corresponding with the rule execution error.

.google.rpc.Status error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.StatusOrBuilder

getName()

public String getName()

Output only. The resource name of the rule execution error. Format: projects/{project}/locations/{location}/instances/{instance}/ruleExecutionErrors/{rule_execution_error}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name of the rule execution error. Format: projects/{project}/locations/{location}/instances/{instance}/ruleExecutionErrors/{rule_execution_error}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<RuleExecutionError> getParserForType()
Returns
Type Description
Parser<RuleExecutionError>
Overrides

getRule()

public String getRule()

Output only. The resource name of the rule that generated the rule execution error.

string rule = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The rule.

getRuleBytes()

public ByteString getRuleBytes()

Output only. The resource name of the rule that generated the rule execution error.

string rule = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for rule.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceCase()

public RuleExecutionError.SourceCase getSourceCase()
Returns
Type Description
RuleExecutionError.SourceCase

getTimeRange()

public Interval getTimeRange()

Output only. The event time range that the rule execution error corresponds with.

.google.type.Interval time_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.Interval

The timeRange.

getTimeRangeOrBuilder()

public IntervalOrBuilder getTimeRangeOrBuilder()

Output only. The event time range that the rule execution error corresponds with.

.google.type.Interval time_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.IntervalOrBuilder

hasCuratedRule()

public boolean hasCuratedRule()

Output only. The resource name of the curated rule that generated the rule execution error.

string curated_rule = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the curatedRule field is set.

hasError()

public boolean hasError()

Output only. The error status corresponding with the rule execution error.

.google.rpc.Status error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the error field is set.

hasRule()

public boolean hasRule()

Output only. The resource name of the rule that generated the rule execution error.

string rule = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the rule field is set.

hasTimeRange()

public boolean hasTimeRange()

Output only. The event time range that the rule execution error corresponds with.

.google.type.Interval time_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the timeRange field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RuleExecutionError.Builder newBuilderForType()
Returns
Type Description
RuleExecutionError.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected RuleExecutionError.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RuleExecutionError.Builder
Overrides

toBuilder()

public RuleExecutionError.Builder toBuilder()
Returns
Type Description
RuleExecutionError.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException