Class Rule

  • All Implemented Interfaces:
    RuleOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class Rule
    extends com.google.protobuf.GeneratedMessageV3
    implements RuleOrBuilder
     This is deprecated and has no effect. Do not use.
     
    Protobuf type google.cloud.compute.v1.Rule
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Rule.Action
      This is deprecated and has no effect.
      static class  Rule.Builder
      This is deprecated and has no effect.
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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
      • 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
      • 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.
      • 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.
      • 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
      • 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
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Rule parseFrom​(ByteBuffer data)
                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Rule parseFrom​(ByteBuffer data,
                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Rule parseFrom​(com.google.protobuf.ByteString data)
                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Rule parseFrom​(com.google.protobuf.ByteString data,
                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Rule parseFrom​(byte[] data)
                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Rule parseFrom​(byte[] data,
                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Rule parseFrom​(com.google.protobuf.CodedInputStream input,
                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                              throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

        protected Rule.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Rule getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Rule> parser()
      • getParserForType

        public com.google.protobuf.Parser<Rule> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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