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.UnusedPrivateParameter
AbstractMessageLite.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, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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)
GeneratedMessageV3
newInstance
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
GeneratedMessageV3
internalGetFieldAccessorTable
in class GeneratedMessageV3
public List<DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault> getDefaultsList()
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
getDefaultsList
in interface DescriptorProtos.FeatureSetDefaultsOrBuilder
public List<? extends DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefaultOrBuilder> getDefaultsOrBuilderList()
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
getDefaultsOrBuilderList
in interface DescriptorProtos.FeatureSetDefaultsOrBuilder
public int getDefaultsCount()
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
getDefaultsCount
in interface DescriptorProtos.FeatureSetDefaultsOrBuilder
public DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault getDefaults(int index)
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
getDefaults
in interface DescriptorProtos.FeatureSetDefaultsOrBuilder
public DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefaultOrBuilder getDefaultsOrBuilder(int index)
repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
getDefaultsOrBuilder
in interface DescriptorProtos.FeatureSetDefaultsOrBuilder
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;
hasMinimumEdition
in interface DescriptorProtos.FeatureSetDefaultsOrBuilder
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;
getMinimumEdition
in interface DescriptorProtos.FeatureSetDefaultsOrBuilder
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;
hasMaximumEdition
in interface DescriptorProtos.FeatureSetDefaultsOrBuilder
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;
getMaximumEdition
in interface DescriptorProtos.FeatureSetDefaultsOrBuilder
public final boolean isInitialized()
MessageLiteOrBuilder
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
MessageLite
output
. This does not flush or close the
stream.writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
MessageLite
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
Message
true
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 Message
equals
in class AbstractMessage
obj
- object to be compared for equality with this messagetrue
if the specified object is equal to this messagepublic int hashCode()
Message
Object.hashCode()
is incorrect.hashCode
in interface Message
hashCode
in class AbstractMessage
Map.hashCode()
public static DescriptorProtos.FeatureSetDefaults parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.FeatureSetDefaults parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.FeatureSetDefaults parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.FeatureSetDefaults parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.FeatureSetDefaults parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.FeatureSetDefaults parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.FeatureSetDefaults parseFrom(InputStream input) throws IOException
IOException
public static DescriptorProtos.FeatureSetDefaults parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DescriptorProtos.FeatureSetDefaults parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DescriptorProtos.FeatureSetDefaults parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DescriptorProtos.FeatureSetDefaults parseFrom(CodedInputStream input) throws IOException
IOException
public static DescriptorProtos.FeatureSetDefaults parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public DescriptorProtos.FeatureSetDefaults.Builder newBuilderForType()
MessageLite
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static DescriptorProtos.FeatureSetDefaults.Builder newBuilder()
public static DescriptorProtos.FeatureSetDefaults.Builder newBuilder(DescriptorProtos.FeatureSetDefaults prototype)
public DescriptorProtos.FeatureSetDefaults.Builder toBuilder()
MessageLite
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected DescriptorProtos.FeatureSetDefaults.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
GeneratedMessageV3
newBuilderForType
in class GeneratedMessageV3
public static DescriptorProtos.FeatureSetDefaults getDefaultInstance()
public static Parser<DescriptorProtos.FeatureSetDefaults> parser()
public Parser<DescriptorProtos.FeatureSetDefaults> getParserForType()
GeneratedMessageV3
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public DescriptorProtos.FeatureSetDefaults getDefaultInstanceForType()
MessageLiteOrBuilder
getDefaultInstance()
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 MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2008–2024. All rights reserved.