Class CreateIngressRuleRequest.Builder (2.6.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class CreateIngressRuleRequest.Builder extends GeneratedMessageV3.Builder<CreateIngressRuleRequest.Builder> implements CreateIngressRuleRequestOrBuilder

Request message for Firewall.CreateIngressRule.

Protobuf type google.appengine.v1.CreateIngressRuleRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateIngressRuleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateIngressRuleRequest.Builder
Overrides

build()

public CreateIngressRuleRequest build()
Returns
TypeDescription
CreateIngressRuleRequest

buildPartial()

public CreateIngressRuleRequest buildPartial()
Returns
TypeDescription
CreateIngressRuleRequest

clear()

public CreateIngressRuleRequest.Builder clear()
Returns
TypeDescription
CreateIngressRuleRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateIngressRuleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateIngressRuleRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateIngressRuleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateIngressRuleRequest.Builder
Overrides

clearParent()

public CreateIngressRuleRequest.Builder clearParent()

Name of the parent Firewall collection in which to create a new rule. Example: apps/myapp/firewall/ingressRules.

string parent = 1;

Returns
TypeDescription
CreateIngressRuleRequest.Builder

This builder for chaining.

clearRule()

public CreateIngressRuleRequest.Builder clearRule()

A FirewallRule containing the new resource. The user may optionally provide a position at which the new rule will be placed. The positions define a sequential list starting at 1. If a rule already exists at the given position, rules greater than the provided position will be moved forward by one. If no position is provided, the server will place the rule as the second to last rule in the sequence before the required default allow-all or deny-all rule.

.google.appengine.v1.FirewallRule rule = 2;

Returns
TypeDescription
CreateIngressRuleRequest.Builder

clone()

public CreateIngressRuleRequest.Builder clone()
Returns
TypeDescription
CreateIngressRuleRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateIngressRuleRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateIngressRuleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Name of the parent Firewall collection in which to create a new rule. Example: apps/myapp/firewall/ingressRules.

string parent = 1;

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Name of the parent Firewall collection in which to create a new rule. Example: apps/myapp/firewall/ingressRules.

string parent = 1;

Returns
TypeDescription
ByteString

The bytes for parent.

getRule()

public FirewallRule getRule()

A FirewallRule containing the new resource. The user may optionally provide a position at which the new rule will be placed. The positions define a sequential list starting at 1. If a rule already exists at the given position, rules greater than the provided position will be moved forward by one. If no position is provided, the server will place the rule as the second to last rule in the sequence before the required default allow-all or deny-all rule.

.google.appengine.v1.FirewallRule rule = 2;

Returns
TypeDescription
FirewallRule

The rule.

getRuleBuilder()

public FirewallRule.Builder getRuleBuilder()