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 class
A compiled specification for the defaults of a set of features.static final class
A map from every known edition with a unique set of defaults to its defaults.static interface
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
FieldsModifier and TypeFieldDescriptionprivate int
private static final DescriptorProtos.FeatureSetDefaults
static final int
static final int
private int
private byte
static final int
private int
private static Parser
<DescriptorProtos.FeatureSetDefaults> 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 -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addAllDefaults
(Iterable<? extends DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault> values) repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
private void
addDefaults
(int index, DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault value) repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
private void
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
private void
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
private void
The maximum known edition (inclusive) when this was constructed.private void
The minimum supported edition (inclusive) when this was constructed.protected final Object
dynamicMethod
(GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) A method that implements different types of operations described inGeneratedMessageLite.MethodToInvoke
.private void
getDefaults
(int index) repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
int
repeated .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.boolean
The maximum known edition (inclusive) when this was constructed.boolean
The 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 void
removeDefaults
(int index) repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
private void
setDefaults
(int index, DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault value) repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
private void
The maximum known edition (inclusive) when this was constructed.private void
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 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:
getDefaultsList
in 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:
getDefaultsCount
in interfaceDescriptorProtos.FeatureSetDefaultsOrBuilder
-
getDefaults
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
- Specified by:
getDefaults
in 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:
hasMinimumEdition
in 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:
getMinimumEdition
in 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:
hasMaximumEdition
in 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:
getMaximumEdition
in 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:GeneratedMessageLite
A 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_INSTANCE
returns a new instance of the protocol buffer that has not yet been made immutable. SeeMAKE_IMMUTABLE
.IS_INITIALIZED
returnsnull
for false and the default instance for true. It doesn't use or modify any memoized value.GET_MEMOIZED_IS_INITIALIZED
returns the memoizedisInitialized
byte value.SET_MEMOIZED_IS_INITIALIZED
sets the memoizedisInitialized
byte value to 1 if the first parameter is not null, or to 0 if the first parameter is null.NEW_BUILDER
returns aBuilderType
instance.
For use by generated code only.
-
getDefaultInstance
-
parser
-