Package com.google.protobuf
Class DescriptorProtos.FieldOptions.FeatureSupport.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<DescriptorProtos.FieldOptions.FeatureSupport,DescriptorProtos.FieldOptions.FeatureSupport.Builder>
-
- com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport.Builder
-
- All Implemented Interfaces:
DescriptorProtos.FieldOptions.FeatureSupportOrBuilder,MessageLite.Builder,MessageLiteOrBuilder,java.lang.Cloneable
- Enclosing class:
- DescriptorProtos.FieldOptions.FeatureSupport
public static final class DescriptorProtos.FieldOptions.FeatureSupport.Builder extends GeneratedMessageLite.Builder<DescriptorProtos.FieldOptions.FeatureSupport,DescriptorProtos.FieldOptions.FeatureSupport.Builder> implements DescriptorProtos.FieldOptions.FeatureSupportOrBuilder
Information about the support window of a feature.
Protobuf typegoogle.protobuf.FieldOptions.FeatureSupport
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite.Builder
AbstractMessageLite.Builder.LimitedInputStream
-
-
Field Summary
-
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
-
Constructor Summary
Constructors Modifier Constructor Description privateBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescriptorProtos.FieldOptions.FeatureSupport.BuilderclearDeprecationWarning()The deprecation warning text if this feature is used after the edition it was marked deprecated in.DescriptorProtos.FieldOptions.FeatureSupport.BuilderclearEditionDeprecated()The edition this feature becomes deprecated in.DescriptorProtos.FieldOptions.FeatureSupport.BuilderclearEditionIntroduced()The edition that this feature was first available in.DescriptorProtos.FieldOptions.FeatureSupport.BuilderclearEditionRemoved()The edition this feature is no longer available in.java.lang.StringgetDeprecationWarning()The deprecation warning text if this feature is used after the edition it was marked deprecated in.ByteStringgetDeprecationWarningBytes()The deprecation warning text if this feature is used after the edition it was marked deprecated in.DescriptorProtos.EditiongetEditionDeprecated()The edition this feature becomes deprecated in.DescriptorProtos.EditiongetEditionIntroduced()The edition that this feature was first available in.DescriptorProtos.EditiongetEditionRemoved()The edition this feature is no longer available in.booleanhasDeprecationWarning()The deprecation warning text if this feature is used after the edition it was marked deprecated in.booleanhasEditionDeprecated()The edition this feature becomes deprecated in.booleanhasEditionIntroduced()The edition that this feature was first available in.booleanhasEditionRemoved()The edition this feature is no longer available in.DescriptorProtos.FieldOptions.FeatureSupport.BuildersetDeprecationWarning(java.lang.String value)The deprecation warning text if this feature is used after the edition it was marked deprecated in.DescriptorProtos.FieldOptions.FeatureSupport.BuildersetDeprecationWarningBytes(ByteString value)The deprecation warning text if this feature is used after the edition it was marked deprecated in.DescriptorProtos.FieldOptions.FeatureSupport.BuildersetEditionDeprecated(DescriptorProtos.Edition value)The edition this feature becomes deprecated in.DescriptorProtos.FieldOptions.FeatureSupport.BuildersetEditionIntroduced(DescriptorProtos.Edition value)The edition that this feature was first available in.DescriptorProtos.FieldOptions.FeatureSupport.BuildersetEditionRemoved(DescriptorProtos.Edition value)The edition this feature is no longer available in.-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
-
-
-
Method Detail
-
hasEditionIntroduced
public 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;- Specified by:
hasEditionIntroducedin interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder- Returns:
- Whether the editionIntroduced field is set.
-
getEditionIntroduced
public 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;- Specified by:
getEditionIntroducedin interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder- Returns:
- The editionIntroduced.
-
setEditionIntroduced
public DescriptorProtos.FieldOptions.FeatureSupport.Builder setEditionIntroduced(DescriptorProtos.Edition value)
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;- Parameters:
value- The enum numeric value on the wire for editionIntroduced to set.- Returns:
- This builder for chaining.
-
clearEditionIntroduced
public DescriptorProtos.FieldOptions.FeatureSupport.Builder clearEditionIntroduced()
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:
- This builder for chaining.
-
hasEditionDeprecated
public boolean hasEditionDeprecated()
The edition this feature becomes deprecated in. Using this after this edition may trigger warnings.
optional .google.protobuf.Edition edition_deprecated = 2;- Specified by:
hasEditionDeprecatedin interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder- Returns:
- Whether the editionDeprecated field is set.
-
getEditionDeprecated
public 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;- Specified by:
getEditionDeprecatedin interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder- Returns:
- The editionDeprecated.
-
setEditionDeprecated
public DescriptorProtos.FieldOptions.FeatureSupport.Builder setEditionDeprecated(DescriptorProtos.Edition value)
The edition this feature becomes deprecated in. Using this after this edition may trigger warnings.
optional .google.protobuf.Edition edition_deprecated = 2;- Parameters:
value- The enum numeric value on the wire for editionDeprecated to set.- Returns:
- This builder for chaining.
-
clearEditionDeprecated
public DescriptorProtos.FieldOptions.FeatureSupport.Builder clearEditionDeprecated()
The edition this feature becomes deprecated in. Using this after this edition may trigger warnings.
optional .google.protobuf.Edition edition_deprecated = 2;- Returns:
- This builder for chaining.
-
hasDeprecationWarning
public boolean hasDeprecationWarning()
The deprecation warning text if this feature is used after the edition it was marked deprecated in.
optional string deprecation_warning = 3;- Specified by:
hasDeprecationWarningin interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder- Returns:
- Whether the deprecationWarning field is set.
-
getDeprecationWarning
public 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;- Specified by:
getDeprecationWarningin interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder- Returns:
- The deprecationWarning.
-
getDeprecationWarningBytes
public ByteString getDeprecationWarningBytes()
The deprecation warning text if this feature is used after the edition it was marked deprecated in.
optional string deprecation_warning = 3;- Specified by:
getDeprecationWarningBytesin interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder- Returns:
- The bytes for deprecationWarning.
-
setDeprecationWarning
public DescriptorProtos.FieldOptions.FeatureSupport.Builder setDeprecationWarning(java.lang.String value)
The deprecation warning text if this feature is used after the edition it was marked deprecated in.
optional string deprecation_warning = 3;- Parameters:
value- The deprecationWarning to set.- Returns:
- This builder for chaining.
-
clearDeprecationWarning
public DescriptorProtos.FieldOptions.FeatureSupport.Builder clearDeprecationWarning()
The deprecation warning text if this feature is used after the edition it was marked deprecated in.
optional string deprecation_warning = 3;- Returns:
- This builder for chaining.
-
setDeprecationWarningBytes
public DescriptorProtos.FieldOptions.FeatureSupport.Builder setDeprecationWarningBytes(ByteString value)
The deprecation warning text if this feature is used after the edition it was marked deprecated in.
optional string deprecation_warning = 3;- Parameters:
value- The bytes for deprecationWarning to set.- Returns:
- This builder for chaining.
-
hasEditionRemoved
public 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;- Specified by:
hasEditionRemovedin interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder- Returns:
- Whether the editionRemoved field is set.
-
getEditionRemoved
public 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;- Specified by:
getEditionRemovedin interfaceDescriptorProtos.FieldOptions.FeatureSupportOrBuilder- Returns:
- The editionRemoved.
-
setEditionRemoved
public DescriptorProtos.FieldOptions.FeatureSupport.Builder setEditionRemoved(DescriptorProtos.Edition value)
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;- Parameters:
value- The enum numeric value on the wire for editionRemoved to set.- Returns:
- This builder for chaining.
-
clearEditionRemoved
public DescriptorProtos.FieldOptions.FeatureSupport.Builder clearEditionRemoved()
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:
- This builder for chaining.
-
-