public static final class DescriptorProtos.FeatureSetDefaults extends GeneratedMessageV3 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| Modifier and Type | Class and Description |
|---|---|
static class |
DescriptorProtos.FeatureSetDefaults.Builder
A compiled specification for the defaults of a set of features.
|
static class |
DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault
A map from every known edition with a unique set of defaults to its
defaults.
|
static interface |
DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefaultOrBuilder |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, GeneratedMessageV3.ExtendableMessage<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULTS_FIELD_NUMBER |
static int |
MAXIMUM_EDITION_FIELD_NUMBER |
static int |
MINIMUM_EDITION_FIELD_NUMBER |
static Parser<DescriptorProtos.FeatureSetDefaults> |
PARSER
Deprecated.
|
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int DEFAULTS_FIELD_NUMBER
public static final int MINIMUM_EDITION_FIELD_NUMBER
public static final int MAXIMUM_EDITION_FIELD_NUMBER
@Deprecated public static final Parser<DescriptorProtos.FeatureSetDefaults> PARSER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
GeneratedMessageV3newInstance in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
GeneratedMessageV3internalGetFieldAccessorTable in class GeneratedMessageV3public List<DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault> getDefaultsList()
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;getDefaultsList in interface DescriptorProtos.FeatureSetDefaultsOrBuilderpublic List<? extends DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefaultOrBuilder> getDefaultsOrBuilderList()
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;getDefaultsOrBuilderList in interface DescriptorProtos.FeatureSetDefaultsOrBuilderpublic int getDefaultsCount()
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;getDefaultsCount in interface DescriptorProtos.FeatureSetDefaultsOrBuilderpublic DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault getDefaults(int index)
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;getDefaults in interface DescriptorProtos.FeatureSetDefaultsOrBuilderpublic DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefaultOrBuilder getDefaultsOrBuilder(int index)
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;getDefaultsOrBuilder in interface DescriptorProtos.FeatureSetDefaultsOrBuilderpublic 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;hasMinimumEdition in interface DescriptorProtos.FeatureSetDefaultsOrBuilderpublic 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;getMinimumEdition in interface DescriptorProtos.FeatureSetDefaultsOrBuilderpublic 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;hasMaximumEdition in interface DescriptorProtos.FeatureSetDefaultsOrBuilderpublic 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;getMaximumEdition in interface DescriptorProtos.FeatureSetDefaultsOrBuilderpublic final boolean isInitialized()
MessageLiteOrBuilderisInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
MessageLiteoutput. This does not flush or close the
stream.writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
MessageLitegetSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
Messagetrue if the given
object is a message of the same type (as defined by getDescriptorForType()) and has
identical values for all of its fields. Subclasses must implement this; inheriting Object.equals() is incorrect.equals in interface Messageequals in class AbstractMessageobj - object to be compared for equality with this messagetrue if the specified object is equal to this messagepublic int hashCode()
MessageObject.hashCode() is incorrect.hashCode in interface MessagehashCode in class AbstractMessageMap.hashCode()public static DescriptorProtos.FeatureSetDefaults parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.FeatureSetDefaults parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.FeatureSetDefaults parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.FeatureSetDefaults parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.FeatureSetDefaults parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.FeatureSetDefaults parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.FeatureSetDefaults parseFrom(InputStream input) throws IOException
IOExceptionpublic static DescriptorProtos.FeatureSetDefaults parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DescriptorProtos.FeatureSetDefaults parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DescriptorProtos.FeatureSetDefaults parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DescriptorProtos.FeatureSetDefaults parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static DescriptorProtos.FeatureSetDefaults parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DescriptorProtos.FeatureSetDefaults.Builder newBuilderForType()
MessageLitenewBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static DescriptorProtos.FeatureSetDefaults.Builder newBuilder()
public static DescriptorProtos.FeatureSetDefaults.Builder newBuilder(DescriptorProtos.FeatureSetDefaults prototype)
public DescriptorProtos.FeatureSetDefaults.Builder toBuilder()
MessageLitetoBuilder in interface MessagetoBuilder in interface MessageLiteprotected DescriptorProtos.FeatureSetDefaults.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
GeneratedMessageV3newBuilderForType in class GeneratedMessageV3public static DescriptorProtos.FeatureSetDefaults getDefaultInstance()
public static Parser<DescriptorProtos.FeatureSetDefaults> parser()
public Parser<DescriptorProtos.FeatureSetDefaults> getParserForType()
GeneratedMessageV3getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public DescriptorProtos.FeatureSetDefaults getDefaultInstanceForType()
MessageLiteOrBuildergetDefaultInstance() method of generated
message classes in that this method is an abstract method of the MessageLite interface
whereas getDefaultInstance() is a static method of a specific class. They return the
same thing.getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2008–2024. All rights reserved.