Interface GetRuleRequestOrBuilder (0.2.0)

public interface GetRuleRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. The name of the rule to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name of the rule to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}

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

Returns
Type Description
ByteString

The bytes for name.

getView()

public abstract RuleView getView()

The view field indicates the scope of fields to populate for the Rule being returned. If unspecified, defaults to FULL.

.google.cloud.chronicle.v1.RuleView view = 2;

Returns
Type Description
RuleView

The view.

getViewValue()

public abstract int getViewValue()

The view field indicates the scope of fields to populate for the Rule being returned. If unspecified, defaults to FULL.

.google.cloud.chronicle.v1.RuleView view = 2;

Returns
Type Description
int

The enum numeric value on the wire for view.