Interface DescriptorProtos.FieldOptions.FeatureSupportOrBuilder

    • Method Detail

      • hasEditionIntroduced

        boolean hasEditionIntroduced()
         The edition that this feature was first available in.  In editions
         earlier than this one, the default assigned to EDITION_LEGACY will be
         used, and proto files will not be able to override it.
         
        optional .google.protobuf.Edition edition_introduced = 1;
        Returns:
        Whether the editionIntroduced field is set.
      • getEditionIntroduced

        DescriptorProtos.Edition getEditionIntroduced()
         The edition that this feature was first available in.  In editions
         earlier than this one, the default assigned to EDITION_LEGACY will be
         used, and proto files will not be able to override it.
         
        optional .google.protobuf.Edition edition_introduced = 1;
        Returns:
        The editionIntroduced.
      • hasEditionDeprecated

        boolean hasEditionDeprecated()
         The edition this feature becomes deprecated in.  Using this after this
         edition may trigger warnings.
         
        optional .google.protobuf.Edition edition_deprecated = 2;
        Returns:
        Whether the editionDeprecated field is set.
      • getEditionDeprecated

        DescriptorProtos.Edition getEditionDeprecated()
         The edition this feature becomes deprecated in.  Using this after this
         edition may trigger warnings.
         
        optional .google.protobuf.Edition edition_deprecated = 2;
        Returns:
        The editionDeprecated.
      • hasDeprecationWarning

        boolean hasDeprecationWarning()
         The deprecation warning text if this feature is used after the edition it
         was marked deprecated in.
         
        optional string deprecation_warning = 3;
        Returns:
        Whether the deprecationWarning field is set.
      • getDeprecationWarning

        java.lang.String getDeprecationWarning()
         The deprecation warning text if this feature is used after the edition it
         was marked deprecated in.
         
        optional string deprecation_warning = 3;
        Returns:
        The deprecationWarning.
      • getDeprecationWarningBytes

        ByteString getDeprecationWarningBytes()
         The deprecation warning text if this feature is used after the edition it
         was marked deprecated in.
         
        optional string deprecation_warning = 3;
        Returns:
        The bytes for deprecationWarning.
      • hasEditionRemoved

        boolean hasEditionRemoved()
         The edition this feature is no longer available in.  In editions after
         this one, the last default assigned will be used, and proto files will
         not be able to override it.
         
        optional .google.protobuf.Edition edition_removed = 4;
        Returns:
        Whether the editionRemoved field is set.
      • getEditionRemoved

        DescriptorProtos.Edition getEditionRemoved()
         The edition this feature is no longer available in.  In editions after
         this one, the last default assigned will be used, and proto files will
         not be able to override it.
         
        optional .google.protobuf.Edition edition_removed = 4;
        Returns:
        The editionRemoved.