Class Rule.Builder

  • All Implemented Interfaces:
    RuleOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Rule

    public static final class Rule.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Rule.Builder>
    implements RuleOrBuilder
     This is deprecated and has no effect. Do not use.
     
    Protobuf type google.cloud.compute.v1.Rule
    • 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<Rule.Builder>
      • clear

        public Rule.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Rule.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<Rule.Builder>
      • getDefaultInstanceForType

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

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

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

        public Rule.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Rule.Builder>
      • setField

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

        public Rule.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Rule.Builder>
      • clearOneof

        public Rule.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Rule.Builder>
      • setRepeatedField

        public Rule.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<Rule.Builder>
      • addRepeatedField

        public Rule.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<Rule.Builder>
      • mergeFrom

        public Rule.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Rule.Builder>
      • isInitialized

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

        public Rule.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<Rule.Builder>
        Throws:
        IOException
      • hasAction

        public boolean hasAction()
         This is deprecated and has no effect. Do not use.
         Check the Action enum for the list of possible values.
         
        optional string action = 187661878;
        Specified by:
        hasAction in interface RuleOrBuilder
        Returns:
        Whether the action field is set.
      • getAction

        public String getAction()
         This is deprecated and has no effect. Do not use.
         Check the Action enum for the list of possible values.
         
        optional string action = 187661878;
        Specified by:
        getAction in interface RuleOrBuilder
        Returns:
        The action.
      • getActionBytes

        public com.google.protobuf.ByteString getActionBytes()
         This is deprecated and has no effect. Do not use.
         Check the Action enum for the list of possible values.
         
        optional string action = 187661878;
        Specified by:
        getActionBytes in interface RuleOrBuilder
        Returns:
        The bytes for action.
      • setAction

        public Rule.Builder setAction​(String value)
         This is deprecated and has no effect. Do not use.
         Check the Action enum for the list of possible values.
         
        optional string action = 187661878;
        Parameters:
        value - The action to set.
        Returns:
        This builder for chaining.
      • clearAction

        public Rule.Builder clearAction()
         This is deprecated and has no effect. Do not use.
         Check the Action enum for the list of possible values.
         
        optional string action = 187661878;
        Returns:
        This builder for chaining.
      • setActionBytes

        public Rule.Builder setActionBytes​(com.google.protobuf.ByteString value)
         This is deprecated and has no effect. Do not use.
         Check the Action enum for the list of possible values.
         
        optional string action = 187661878;
        Parameters:
        value - The bytes for action to set.
        Returns:
        This builder for chaining.
      • getConditionsList

        public List<Condition> getConditionsList()
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.Condition conditions = 142882488;
        Specified by:
        getConditionsList in interface RuleOrBuilder
      • getConditionsCount

        public int getConditionsCount()
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.Condition conditions = 142882488;
        Specified by:
        getConditionsCount in interface RuleOrBuilder
      • getConditions

        public Condition getConditions​(int index)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.Condition conditions = 142882488;
        Specified by:
        getConditions in interface RuleOrBuilder
      • setConditions

        public Rule.Builder setConditions​(int index,
                                          Condition value)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.Condition conditions = 142882488;
      • setConditions

        public Rule.Builder setConditions​(int index,
                                          Condition.Builder builderForValue)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.Condition conditions = 142882488;
      • addConditions

        public Rule.Builder addConditions​(Condition value)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.Condition conditions = 142882488;
      • addConditions

        public Rule.Builder addConditions​(int index,
                                          Condition value)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.Condition conditions = 142882488;
      • addConditions

        public Rule.Builder addConditions​(Condition.Builder builderForValue)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.Condition conditions = 142882488;
      • addConditions

        public Rule.Builder addConditions​(int index,
                                          Condition.Builder builderForValue)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.Condition conditions = 142882488;
      • addAllConditions

        public Rule.Builder addAllConditions​(Iterable<? extends Condition> values)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.Condition conditions = 142882488;
      • clearConditions

        public Rule.Builder clearConditions()
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.Condition conditions = 142882488;
      • removeConditions

        public Rule.Builder removeConditions​(int index)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.Condition conditions = 142882488;
      • getConditionsBuilder

        public Condition.Builder getConditionsBuilder​(int index)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.Condition conditions = 142882488;
      • getConditionsOrBuilder

        public ConditionOrBuilder getConditionsOrBuilder​(int index)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.Condition conditions = 142882488;
        Specified by:
        getConditionsOrBuilder in interface RuleOrBuilder
      • addConditionsBuilder

        public Condition.Builder addConditionsBuilder()
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.Condition conditions = 142882488;
      • addConditionsBuilder

        public Condition.Builder addConditionsBuilder​(int index)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.Condition conditions = 142882488;
      • getConditionsBuilderList

        public List<Condition.Builder> getConditionsBuilderList()
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.Condition conditions = 142882488;
      • hasDescription

        public boolean hasDescription()
         This is deprecated and has no effect. Do not use.
         
        optional string description = 422937596;
        Specified by:
        hasDescription in interface RuleOrBuilder
        Returns:
        Whether the description field is set.
      • getDescription

        public String getDescription()
         This is deprecated and has no effect. Do not use.
         
        optional string description = 422937596;
        Specified by:
        getDescription in interface RuleOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         This is deprecated and has no effect. Do not use.
         
        optional string description = 422937596;
        Specified by:
        getDescriptionBytes in interface RuleOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public Rule.Builder setDescription​(String value)
         This is deprecated and has no effect. Do not use.
         
        optional string description = 422937596;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public Rule.Builder clearDescription()
         This is deprecated and has no effect. Do not use.
         
        optional string description = 422937596;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public Rule.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         This is deprecated and has no effect. Do not use.
         
        optional string description = 422937596;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • getInsList

        public com.google.protobuf.ProtocolStringList getInsList()
         This is deprecated and has no effect. Do not use.
         
        repeated string ins = 104430;
        Specified by:
        getInsList in interface RuleOrBuilder
        Returns:
        A list containing the ins.
      • getInsCount

        public int getInsCount()
         This is deprecated and has no effect. Do not use.
         
        repeated string ins = 104430;
        Specified by:
        getInsCount in interface RuleOrBuilder
        Returns:
        The count of ins.
      • getIns

        public String getIns​(int index)
         This is deprecated and has no effect. Do not use.
         
        repeated string ins = 104430;
        Specified by:
        getIns in interface RuleOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The ins at the given index.
      • getInsBytes

        public com.google.protobuf.ByteString getInsBytes​(int index)
         This is deprecated and has no effect. Do not use.
         
        repeated string ins = 104430;
        Specified by:
        getInsBytes in interface RuleOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the ins at the given index.
      • setIns

        public Rule.Builder setIns​(int index,
                                   String value)
         This is deprecated and has no effect. Do not use.
         
        repeated string ins = 104430;
        Parameters:
        index - The index to set the value at.
        value - The ins to set.
        Returns:
        This builder for chaining.
      • addIns

        public Rule.Builder addIns​(String value)
         This is deprecated and has no effect. Do not use.
         
        repeated string ins = 104430;
        Parameters:
        value - The ins to add.
        Returns:
        This builder for chaining.
      • addAllIns

        public Rule.Builder addAllIns​(Iterable<String> values)
         This is deprecated and has no effect. Do not use.
         
        repeated string ins = 104430;
        Parameters:
        values - The ins to add.
        Returns:
        This builder for chaining.
      • clearIns

        public Rule.Builder clearIns()
         This is deprecated and has no effect. Do not use.
         
        repeated string ins = 104430;
        Returns:
        This builder for chaining.
      • addInsBytes

        public Rule.Builder addInsBytes​(com.google.protobuf.ByteString value)
         This is deprecated and has no effect. Do not use.
         
        repeated string ins = 104430;
        Parameters:
        value - The bytes of the ins to add.
        Returns:
        This builder for chaining.
      • getLogConfigsList

        public List<LogConfig> getLogConfigsList()
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
        Specified by:
        getLogConfigsList in interface RuleOrBuilder
      • getLogConfigsCount

        public int getLogConfigsCount()
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
        Specified by:
        getLogConfigsCount in interface RuleOrBuilder
      • getLogConfigs

        public LogConfig getLogConfigs​(int index)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
        Specified by:
        getLogConfigs in interface RuleOrBuilder
      • setLogConfigs

        public Rule.Builder setLogConfigs​(int index,
                                          LogConfig value)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
      • setLogConfigs

        public Rule.Builder setLogConfigs​(int index,
                                          LogConfig.Builder builderForValue)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
      • addLogConfigs

        public Rule.Builder addLogConfigs​(LogConfig value)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
      • addLogConfigs

        public Rule.Builder addLogConfigs​(int index,
                                          LogConfig value)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
      • addLogConfigs

        public Rule.Builder addLogConfigs​(LogConfig.Builder builderForValue)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
      • addLogConfigs

        public Rule.Builder addLogConfigs​(int index,
                                          LogConfig.Builder builderForValue)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
      • addAllLogConfigs

        public Rule.Builder addAllLogConfigs​(Iterable<? extends LogConfig> values)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
      • clearLogConfigs

        public Rule.Builder clearLogConfigs()
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
      • removeLogConfigs

        public Rule.Builder removeLogConfigs​(int index)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
      • getLogConfigsBuilder

        public LogConfig.Builder getLogConfigsBuilder​(int index)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
      • getLogConfigsOrBuilder

        public LogConfigOrBuilder getLogConfigsOrBuilder​(int index)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
        Specified by:
        getLogConfigsOrBuilder in interface RuleOrBuilder
      • addLogConfigsBuilder

        public LogConfig.Builder addLogConfigsBuilder()
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
      • addLogConfigsBuilder

        public LogConfig.Builder addLogConfigsBuilder​(int index)
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
      • getLogConfigsBuilderList

        public List<LogConfig.Builder> getLogConfigsBuilderList()
         This is deprecated and has no effect. Do not use.
         
        repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
      • getNotInsList

        public com.google.protobuf.ProtocolStringList getNotInsList()
         This is deprecated and has no effect. Do not use.
         
        repeated string not_ins = 518443138;
        Specified by:
        getNotInsList in interface RuleOrBuilder
        Returns:
        A list containing the notIns.
      • getNotInsCount

        public int getNotInsCount()
         This is deprecated and has no effect. Do not use.
         
        repeated string not_ins = 518443138;
        Specified by:
        getNotInsCount in interface RuleOrBuilder
        Returns:
        The count of notIns.
      • getNotIns

        public String getNotIns​(int index)
         This is deprecated and has no effect. Do not use.
         
        repeated string not_ins = 518443138;
        Specified by:
        getNotIns in interface RuleOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The notIns at the given index.
      • getNotInsBytes

        public com.google.protobuf.ByteString getNotInsBytes​(int index)
         This is deprecated and has no effect. Do not use.
         
        repeated string not_ins = 518443138;
        Specified by:
        getNotInsBytes in interface RuleOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the notIns at the given index.
      • setNotIns

        public Rule.Builder setNotIns​(int index,
                                      String value)
         This is deprecated and has no effect. Do not use.
         
        repeated string not_ins = 518443138;
        Parameters:
        index - The index to set the value at.
        value - The notIns to set.
        Returns:
        This builder for chaining.
      • addNotIns

        public Rule.Builder addNotIns​(String value)
         This is deprecated and has no effect. Do not use.
         
        repeated string not_ins = 518443138;
        Parameters:
        value - The notIns to add.
        Returns:
        This builder for chaining.
      • addAllNotIns

        public Rule.Builder addAllNotIns​(Iterable<String> values)
         This is deprecated and has no effect. Do not use.
         
        repeated string not_ins = 518443138;
        Parameters:
        values - The notIns to add.
        Returns:
        This builder for chaining.
      • clearNotIns

        public Rule.Builder clearNotIns()
         This is deprecated and has no effect. Do not use.
         
        repeated string not_ins = 518443138;
        Returns:
        This builder for chaining.
      • addNotInsBytes

        public Rule.Builder addNotInsBytes​(com.google.protobuf.ByteString value)
         This is deprecated and has no effect. Do not use.
         
        repeated string not_ins = 518443138;
        Parameters:
        value - The bytes of the notIns to add.
        Returns:
        This builder for chaining.
      • getPermissionsList

        public com.google.protobuf.ProtocolStringList getPermissionsList()
         This is deprecated and has no effect. Do not use.
         
        repeated string permissions = 59962500;
        Specified by:
        getPermissionsList in interface RuleOrBuilder
        Returns:
        A list containing the permissions.
      • getPermissionsCount

        public int getPermissionsCount()
         This is deprecated and has no effect. Do not use.
         
        repeated string permissions = 59962500;
        Specified by:
        getPermissionsCount in interface RuleOrBuilder
        Returns:
        The count of permissions.
      • getPermissions

        public String getPermissions​(int index)
         This is deprecated and has no effect. Do not use.
         
        repeated string permissions = 59962500;
        Specified by:
        getPermissions in interface RuleOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The permissions at the given index.
      • getPermissionsBytes

        public com.google.protobuf.ByteString getPermissionsBytes​(int index)
         This is deprecated and has no effect. Do not use.
         
        repeated string permissions = 59962500;
        Specified by:
        getPermissionsBytes in interface RuleOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the permissions at the given index.
      • setPermissions

        public Rule.Builder setPermissions​(int index,
                                           String value)
         This is deprecated and has no effect. Do not use.
         
        repeated string permissions = 59962500;
        Parameters:
        index - The index to set the value at.
        value - The permissions to set.
        Returns:
        This builder for chaining.
      • addPermissions

        public Rule.Builder addPermissions​(String value)
         This is deprecated and has no effect. Do not use.
         
        repeated string permissions = 59962500;
        Parameters:
        value - The permissions to add.
        Returns:
        This builder for chaining.
      • addAllPermissions

        public Rule.Builder addAllPermissions​(Iterable<String> values)
         This is deprecated and has no effect. Do not use.
         
        repeated string permissions = 59962500;
        Parameters:
        values - The permissions to add.
        Returns:
        This builder for chaining.
      • clearPermissions

        public Rule.Builder clearPermissions()
         This is deprecated and has no effect. Do not use.
         
        repeated string permissions = 59962500;
        Returns:
        This builder for chaining.
      • addPermissionsBytes

        public Rule.Builder addPermissionsBytes​(com.google.protobuf.ByteString value)
         This is deprecated and has no effect. Do not use.
         
        repeated string permissions = 59962500;
        Parameters:
        value - The bytes of the permissions to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Rule.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<Rule.Builder>
      • mergeUnknownFields

        public final Rule.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<Rule.Builder>