Interface DescriptorProtos.FieldOptions.FeatureSupportOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
DescriptorProtos.FieldOptions.FeatureSupport, DescriptorProtos.FieldOptions.FeatureSupport.Builder
Enclosing class:
DescriptorProtos.FieldOptions

public static interface DescriptorProtos.FieldOptions.FeatureSupportOrBuilder extends MessageOrBuilder
  • Method Details

    • 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

      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.
    • hasRemovalError

      boolean hasRemovalError()
      The removal error text if this feature is used after the edition it was
      removed in.
      
      optional string removal_error = 5;
      Returns:
      Whether the removalError field is set.
    • getRemovalError

      String getRemovalError()
      The removal error text if this feature is used after the edition it was
      removed in.
      
      optional string removal_error = 5;
      Returns:
      The removalError.
    • getRemovalErrorBytes

      ByteString getRemovalErrorBytes()
      The removal error text if this feature is used after the edition it was
      removed in.
      
      optional string removal_error = 5;
      Returns:
      The bytes for removalError.