Class CreateIngressRuleRequest.Builder (2.11.0)

publicstaticfinalclass CreateIngressRuleRequest.BuilderextendsGeneratedMessageV3.Builder<CreateIngressRuleRequest.Builder>implementsCreateIngressRuleRequestOrBuilder

Request message for Firewall.CreateIngressRule.

Protobuf type google.appengine.v1.CreateIngressRuleRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicCreateIngressRuleRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

build()

publicCreateIngressRuleRequestbuild()
Returns
Type Description

buildPartial()

publicCreateIngressRuleRequestbuildPartial()
Returns
Type Description

clear()

publicCreateIngressRuleRequest.Builderclear()
Returns
Type Description
Overrides

clearField(Descriptors.FieldDescriptor field)

publicCreateIngressRuleRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
Returns
Type Description
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicCreateIngressRuleRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
Returns
Type Description
Overrides

clearParent()

publicCreateIngressRuleRequest.BuilderclearParent()

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

publicCreateIngressRuleRequest.BuilderclearRule()

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

clone()

publicCreateIngressRuleRequest.Builderclone()
Returns
Type Description
Overrides

getDefaultInstanceForType()

publicCreateIngressRuleRequestgetDefaultInstanceForType()
Returns
Type Description

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Overrides

getParent()

publicStringgetParent()

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

publicByteStringgetParentBytes()

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

publicFirewallRulegetRule()

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

publicFirewallRule.BuildergetRuleBuilder()

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

getRuleOrBuilder()

publicFirewallRuleOrBuildergetRuleOrBuilder()

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

hasRule()

publicbooleanhasRule()

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

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

mergeFrom(CreateIngressRuleRequest other)

publicCreateIngressRuleRequest.BuildermergeFrom(CreateIngressRuleRequestother)
Parameter
Name Description
Returns
Type Description

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicCreateIngressRuleRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overrides Exceptions
Type Description

mergeFrom(Message other)

publicCreateIngressRuleRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Overrides

mergeRule(FirewallRule value)

publicCreateIngressRuleRequest.BuildermergeRule(FirewallRulevalue)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalCreateIngressRuleRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicCreateIngressRuleRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

setParent(String value)

publicCreateIngressRuleRequest.BuildersetParent(Stringvalue)

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)

publicCreateIngressRuleRequest.BuildersetParentBytes(ByteStringvalue)

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)

publicCreateIngressRuleRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
index int
value Object
Returns
Type Description
Overrides

setRule(FirewallRule value)

publicCreateIngressRuleRequest.BuildersetRule(FirewallRulevalue)

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

setRule(FirewallRule.Builder builderForValue)

publicCreateIngressRuleRequest.BuildersetRule(FirewallRule.BuilderbuilderForValue)

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

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalCreateIngressRuleRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.