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,MessageLite,MessageLiteOrBuilder
- Enclosing class:
- DescriptorProtos
public static final class DescriptorProtos.FeatureSetDefaults extends 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 typegoogle.protobuf.FeatureSetDefaults
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDescriptorProtos.FeatureSetDefaults.BuilderA compiled specification for the defaults of a set of features.static classDescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefaultA map from every known edition with a unique set of defaults to its defaults.static interfaceDescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefaultOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
GeneratedMessageLite.DefaultInstanceBasedParser<T extends GeneratedMessageLite<T,?>>, GeneratedMessageLite.ExtendableBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageLite.ExtendableMessage<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageLite.ExtensionDescriptor, GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type>, GeneratedMessageLite.MethodToInvoke, GeneratedMessageLite.SerializedForm
-
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private static DescriptorProtos.FeatureSetDefaultsDEFAULT_INSTANCEprivate Internal.ProtobufList<DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault>defaults_static intDEFAULTS_FIELD_NUMBERstatic intMAXIMUM_EDITION_FIELD_NUMBERprivate intmaximumEdition_private bytememoizedIsInitializedstatic intMINIMUM_EDITION_FIELD_NUMBERprivate intminimumEdition_private static Parser<DescriptorProtos.FeatureSetDefaults>PARSER-
Fields inherited from class com.google.protobuf.GeneratedMessageLite
UNINITIALIZED_HASH_CODE, UNINITIALIZED_SERIALIZED_SIZE, unknownFields
-
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
-
Constructor Summary
Constructors Modifier Constructor Description privateFeatureSetDefaults()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidaddAllDefaults(java.lang.Iterable<? extends DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault> values)repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;private voidaddDefaults(int index, DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault value)repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;private voidaddDefaults(DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault value)repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;private voidclearDefaults()repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;private voidclearMaximumEdition()The maximum known edition (inclusive) when this was constructed.private voidclearMinimumEdition()The minimum supported edition (inclusive) when this was constructed.protected java.lang.ObjectdynamicMethod(GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)A method that implements different types of operations described inGeneratedMessageLite.MethodToInvoke.private voidensureDefaultsIsMutable()static DescriptorProtos.FeatureSetDefaultsgetDefaultInstance()DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefaultgetDefaults(int index)repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;intgetDefaultsCount()repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;java.util.List<DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault>getDefaultsList()repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefaultOrBuildergetDefaultsOrBuilder(int index)repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;java.util.List<? extends DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefaultOrBuilder>getDefaultsOrBuilderList()repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;DescriptorProtos.EditiongetMaximumEdition()The maximum known edition (inclusive) when this was constructed.DescriptorProtos.EditiongetMinimumEdition()The minimum supported edition (inclusive) when this was constructed.booleanhasMaximumEdition()The maximum known edition (inclusive) when this was constructed.booleanhasMinimumEdition()The minimum supported edition (inclusive) when this was constructed.static DescriptorProtos.FeatureSetDefaults.BuildernewBuilder()static DescriptorProtos.FeatureSetDefaults.BuildernewBuilder(DescriptorProtos.FeatureSetDefaults prototype)static DescriptorProtos.FeatureSetDefaultsparseDelimitedFrom(java.io.InputStream input)static DescriptorProtos.FeatureSetDefaultsparseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FeatureSetDefaultsparseFrom(byte[] data)static DescriptorProtos.FeatureSetDefaultsparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FeatureSetDefaultsparseFrom(ByteString data)static DescriptorProtos.FeatureSetDefaultsparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FeatureSetDefaultsparseFrom(CodedInputStream input)static DescriptorProtos.FeatureSetDefaultsparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FeatureSetDefaultsparseFrom(java.io.InputStream input)static DescriptorProtos.FeatureSetDefaultsparseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FeatureSetDefaultsparseFrom(java.nio.ByteBuffer data)static DescriptorProtos.FeatureSetDefaultsparseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry)static Parser<DescriptorProtos.FeatureSetDefaults>parser()private voidremoveDefaults(int index)repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;private voidsetDefaults(int index, DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault value)repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;private voidsetMaximumEdition(DescriptorProtos.Edition value)The maximum known edition (inclusive) when this was constructed.private voidsetMinimumEdition(DescriptorProtos.Edition value)The minimum supported edition (inclusive) when this was constructed.-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
buildMessageInfo, clearMemoizedHashCode, clearMemoizedSerializedSize, computeHashCode, createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstance, getDefaultInstanceForType, getMemoizedHashCode, getMemoizedSerializedSize, getMethodOrDie, getParserForType, getSerializedSize, getSerializedSize, hashCode, hashCodeIsNotMemoized, invokeOrDie, isInitialized, isInitialized, isMutable, makeImmutable, markImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newMutableInstance, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, setMemoizedHashCode, setMemoizedSerializedSize, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, newUninitializedMessageException, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
DEFAULTS_FIELD_NUMBER
public static final int DEFAULTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
defaults_
private Internal.ProtobufList<DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault> defaults_
-
MINIMUM_EDITION_FIELD_NUMBER
public static final int MINIMUM_EDITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
minimumEdition_
private int minimumEdition_
-
MAXIMUM_EDITION_FIELD_NUMBER
public static final int MAXIMUM_EDITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
maximumEdition_
private int maximumEdition_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final DescriptorProtos.FeatureSetDefaults DEFAULT_INSTANCE
-
PARSER
private static volatile Parser<DescriptorProtos.FeatureSetDefaults> PARSER
-
-
Method Detail
-
getDefaultsList
public java.util.List<DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault> getDefaultsList()
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;- Specified by:
getDefaultsListin interfaceDescriptorProtos.FeatureSetDefaultsOrBuilder
-
getDefaultsOrBuilderList
public java.util.List<? extends DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefaultOrBuilder> getDefaultsOrBuilderList()
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
-
getDefaultsCount
public int getDefaultsCount()
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;- Specified by:
getDefaultsCountin interfaceDescriptorProtos.FeatureSetDefaultsOrBuilder
-
getDefaults
public DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault getDefaults(int index)
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;- Specified by:
getDefaultsin interfaceDescriptorProtos.FeatureSetDefaultsOrBuilder
-
getDefaultsOrBuilder
public DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefaultOrBuilder getDefaultsOrBuilder(int index)
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
-
ensureDefaultsIsMutable
private void ensureDefaultsIsMutable()
-
setDefaults
private void setDefaults(int index, DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault value)repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
-
addDefaults
private void addDefaults(DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault value)
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
-
addDefaults
private void addDefaults(int index, DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault value)repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
-
addAllDefaults
private void addAllDefaults(java.lang.Iterable<? extends DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault> values)
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
-
clearDefaults
private void clearDefaults()
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
-
removeDefaults
private void removeDefaults(int index)
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
-
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;- Specified by:
hasMinimumEditionin interfaceDescriptorProtos.FeatureSetDefaultsOrBuilder- Returns:
- Whether the minimumEdition field is set.
-
getMinimumEdition
public DescriptorProtos.Edition getMinimumEdition()
The minimum supported edition (inclusive) when this was constructed. Editions before this will not have defaults.
optional .google.protobuf.Edition minimum_edition = 4;- Specified by:
getMinimumEditionin interfaceDescriptorProtos.FeatureSetDefaultsOrBuilder- Returns:
- The minimumEdition.
-
setMinimumEdition
private void setMinimumEdition(DescriptorProtos.Edition value)
The minimum supported edition (inclusive) when this was constructed. Editions before this will not have defaults.
optional .google.protobuf.Edition minimum_edition = 4;- Parameters:
value- The minimumEdition to set.
-
clearMinimumEdition
private void clearMinimumEdition()
The minimum supported edition (inclusive) when this was constructed. Editions before this will not have defaults.
optional .google.protobuf.Edition minimum_edition = 4;
-
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;- Specified by:
hasMaximumEditionin interfaceDescriptorProtos.FeatureSetDefaultsOrBuilder- Returns:
- Whether the maximumEdition field is set.
-
getMaximumEdition
public DescriptorProtos.Edition 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;- Specified by:
getMaximumEditionin interfaceDescriptorProtos.FeatureSetDefaultsOrBuilder- Returns:
- The maximumEdition.
-
setMaximumEdition
private void setMaximumEdition(DescriptorProtos.Edition value)
The maximum known edition (inclusive) when this was constructed. Editions after this will not have reliable defaults.
optional .google.protobuf.Edition maximum_edition = 5;- Parameters:
value- The maximumEdition to set.
-
clearMaximumEdition
private void clearMaximumEdition()
The maximum known edition (inclusive) when this was constructed. Editions after this will not have reliable defaults.
optional .google.protobuf.Edition maximum_edition = 5;
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(ByteString data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(byte[] data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DescriptorProtos.FeatureSetDefaults parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DescriptorProtos.FeatureSetDefaults parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static DescriptorProtos.FeatureSetDefaults.Builder newBuilder()
-
newBuilder
public static DescriptorProtos.FeatureSetDefaults.Builder newBuilder(DescriptorProtos.FeatureSetDefaults prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)
Description copied from class:GeneratedMessageLiteA method that implements different types of operations described inGeneratedMessageLite.MethodToInvoke. These different kinds of operations are required to implement message-level operations for builders in the runtime. This method bundles those operations to reduce the generated methods count.NEW_INSTANCEreturns a new instance of the protocol buffer that has not yet been made immutable. SeeMAKE_IMMUTABLE.IS_INITIALIZEDreturnsnullfor false and the default instance for true. It doesn't use or modify any memoized value.GET_MEMOIZED_IS_INITIALIZEDreturns the memoizedisInitializedbyte value.SET_MEMOIZED_IS_INITIALIZEDsets the memoizedisInitializedbyte value to 1 if the first parameter is not null, or to 0 if the first parameter is null.NEW_BUILDERreturns aBuilderTypeinstance.
For use by generated code only.
- Specified by:
dynamicMethodin classGeneratedMessageLite<DescriptorProtos.FeatureSetDefaults,DescriptorProtos.FeatureSetDefaults.Builder>
-
getDefaultInstance
public static DescriptorProtos.FeatureSetDefaults getDefaultInstance()
-
parser
public static Parser<DescriptorProtos.FeatureSetDefaults> parser()
-
-