Interface CreateRuleRequestOrBuilder (1.54.0)

public interface CreateRuleRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The name of the parent resource where the rule will be created.

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 name of the parent resource where the rule will be created.

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

The rule to be created.

.google.devtools.artifactregistry.v1.Rule rule = 3;

Returns
Type Description
Rule

The rule.

getRuleId()

public abstract String getRuleId()

The rule id to use for this repository.

string rule_id = 2;

Returns
Type Description
String

The ruleId.

getRuleIdBytes()

public abstract ByteString getRuleIdBytes()

The rule id to use for this repository.

string rule_id = 2;

Returns
Type Description
ByteString

The bytes for ruleId.

getRuleOrBuilder()

public abstract RuleOrBuilder getRuleOrBuilder()

The rule to be created.

.google.devtools.artifactregistry.v1.Rule rule = 3;

Returns
Type Description
RuleOrBuilder

hasRule()

public abstract boolean hasRule()

The rule to be created.

.google.devtools.artifactregistry.v1.Rule rule = 3;

Returns
Type Description
boolean

Whether the rule field is set.