public static final class DescriptorProtos.FeatureSet.Builder extends GeneratedMessageV3.ExtendableBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder> implements DescriptorProtos.FeatureSetOrBuilder
TODO Enums in C++ gencode (and potentially other languages) are not well scoped. This means that each of the feature enums below can clash with each other. The short names we've chosen maximize call-site readability, but leave us very open to this scenario. A future feature will be designed and implemented to handle this, hopefully before we ever hit a conflict here.Protobuf type
google.protobuf.FeatureSet| Modifier and Type | Method and Description |
|---|---|
<Type> DescriptorProtos.FeatureSet.Builder |
addExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.FeatureSet,List<Type>> extension,
Type value)
Append a value to a repeated extension.
|
DescriptorProtos.FeatureSet.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value)
Like
setRepeatedField, but appends the value as a new element. |
DescriptorProtos.FeatureSet |
build()
Constructs the message based on the state of the Builder.
|
DescriptorProtos.FeatureSet |
buildPartial()
Like
MessageLite.Builder.build(), but does not throw an exception if the message is missing required
fields. |
DescriptorProtos.FeatureSet.Builder |
clear()
Called by the initialization and clear code paths to allow subclasses to reset any of their
builtin fields back to the initial values.
|
DescriptorProtos.FeatureSet.Builder |
clearEnumType()
optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
<T> DescriptorProtos.FeatureSet.Builder |
clearExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.FeatureSet,T> extension)
Clears an extension.
|
DescriptorProtos.FeatureSet.Builder |
clearField(Descriptors.FieldDescriptor field)
Clears the field.
|
DescriptorProtos.FeatureSet.Builder |
clearFieldPresence()
optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
DescriptorProtos.FeatureSet.Builder |
clearJsonFormat()
optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
DescriptorProtos.FeatureSet.Builder |
clearMessageEncoding()
optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
DescriptorProtos.FeatureSet.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
TODO: Clear it when all subclasses have implemented this method.
|
DescriptorProtos.FeatureSet.Builder |
clearRepeatedFieldEncoding()
optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
DescriptorProtos.FeatureSet.Builder |
clearUtf8Validation()
optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
DescriptorProtos.FeatureSet.Builder |
clone()
Clones the Builder.
|
DescriptorProtos.FeatureSet |
getDefaultInstanceForType()
Get an instance of the type with no fields set.
|
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType()
Get the message's type's descriptor.
|
DescriptorProtos.FeatureSet.EnumType |
getEnumType()
optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
DescriptorProtos.FeatureSet.FieldPresence |
getFieldPresence()
optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
DescriptorProtos.FeatureSet.JsonFormat |
getJsonFormat()
optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
DescriptorProtos.FeatureSet.MessageEncoding |
getMessageEncoding()
optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
DescriptorProtos.FeatureSet.RepeatedFieldEncoding |
getRepeatedFieldEncoding()
optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
DescriptorProtos.FeatureSet.Utf8Validation |
getUtf8Validation()
optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
boolean |
hasEnumType()
optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
boolean |
hasFieldPresence()
optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
boolean |
hasJsonFormat()
optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
boolean |
hasMessageEncoding()
optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
boolean |
hasRepeatedFieldEncoding()
optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
boolean |
hasUtf8Validation()
optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable()
Get the FieldAccessorTable for this type.
|
boolean |
isInitialized()
Returns true if all required fields in the message and all embedded messages are set, false
otherwise.
|
DescriptorProtos.FeatureSet.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry)
Like
MessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions. |
DescriptorProtos.FeatureSet.Builder |
mergeFrom(DescriptorProtos.FeatureSet other) |
DescriptorProtos.FeatureSet.Builder |
mergeFrom(Message other)
Merge
other into the message being built. |
DescriptorProtos.FeatureSet.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
Merge some unknown fields into the
UnknownFieldSet for this message. |
DescriptorProtos.FeatureSet.Builder |
setEnumType(DescriptorProtos.FeatureSet.EnumType value)
optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
<Type> DescriptorProtos.FeatureSet.Builder |
setExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.FeatureSet,List<Type>> extension,
int index,
Type value)
Set the value of one element of a repeated extension.
|
<Type> DescriptorProtos.FeatureSet.Builder |
setExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.FeatureSet,Type> extension,
Type value)
Set the value of an extension.
|
DescriptorProtos.FeatureSet.Builder |
setField(Descriptors.FieldDescriptor field,
Object value)
Sets a field to the given value.
|
DescriptorProtos.FeatureSet.Builder |
setFieldPresence(DescriptorProtos.FeatureSet.FieldPresence value)
optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
DescriptorProtos.FeatureSet.Builder |
setJsonFormat(DescriptorProtos.FeatureSet.JsonFormat value)
optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
DescriptorProtos.FeatureSet.Builder |
setMessageEncoding(DescriptorProtos.FeatureSet.MessageEncoding value)
optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
DescriptorProtos.FeatureSet.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value)
Sets an element of a repeated field to the given value.
|
DescriptorProtos.FeatureSet.Builder |
setRepeatedFieldEncoding(DescriptorProtos.FeatureSet.RepeatedFieldEncoding value)
optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
DescriptorProtos.FeatureSet.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
Set the
UnknownFieldSet for this message. |
DescriptorProtos.FeatureSet.Builder |
setUtf8Validation(DescriptorProtos.FeatureSet.Utf8Validation value)
optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... |
addExtension, addExtension, clearExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, mergeExtensionFields, newBuilderForField, parseUnknownField, setExtension, setExtension, setExtension, setExtensiongetOneofFieldDescriptor, getParentForChildren, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeDelimitedFrom, mergeDelimitedFrommergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
GeneratedMessageV3.BuilderinternalGetFieldAccessorTable in class GeneratedMessageV3.Builder<DescriptorProtos.FeatureSet.Builder>public DescriptorProtos.FeatureSet.Builder clear()
GeneratedMessageV3.Builderclear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.ExtendableBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>public Descriptors.Descriptor getDescriptorForType()
Message.BuilderMessageOrBuilder.getDescriptorForType().getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<DescriptorProtos.FeatureSet.Builder>public DescriptorProtos.FeatureSet 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 GeneratedMessageV3.ExtendableMessageOrBuilder<DescriptorProtos.FeatureSet>getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic DescriptorProtos.FeatureSet build()
MessageLite.Builderbuild in interface Message.Builderbuild in interface MessageLite.Builderpublic DescriptorProtos.FeatureSet buildPartial()
MessageLite.BuilderMessageLite.Builder.build(), but does not throw an exception if the message is missing required
fields. Instead, a partial message is returned. Subsequent changes to the Builder will not
affect the returned message.buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic DescriptorProtos.FeatureSet.Builder clone()
MessageLite.Builderclone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<DescriptorProtos.FeatureSet.Builder>Object.clone()public DescriptorProtos.FeatureSet.Builder setField(Descriptors.FieldDescriptor field, Object value)
Message.BuilderMessageOrBuilder.getField(Descriptors.FieldDescriptor) returns.setField in interface Message.BuildersetField in class GeneratedMessageV3.ExtendableBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>public DescriptorProtos.FeatureSet.Builder clearField(Descriptors.FieldDescriptor field)
Message.BuilderclearField in interface Message.BuilderclearField in class GeneratedMessageV3.ExtendableBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>public DescriptorProtos.FeatureSet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
AbstractMessage.BuilderclearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<DescriptorProtos.FeatureSet.Builder>public DescriptorProtos.FeatureSet.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Message.BuilderMessageOrBuilder.getRepeatedField(Descriptors.FieldDescriptor,int) returns.setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.ExtendableBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>public DescriptorProtos.FeatureSet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Message.BuildersetRepeatedField, but appends the value as a new element.addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.ExtendableBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>public <Type> DescriptorProtos.FeatureSet.Builder setExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.FeatureSet,Type> extension, Type value)
GeneratedMessageV3.ExtendableBuilderTODO: handled by ExtensionLite version
public <Type> DescriptorProtos.FeatureSet.Builder setExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.FeatureSet,List<Type>> extension, int index, Type value)
GeneratedMessageV3.ExtendableBuilderTODO: handled by ExtensionLite version
public <Type> DescriptorProtos.FeatureSet.Builder addExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.FeatureSet,List<Type>> extension, Type value)
GeneratedMessageV3.ExtendableBuilderTODO: handled by ExtensionLite version
public <T> DescriptorProtos.FeatureSet.Builder clearExtension(GeneratedMessage.GeneratedExtension<DescriptorProtos.FeatureSet,T> extension)
GeneratedMessageV3.ExtendableBuilderTODO: handled by ExtensionLite version
public DescriptorProtos.FeatureSet.Builder mergeFrom(Message other)
Message.Builderother into the message being built. other must have the exact same type
as this (i.e. getDescriptorForType() == other.getDescriptorForType()).
Merging occurs as follows. For each field:
* For singular primitive fields, if the field is set in other, then other's
value overwrites the value in this message.
* For singular message fields, if the field is set in other, it is merged into the
corresponding sub-message of this message using the same merging rules.
* For repeated fields, the elements in other are concatenated with the elements in
this message.
* For oneof groups, if the other message has one of the fields set, the group of this message
is cleared and replaced by the field of the other message, so that the oneof constraint is
preserved.
This is equivalent to the Message::MergeFrom method in C++.
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<DescriptorProtos.FeatureSet.Builder>public DescriptorProtos.FeatureSet.Builder mergeFrom(DescriptorProtos.FeatureSet other)
public final boolean isInitialized()
MessageLiteOrBuilderisInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.ExtendableBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>public DescriptorProtos.FeatureSet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
MessageLite.BuilderMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions. The extensions
that you want to be able to parse must be registered in extensionRegistry. Extensions
not in the registry will be treated as unknown fields.mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<DescriptorProtos.FeatureSet.Builder>InvalidProtocolBufferException - the bytes read are not syntactically correct according
to the protobuf wire format specification. The data is corrupt, incomplete, or was never
a protobuf in the first place.IOException - an I/O error reading from the streampublic boolean hasFieldPresence()
optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }hasFieldPresence in interface DescriptorProtos.FeatureSetOrBuilderpublic DescriptorProtos.FeatureSet.FieldPresence getFieldPresence()
optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }getFieldPresence in interface DescriptorProtos.FeatureSetOrBuilderpublic DescriptorProtos.FeatureSet.Builder setFieldPresence(DescriptorProtos.FeatureSet.FieldPresence value)
optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }value - The fieldPresence to set.public DescriptorProtos.FeatureSet.Builder clearFieldPresence()
optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }public boolean hasEnumType()
optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }hasEnumType in interface DescriptorProtos.FeatureSetOrBuilderpublic DescriptorProtos.FeatureSet.EnumType getEnumType()
optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }getEnumType in interface DescriptorProtos.FeatureSetOrBuilderpublic DescriptorProtos.FeatureSet.Builder setEnumType(DescriptorProtos.FeatureSet.EnumType value)
optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }value - The enumType to set.public DescriptorProtos.FeatureSet.Builder clearEnumType()
optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }public boolean hasRepeatedFieldEncoding()
optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }hasRepeatedFieldEncoding in interface DescriptorProtos.FeatureSetOrBuilderpublic DescriptorProtos.FeatureSet.RepeatedFieldEncoding getRepeatedFieldEncoding()
optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }getRepeatedFieldEncoding in interface DescriptorProtos.FeatureSetOrBuilderpublic DescriptorProtos.FeatureSet.Builder setRepeatedFieldEncoding(DescriptorProtos.FeatureSet.RepeatedFieldEncoding value)
optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }value - The repeatedFieldEncoding to set.public DescriptorProtos.FeatureSet.Builder clearRepeatedFieldEncoding()
optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }public boolean hasUtf8Validation()
optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }hasUtf8Validation in interface DescriptorProtos.FeatureSetOrBuilderpublic DescriptorProtos.FeatureSet.Utf8Validation getUtf8Validation()
optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }getUtf8Validation in interface DescriptorProtos.FeatureSetOrBuilderpublic DescriptorProtos.FeatureSet.Builder setUtf8Validation(DescriptorProtos.FeatureSet.Utf8Validation value)
optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }value - The utf8Validation to set.public DescriptorProtos.FeatureSet.Builder clearUtf8Validation()
optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }public boolean hasMessageEncoding()
optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }hasMessageEncoding in interface DescriptorProtos.FeatureSetOrBuilderpublic DescriptorProtos.FeatureSet.MessageEncoding getMessageEncoding()
optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }getMessageEncoding in interface DescriptorProtos.FeatureSetOrBuilderpublic DescriptorProtos.FeatureSet.Builder setMessageEncoding(DescriptorProtos.FeatureSet.MessageEncoding value)
optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }value - The messageEncoding to set.public DescriptorProtos.FeatureSet.Builder clearMessageEncoding()
optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }public boolean hasJsonFormat()
optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }hasJsonFormat in interface DescriptorProtos.FeatureSetOrBuilderpublic DescriptorProtos.FeatureSet.JsonFormat getJsonFormat()
optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }getJsonFormat in interface DescriptorProtos.FeatureSetOrBuilderpublic DescriptorProtos.FeatureSet.Builder setJsonFormat(DescriptorProtos.FeatureSet.JsonFormat value)
optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }value - The jsonFormat to set.public DescriptorProtos.FeatureSet.Builder clearJsonFormat()
optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }public final DescriptorProtos.FeatureSet.Builder setUnknownFields(UnknownFieldSet unknownFields)
Message.BuilderUnknownFieldSet for this message.setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<DescriptorProtos.FeatureSet.Builder>public final DescriptorProtos.FeatureSet.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Message.BuilderUnknownFieldSet for this message.mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<DescriptorProtos.FeatureSet.Builder>Copyright © 2008–2024. All rights reserved.