Class CreateIngressRuleRequest (2.30.0)

publicfinalclass CreateIngressRuleRequestextendsGeneratedMessageV3implementsCreateIngressRuleRequestOrBuilder

Request message for Firewall.CreateIngressRule.

Protobuf type google.appengine.v1.CreateIngressRuleRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)

Static Fields

PARENT_FIELD_NUMBER

publicstaticfinalintPARENT_FIELD_NUMBER
Field Value
Type Description
int

RULE_FIELD_NUMBER

publicstaticfinalintRULE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticCreateIngressRuleRequestgetDefaultInstance()
Returns
Type Description
CreateIngressRuleRequest

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticCreateIngressRuleRequest.BuildernewBuilder()
Returns
Type Description
CreateIngressRuleRequest.Builder

newBuilder(CreateIngressRuleRequest prototype)

publicstaticCreateIngressRuleRequest.BuildernewBuilder(CreateIngressRuleRequestprototype)
Parameter
Name Description
prototype CreateIngressRuleRequest
Returns
Type Description
CreateIngressRuleRequest.Builder

parseDelimitedFrom(InputStream input)

publicstaticCreateIngressRuleRequestparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateIngressRuleRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCreateIngressRuleRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateIngressRuleRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticCreateIngressRuleRequestparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateIngressRuleRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticCreateIngressRuleRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateIngressRuleRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticCreateIngressRuleRequestparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateIngressRuleRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticCreateIngressRuleRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateIngressRuleRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticCreateIngressRuleRequestparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateIngressRuleRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCreateIngressRuleRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateIngressRuleRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticCreateIngressRuleRequestparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateIngressRuleRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCreateIngressRuleRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateIngressRuleRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticCreateIngressRuleRequestparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateIngressRuleRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticCreateIngressRuleRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateIngressRuleRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<CreateIngressRuleRequest>parser()
Returns
Type Description
Parser<CreateIngressRuleRequest>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicCreateIngressRuleRequestgetDefaultInstanceForType()
Returns
Type Description
CreateIngressRuleRequest

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.

getParserForType()

publicParser<CreateIngressRuleRequest>getParserForType()
Returns
Type Description
Parser<CreateIngressRuleRequest>
Overrides

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.

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

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicCreateIngressRuleRequest.BuildernewBuilderForType()
Returns
Type Description
CreateIngressRuleRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedCreateIngressRuleRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateIngressRuleRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicCreateIngressRuleRequest.BuildertoBuilder()
Returns
Type Description
CreateIngressRuleRequest.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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.