Class DescriptorProtos.FeatureSet

    • Field Detail

      • bitField0_

        private int bitField0_
      • FIELD_PRESENCE_FIELD_NUMBER

        public static final int FIELD_PRESENCE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • fieldPresence_

        private int fieldPresence_
      • enumType_

        private int enumType_
      • REPEATED_FIELD_ENCODING_FIELD_NUMBER

        public static final int REPEATED_FIELD_ENCODING_FIELD_NUMBER
        See Also:
        Constant Field Values
      • repeatedFieldEncoding_

        private int repeatedFieldEncoding_
      • UTF8_VALIDATION_FIELD_NUMBER

        public static final int UTF8_VALIDATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • utf8Validation_

        private int utf8Validation_
      • MESSAGE_ENCODING_FIELD_NUMBER

        public static final int MESSAGE_ENCODING_FIELD_NUMBER
        See Also:
        Constant Field Values
      • messageEncoding_

        private int messageEncoding_
      • JSON_FORMAT_FIELD_NUMBER

        public static final int JSON_FORMAT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • jsonFormat_

        private int jsonFormat_
      • memoizedIsInitialized

        private byte memoizedIsInitialized
    • Constructor Detail

      • FeatureSet

        private FeatureSet()
    • Method Detail

      • hasFieldPresence

        public boolean hasFieldPresence()
        optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
        Specified by:
        hasFieldPresence in interface DescriptorProtos.FeatureSetOrBuilder
        Returns:
        Whether the fieldPresence field is set.
      • setFieldPresence

        private void setFieldPresence​(DescriptorProtos.FeatureSet.FieldPresence value)
        optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
        Parameters:
        value - The fieldPresence to set.
      • clearFieldPresence

        private void clearFieldPresence()
        optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
      • hasEnumType

        public boolean hasEnumType()
        optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
        Specified by:
        hasEnumType in interface DescriptorProtos.FeatureSetOrBuilder
        Returns:
        Whether the enumType field is set.
      • setEnumType

        private void setEnumType​(DescriptorProtos.FeatureSet.EnumType value)
        optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
        Parameters:
        value - The enumType to set.
      • clearEnumType

        private void clearEnumType()
        optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
      • hasRepeatedFieldEncoding

        public boolean hasRepeatedFieldEncoding()
        optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
        Specified by:
        hasRepeatedFieldEncoding in interface DescriptorProtos.FeatureSetOrBuilder
        Returns:
        Whether the repeatedFieldEncoding field is set.
      • setRepeatedFieldEncoding

        private void setRepeatedFieldEncoding​(DescriptorProtos.FeatureSet.RepeatedFieldEncoding value)
        optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
        Parameters:
        value - The repeatedFieldEncoding to set.
      • clearRepeatedFieldEncoding

        private void clearRepeatedFieldEncoding()
        optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
      • hasUtf8Validation

        public boolean hasUtf8Validation()
        optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
        Specified by:
        hasUtf8Validation in interface DescriptorProtos.FeatureSetOrBuilder
        Returns:
        Whether the utf8Validation field is set.
      • setUtf8Validation

        private void setUtf8Validation​(DescriptorProtos.FeatureSet.Utf8Validation value)
        optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
        Parameters:
        value - The utf8Validation to set.
      • clearUtf8Validation

        private void clearUtf8Validation()
        optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
      • hasMessageEncoding

        public boolean hasMessageEncoding()
        optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
        Specified by:
        hasMessageEncoding in interface DescriptorProtos.FeatureSetOrBuilder
        Returns:
        Whether the messageEncoding field is set.
      • setMessageEncoding

        private void setMessageEncoding​(DescriptorProtos.FeatureSet.MessageEncoding value)
        optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
        Parameters:
        value - The messageEncoding to set.
      • clearMessageEncoding

        private void clearMessageEncoding()
        optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
      • hasJsonFormat

        public boolean hasJsonFormat()
        optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
        Specified by:
        hasJsonFormat in interface DescriptorProtos.FeatureSetOrBuilder
        Returns:
        Whether the jsonFormat field is set.
      • setJsonFormat

        private void setJsonFormat​(DescriptorProtos.FeatureSet.JsonFormat value)
        optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
        Parameters:
        value - The jsonFormat to set.
      • clearJsonFormat

        private void clearJsonFormat()
        optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
      • parseFrom

        public static DescriptorProtos.FeatureSet parseFrom​(java.io.InputStream input)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static DescriptorProtos.FeatureSet parseDelimitedFrom​(java.io.InputStream input)
                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • dynamicMethod

        protected final java.lang.Object dynamicMethod​(GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Description copied from class: GeneratedMessageLite
        A method that implements different types of operations described in GeneratedMessageLite.MethodToInvoke. These different kinds of operations are required to implement message-level operations for builders in the runtime. This method bundles those operations to reduce the generated methods count.
        • NEW_INSTANCE returns a new instance of the protocol buffer that has not yet been made immutable. See MAKE_IMMUTABLE.
        • IS_INITIALIZED returns null for false and the default instance for true. It doesn't use or modify any memoized value.
        • GET_MEMOIZED_IS_INITIALIZED returns the memoized isInitialized byte value.
        • SET_MEMOIZED_IS_INITIALIZED sets the memoized isInitialized byte value to 1 if the first parameter is not null, or to 0 if the first parameter is null.
        • NEW_BUILDER returns a BuilderType instance.
        This method, plus the implementation of the Builder, enables the Builder class to be proguarded away entirely on Android.

        For use by generated code only.

        Specified by:
        dynamicMethod in class GeneratedMessageLite<DescriptorProtos.FeatureSet,​DescriptorProtos.FeatureSet.Builder>