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