Class CreateIngressRuleRequest.Builder (2.41.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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

publicCreateIngressRuleRequestbuild()
Returns
Type Description
CreateIngressRuleRequest

buildPartial()

publicCreateIngressRuleRequestbuildPartial()
Returns
Type Description
CreateIngressRuleRequest

clear()

publicCreateIngressRuleRequest.Builderclear()
Returns
Type Description
CreateIngressRuleRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicCreateIngressRuleRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateIngressRuleRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

publicCreateIngressRuleRequest.Builderclone()
Returns
Type Description
CreateIngressRuleRequest.Builder
Overrides

getDefaultInstanceForType()

publicCreateIngressRuleRequestgetDefaultInstanceForType()
Returns
Type Description
CreateIngressRuleRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
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
FirewallRule.Builder

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
FirewallRuleOrBuilder

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
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateIngressRuleRequest other)

publicCreateIngressRuleRequest.BuildermergeFrom(CreateIngressRuleRequestother)
Parameter
Name Description
other CreateIngressRuleRequest
Returns
Type Description
CreateIngressRuleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicCreateIngressRuleRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateIngressRuleRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicCreateIngressRuleRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
CreateIngressRuleRequest.Builder
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
CreateIngressRuleRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

publicCreateIngressRuleRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateIngressRuleRequest.Builder
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
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateIngressRuleRequest.Builder
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
CreateIngressRuleRequest.Builder

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
CreateIngressRuleRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalCreateIngressRuleRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateIngressRuleRequest.Builder
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.