Package com.google.protobuf
Class DescriptorProtos.FeatureSetDefaults
java.lang.Object
com.google.protobuf.AbstractMessageLite<DescriptorProtos.FeatureSetDefaults,DescriptorProtos.FeatureSetDefaults.Builder>
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 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
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
FieldsModifier and TypeFieldDescriptionprivate intprivate static final DescriptorProtos.FeatureSetDefaultsstatic final intstatic final intprivate intprivate bytestatic final intprivate intprivate static Parser<DescriptorProtos.FeatureSetDefaults> Fields inherited from class com.google.protobuf.GeneratedMessageLite
UNINITIALIZED_HASH_CODE, UNINITIALIZED_SERIALIZED_SIZE, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddAllDefaults(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 voidrepeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;private voidrepeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;private voidThe maximum known edition (inclusive) when this was constructed.private voidThe minimum supported edition (inclusive) when this was constructed.protected final ObjectdynamicMethod(GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) A method that implements different types of operations described inGeneratedMessageLite.MethodToInvoke.private voidgetDefaults(int index) repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;intrepeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;getDefaultsOrBuilder(int index) repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;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, ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) parseFrom(ByteString data) parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) parseFrom(CodedInputStream input) parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 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 voidThe maximum known edition (inclusive) when this was constructed.private voidThe minimum supported edition (inclusive) when this was constructed.Methods inherited from class com.google.protobuf.GeneratedMessageLite
buildMessageInfo, clearMemoizedHashCode, clearMemoizedSerializedSize, computeHashCode, createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstance, getDefaultInstanceForType, getMemoizedHashCode, getMemoizedSerializedSize, getMethodOrDie, getParserForType, getSerializedSize, getSerializedSize, hashCode, hashCodeIsNotMemoized, invokeOrDie, 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, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, newUninitializedMessageException, 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
-
bitField0_
private int bitField0_ -
DEFAULTS_FIELD_NUMBER
public static final int DEFAULTS_FIELD_NUMBER- See Also:
-
defaults_
-
MINIMUM_EDITION_FIELD_NUMBER
public static final int MINIMUM_EDITION_FIELD_NUMBER- See Also:
-
minimumEdition_
private int minimumEdition_ -
MAXIMUM_EDITION_FIELD_NUMBER
public static final int MAXIMUM_EDITION_FIELD_NUMBER- See Also:
-
maximumEdition_
private int maximumEdition_ -
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
FeatureSetDefaults
private FeatureSetDefaults()
-
-
Method Details
-
getDefaultsList
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;- Specified by:
getDefaultsListin interfaceDescriptorProtos.FeatureSetDefaultsOrBuilder
-
getDefaultsOrBuilderList
public 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
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
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(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
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
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
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
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(ByteBuffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(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
- Throws:
IOException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(InputStream input, 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, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DescriptorProtos.FeatureSetDefaults parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static DescriptorProtos.FeatureSetDefaults.Builder newBuilder(DescriptorProtos.FeatureSetDefaults prototype) -
dynamicMethod
protected final Object dynamicMethod(GeneratedMessageLite.MethodToInvoke method, Object arg0, 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.
-
getDefaultInstance
-
parser
-