Package com.google.protobuf
Class DescriptorProtos.FeatureSetDefaults
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<DescriptorProtos.FeatureSetDefaults,DescriptorProtos.FeatureSetDefaults.Builder>
com.google.protobuf.DescriptorProtos.FeatureSetDefaults
- All Implemented Interfaces:
DescriptorProtos.FeatureSetDefaultsOrBuilder,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder
- Enclosing class:
- DescriptorProtos
public static final class DescriptorProtos.FeatureSetDefaults
extends com.google.protobuf.GeneratedMessageLite<DescriptorProtos.FeatureSetDefaults,DescriptorProtos.FeatureSetDefaults.Builder>
implements DescriptorProtos.FeatureSetDefaultsOrBuilder
A compiled specification for the defaults of a set of features. These messages are generated from FeatureSet extensions and can be used to seed feature resolution. The resolution with this object becomes a simple search for the closest matching edition, followed by proto merges.Protobuf type
google.protobuf.FeatureSetDefaults-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA compiled specification for the defaults of a set of features.static final classA map from every known edition with a unique set of defaults to its defaults.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) getDefaults(int index) repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1 [json_name = "defaults"];intrepeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1 [json_name = "defaults"];repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1 [json_name = "defaults"];getDefaultsOrBuilder(int index) repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1 [json_name = "defaults"];repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1 [json_name = "defaults"];The maximum known edition (inclusive) when this was constructed.The minimum supported edition (inclusive) when this was constructed.booleanThe maximum known edition (inclusive) when this was constructed.booleanThe minimum supported edition (inclusive) when this was constructed.newBuilder(DescriptorProtos.FeatureSetDefaults prototype) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DescriptorProtos.FeatureSetDefaults>parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
DEFAULTS_FIELD_NUMBER
public static final int DEFAULTS_FIELD_NUMBER- See Also:
-
MINIMUM_EDITION_FIELD_NUMBER
public static final int MINIMUM_EDITION_FIELD_NUMBER- See Also:
-
MAXIMUM_EDITION_FIELD_NUMBER
public static final int MAXIMUM_EDITION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDefaultsList
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1 [json_name = "defaults"];- Specified by:
getDefaultsListin interfaceDescriptorProtos.FeatureSetDefaultsOrBuilder
-
getDefaultsOrBuilderList
public List<? extends DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefaultOrBuilder> getDefaultsOrBuilderList()repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1 [json_name = "defaults"]; -
getDefaultsCount
public int getDefaultsCount()repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1 [json_name = "defaults"];- Specified by:
getDefaultsCountin interfaceDescriptorProtos.FeatureSetDefaultsOrBuilder
-
getDefaults
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1 [json_name = "defaults"];- Specified by:
getDefaultsin interfaceDescriptorProtos.FeatureSetDefaultsOrBuilder
-
getDefaultsOrBuilder
public DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefaultOrBuilder getDefaultsOrBuilder(int index) repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1 [json_name = "defaults"]; -
hasMinimumEdition
public boolean hasMinimumEdition()The minimum supported edition (inclusive) when this was constructed. Editions before this will not have defaults.
optional .google.protobuf.Edition minimum_edition = 4 [json_name = "minimumEdition"];- Specified by:
hasMinimumEditionin interfaceDescriptorProtos.FeatureSetDefaultsOrBuilder- Returns:
- Whether the minimumEdition field is set.
-
getMinimumEdition
The minimum supported edition (inclusive) when this was constructed. Editions before this will not have defaults.
optional .google.protobuf.Edition minimum_edition = 4 [json_name = "minimumEdition"];- Specified by:
getMinimumEditionin interfaceDescriptorProtos.FeatureSetDefaultsOrBuilder- Returns:
- The minimumEdition.
-
hasMaximumEdition
public boolean hasMaximumEdition()The maximum known edition (inclusive) when this was constructed. Editions after this will not have reliable defaults.
optional .google.protobuf.Edition maximum_edition = 5 [json_name = "maximumEdition"];- Specified by:
hasMaximumEditionin interfaceDescriptorProtos.FeatureSetDefaultsOrBuilder- Returns:
- Whether the maximumEdition field is set.
-
getMaximumEdition
The maximum known edition (inclusive) when this was constructed. Editions after this will not have reliable defaults.
optional .google.protobuf.Edition maximum_edition = 5 [json_name = "maximumEdition"];- Specified by:
getMaximumEditionin interfaceDescriptorProtos.FeatureSetDefaultsOrBuilder- Returns:
- The maximumEdition.
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static DescriptorProtos.FeatureSetDefaults parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static DescriptorProtos.FeatureSetDefaults parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static DescriptorProtos.FeatureSetDefaults.Builder newBuilder(DescriptorProtos.FeatureSetDefaults prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<DescriptorProtos.FeatureSetDefaults,DescriptorProtos.FeatureSetDefaults.Builder>
-
getDefaultInstance
-
parser
-