Package com.google.protobuf
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDeprecationWarning()
The deprecation warning text if this feature is used after the edition it was marked deprecated in.ByteString
getDeprecationWarningBytes()
The deprecation warning text if this feature is used after the edition it was marked deprecated in.DescriptorProtos.Edition
getEditionDeprecated()
The edition this feature becomes deprecated in.DescriptorProtos.Edition
getEditionIntroduced()
The edition that this feature was first available in.DescriptorProtos.Edition
getEditionRemoved()
The edition this feature is no longer available in.boolean
hasDeprecationWarning()
The deprecation warning text if this feature is used after the edition it was marked deprecated in.boolean
hasEditionDeprecated()
The edition this feature becomes deprecated in.boolean
hasEditionIntroduced()
The edition that this feature was first available in.boolean
hasEditionRemoved()
The edition this feature is no longer available in.-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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.
-
-