Class CreateIngressRuleRequest.Builder (2.46.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateIngressRuleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateIngressRuleRequest.Builder
Overrides

build()

public CreateIngressRuleRequest build()
Returns
Type Description
CreateIngressRuleRequest

buildPartial()

public CreateIngressRuleRequest buildPartial()
Returns
Type Description
CreateIngressRuleRequest

clear()

public CreateIngressRuleRequest.Builder clear()
Returns
Type Description
CreateIngressRuleRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateIngressRuleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateIngressRuleRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateIngressRuleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
CreateIngressRuleRequest.Builder

clone()

public CreateIngressRuleRequest.Builder clone()
Returns
Type Description
CreateIngressRuleRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateIngressRuleRequest getDefaultInstanceForType()
Returns
Type Description
CreateIngressRuleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
FirewallRule

The rule.

getRuleBuilder()

public FirewallRule.Builder getRuleBuilder()

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
Type Description
FirewallRule.Builder

getRuleOrBuilder()

public FirewallRuleOrBuilder getRuleOrBuilder()

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
Type Description
FirewallRuleOrBuilder

hasRule()

public boolean hasRule()

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
Type Description
boolean

Whether the rule field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateIngressRuleRequest other)

public CreateIngressRuleRequest.Builder mergeFrom(CreateIngressRuleRequest other)
Parameter
Name Description
other CreateIngressRuleRequest
Returns
Type Description
CreateIngressRuleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateIngressRuleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateIngressRuleRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateIngressRuleRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateIngressRuleRequest.Builder
Overrides

mergeRule(FirewallRule value)

public CreateIngressRuleRequest.Builder mergeRule(FirewallRule value)

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;

Parameter
Name Description
value FirewallRule
Returns
Type Description
CreateIngressRuleRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateIngressRuleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateIngressRuleRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateIngressRuleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateIngressRuleRequest.Builder
Overrides

setParent(String value)

public CreateIngressRuleRequest.Builder setParent(String value)

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

string parent = 1;

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateIngressRuleRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateIngressRuleRequest.Builder setParentBytes(ByteString value)

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

string parent = 1;

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateIngressRuleRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateIngressRuleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateIngressRuleRequest.Builder
Overrides

setRule(FirewallRule value)

public CreateIngressRuleRequest.Builder setRule(FirewallRule value)

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;

Parameter
Name Description
value FirewallRule
Returns
Type Description
CreateIngressRuleRequest.Builder

setRule(FirewallRule.Builder builderForValue)

public CreateIngressRuleRequest.Builder setRule(FirewallRule.Builder builderForValue)

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;

Parameter
Name Description
builderForValue FirewallRule.Builder
Returns
Type Description
CreateIngressRuleRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateIngressRuleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateIngressRuleRequest.Builder
Overrides