Interface CreateRuleRequestOrBuilder (0.2.0)

public interface CreateRuleRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The parent resource where this rule will be created. Format: projects/{project}/locations/{location}/instances/{instance}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent resource where this rule will be created. Format: projects/{project}/locations/{location}/instances/{instance}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRule()

public abstract Rule getRule()

Required. The rule to create.

.google.cloud.chronicle.v1.Rule rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Rule

The rule.

getRuleOrBuilder()

public abstract RuleOrBuilder getRuleOrBuilder()

Required. The rule to create.

.google.cloud.chronicle.v1.Rule rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RuleOrBuilder

hasRule()

public abstract boolean hasRule()

Required. The rule to create.

.google.cloud.chronicle.v1.Rule rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the rule field is set.