Class CreateIngressRuleRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateIngressRuleRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateIngressRuleRequest.Builder>
      • getDefaultInstanceForType

        public CreateIngressRuleRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public CreateIngressRuleRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public CreateIngressRuleRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public CreateIngressRuleRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateIngressRuleRequest.Builder>
      • addRepeatedField

        public CreateIngressRuleRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateIngressRuleRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateIngressRuleRequest.Builder>
      • mergeFrom

        public CreateIngressRuleRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateIngressRuleRequest.Builder>
        Throws:
        IOException
      • 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;
        Specified by:
        getParent in interface CreateIngressRuleRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Name of the parent Firewall collection in which to create a new rule.
         Example: `apps/myapp/firewall/ingressRules`.
         
        string parent = 1;
        Specified by:
        getParentBytes in interface CreateIngressRuleRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        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;
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setParentBytes

        public CreateIngressRuleRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Name of the parent Firewall collection in which to create a new rule.
         Example: `apps/myapp/firewall/ingressRules`.
         
        string parent = 1;
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • hasRule

        public boolean 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;
        Specified by:
        hasRule in interface CreateIngressRuleRequestOrBuilder
        Returns:
        Whether the rule field is set.
      • 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;
        Specified by:
        getRule in interface CreateIngressRuleRequestOrBuilder
        Returns:
        The rule.
      • setRule

        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

        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;
      • mergeRule

        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;
      • 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;
      • 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;
        Specified by:
        getRuleOrBuilder in interface CreateIngressRuleRequestOrBuilder
      • setUnknownFields

        public final CreateIngressRuleRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateIngressRuleRequest.Builder>
      • mergeUnknownFields

        public final CreateIngressRuleRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateIngressRuleRequest.Builder>