public static final class CreateIngressRuleRequest.Builder extends GeneratedMessageV3.Builder<CreateIngressRuleRequest.Builder> implements CreateIngressRuleRequestOrBuilder
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()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateIngressRuleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateIngressRuleRequest build()
buildPartial()
public CreateIngressRuleRequest buildPartial()
clear()
public CreateIngressRuleRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateIngressRuleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateIngressRuleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
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;
clone()
public CreateIngressRuleRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateIngressRuleRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateIngressRuleRequest other)
public CreateIngressRuleRequest.Builder mergeFrom(CreateIngressRuleRequest other)
public CreateIngressRuleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateIngressRuleRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateIngressRuleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateIngressRuleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateIngressRuleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateIngressRuleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides