Interface JavaFeaturesProto.JavaFeaturesOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
JavaFeaturesProto.JavaFeatures, JavaFeaturesProto.JavaFeatures.Builder
Enclosing class:
JavaFeaturesProto

public static interface JavaFeaturesProto.JavaFeaturesOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether or not to treat an enum field as closed.
    optional .pb.JavaFeatures.Utf8Validation utf8_validation = 2 [json_name = "utf8Validation", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...
    boolean
    Whether or not to treat an enum field as closed.
    boolean
    optional .pb.JavaFeatures.Utf8Validation utf8_validation = 2 [json_name = "utf8Validation", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • hasLegacyClosedEnum

      boolean hasLegacyClosedEnum()
       Whether or not to treat an enum field as closed.  This option is only
       applicable to enum fields, and will be removed in the future.  It is
       consistent with the legacy behavior of using proto3 enum types for proto2
       fields.
       
      optional bool legacy_closed_enum = 1 [json_name = "legacyClosedEnum", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
      Returns:
      Whether the legacyClosedEnum field is set.
    • getLegacyClosedEnum

      boolean getLegacyClosedEnum()
       Whether or not to treat an enum field as closed.  This option is only
       applicable to enum fields, and will be removed in the future.  It is
       consistent with the legacy behavior of using proto3 enum types for proto2
       fields.
       
      optional bool legacy_closed_enum = 1 [json_name = "legacyClosedEnum", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
      Returns:
      The legacyClosedEnum.
    • hasUtf8Validation

      boolean hasUtf8Validation()
      optional .pb.JavaFeatures.Utf8Validation utf8_validation = 2 [json_name = "utf8Validation", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
      Returns:
      Whether the utf8Validation field is set.
    • getUtf8Validation

      optional .pb.JavaFeatures.Utf8Validation utf8_validation = 2 [json_name = "utf8Validation", retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }
      Returns:
      The utf8Validation.