Package com.google.protobuf
Class DescriptorProtos.FeatureSet.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>
-
- com.google.protobuf.DescriptorProtos.FeatureSet.Builder
-
- All Implemented Interfaces:
DescriptorProtos.FeatureSetOrBuilder,com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<DescriptorProtos.FeatureSet>,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- DescriptorProtos.FeatureSet
public static final class DescriptorProtos.FeatureSet.Builder extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder> implements DescriptorProtos.FeatureSetOrBuilder
TODO(b/274655146) 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 typegoogle.protobuf.FeatureSet
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <Type> DescriptorProtos.FeatureSet.BuilderaddExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FeatureSet,java.util.List<Type>> extension, Type value)DescriptorProtos.FeatureSet.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DescriptorProtos.FeatureSetbuild()DescriptorProtos.FeatureSetbuildPartial()DescriptorProtos.FeatureSet.Builderclear()DescriptorProtos.FeatureSet.BuilderclearEnumType()optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ...<T> DescriptorProtos.FeatureSet.BuilderclearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FeatureSet,T> extension)DescriptorProtos.FeatureSet.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DescriptorProtos.FeatureSet.BuilderclearFieldPresence()optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...DescriptorProtos.FeatureSet.BuilderclearJsonFormat()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.BuilderclearMessageEncoding()optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...DescriptorProtos.FeatureSet.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DescriptorProtos.FeatureSet.BuilderclearRawFeatures()optional .google.protobuf.FeatureSet raw_features = 999 [targets = TARGET_TYPE_UNKNOWN];DescriptorProtos.FeatureSet.BuilderclearRepeatedFieldEncoding()optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...DescriptorProtos.FeatureSet.BuilderclearStringFieldValidation()optional .google.protobuf.FeatureSet.StringFieldValidation string_field_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...DescriptorProtos.FeatureSet.Builderclone()DescriptorProtos.FeatureSetgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()DescriptorProtos.FeatureSet.EnumTypegetEnumType()optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ...DescriptorProtos.FeatureSet.FieldPresencegetFieldPresence()optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...DescriptorProtos.FeatureSet.JsonFormatgetJsonFormat()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.MessageEncodinggetMessageEncoding()optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...DescriptorProtos.FeatureSetgetRawFeatures()optional .google.protobuf.FeatureSet raw_features = 999 [targets = TARGET_TYPE_UNKNOWN];DescriptorProtos.FeatureSet.BuildergetRawFeaturesBuilder()optional .google.protobuf.FeatureSet raw_features = 999 [targets = TARGET_TYPE_UNKNOWN];DescriptorProtos.FeatureSetOrBuildergetRawFeaturesOrBuilder()optional .google.protobuf.FeatureSet raw_features = 999 [targets = TARGET_TYPE_UNKNOWN];DescriptorProtos.FeatureSet.RepeatedFieldEncodinggetRepeatedFieldEncoding()optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...DescriptorProtos.FeatureSet.StringFieldValidationgetStringFieldValidation()optional .google.protobuf.FeatureSet.StringFieldValidation string_field_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...booleanhasEnumType()optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ...booleanhasFieldPresence()optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...booleanhasJsonFormat()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 = { ...booleanhasMessageEncoding()optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...booleanhasRawFeatures()optional .google.protobuf.FeatureSet raw_features = 999 [targets = TARGET_TYPE_UNKNOWN];booleanhasRepeatedFieldEncoding()optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...booleanhasStringFieldValidation()optional .google.protobuf.FeatureSet.StringFieldValidation string_field_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DescriptorProtos.FeatureSet.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DescriptorProtos.FeatureSet.BuildermergeFrom(DescriptorProtos.FeatureSet other)DescriptorProtos.FeatureSet.BuildermergeFrom(com.google.protobuf.Message other)DescriptorProtos.FeatureSet.BuildermergeRawFeatures(DescriptorProtos.FeatureSet value)optional .google.protobuf.FeatureSet raw_features = 999 [targets = TARGET_TYPE_UNKNOWN];DescriptorProtos.FeatureSet.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DescriptorProtos.FeatureSet.BuildersetEnumType(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.BuildersetExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FeatureSet,java.util.List<Type>> extension, int index, Type value)<Type> DescriptorProtos.FeatureSet.BuildersetExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FeatureSet,Type> extension, Type value)DescriptorProtos.FeatureSet.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DescriptorProtos.FeatureSet.BuildersetFieldPresence(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.BuildersetJsonFormat(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.BuildersetMessageEncoding(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.BuildersetRawFeatures(DescriptorProtos.FeatureSet value)optional .google.protobuf.FeatureSet raw_features = 999 [targets = TARGET_TYPE_UNKNOWN];DescriptorProtos.FeatureSet.BuildersetRawFeatures(DescriptorProtos.FeatureSet.Builder builderForValue)optional .google.protobuf.FeatureSet raw_features = 999 [targets = TARGET_TYPE_UNKNOWN];DescriptorProtos.FeatureSet.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)DescriptorProtos.FeatureSet.BuildersetRepeatedFieldEncoding(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.BuildersetStringFieldValidation(DescriptorProtos.FeatureSet.StringFieldValidation value)optional .google.protobuf.FeatureSet.StringFieldValidation string_field_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ...DescriptorProtos.FeatureSet.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder
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, setExtension
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getOneofFieldDescriptor, getParentForChildren, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FeatureSet.Builder>
-
clear
public DescriptorProtos.FeatureSet.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FeatureSet.Builder>
-
getDefaultInstanceForType
public DescriptorProtos.FeatureSet getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<DescriptorProtos.FeatureSet>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DescriptorProtos.FeatureSet build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DescriptorProtos.FeatureSet buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DescriptorProtos.FeatureSet.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FeatureSet.Builder>
-
setField
public DescriptorProtos.FeatureSet.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>
-
clearField
public DescriptorProtos.FeatureSet.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>
-
clearOneof
public DescriptorProtos.FeatureSet.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FeatureSet.Builder>
-
setRepeatedField
public DescriptorProtos.FeatureSet.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>
-
addRepeatedField
public DescriptorProtos.FeatureSet.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>
-
setExtension
public <Type> DescriptorProtos.FeatureSet.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FeatureSet,Type> extension, Type value)
- Overrides:
setExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>
-
setExtension
public <Type> DescriptorProtos.FeatureSet.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FeatureSet,java.util.List<Type>> extension, int index, Type value)
- Overrides:
setExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>
-
addExtension
public <Type> DescriptorProtos.FeatureSet.Builder addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FeatureSet,java.util.List<Type>> extension, Type value)
- Overrides:
addExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>
-
clearExtension
public <T> DescriptorProtos.FeatureSet.Builder clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FeatureSet,T> extension)
- Overrides:
clearExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>
-
mergeFrom
public DescriptorProtos.FeatureSet.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DescriptorProtos.FeatureSet.Builder>
-
mergeFrom
public DescriptorProtos.FeatureSet.Builder mergeFrom(DescriptorProtos.FeatureSet other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<DescriptorProtos.FeatureSet,DescriptorProtos.FeatureSet.Builder>
-
mergeFrom
public DescriptorProtos.FeatureSet.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DescriptorProtos.FeatureSet.Builder>- Throws:
java.io.IOException
-
hasFieldPresence
public boolean hasFieldPresence()
optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }- Specified by:
hasFieldPresencein interfaceDescriptorProtos.FeatureSetOrBuilder- Returns:
- Whether the fieldPresence field is set.
-
getFieldPresence
public 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 = { ... }- Specified by:
getFieldPresencein interfaceDescriptorProtos.FeatureSetOrBuilder- Returns:
- The fieldPresence.
-
setFieldPresence
public 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 = { ... }- Parameters:
value- The fieldPresence to set.- Returns:
- This builder for chaining.
-
clearFieldPresence
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 = { ... }- Returns:
- This builder for chaining.
-
hasEnumType
public boolean hasEnumType()
optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { ... }- Specified by:
hasEnumTypein interfaceDescriptorProtos.FeatureSetOrBuilder- Returns:
- Whether the enumType field is set.
-
getEnumType
public 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 = { ... }- Specified by:
getEnumTypein interfaceDescriptorProtos.FeatureSetOrBuilder- Returns:
- The enumType.
-
setEnumType
public 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 = { ... }- Parameters:
value- The enumType to set.- Returns:
- This builder for chaining.
-
clearEnumType
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 = { ... }- Returns:
- This builder for chaining.
-
hasRepeatedFieldEncoding
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 = { ... }- Specified by:
hasRepeatedFieldEncodingin interfaceDescriptorProtos.FeatureSetOrBuilder- Returns:
- Whether the repeatedFieldEncoding field is set.
-
getRepeatedFieldEncoding
public 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 = { ... }- Specified by:
getRepeatedFieldEncodingin interfaceDescriptorProtos.FeatureSetOrBuilder- Returns:
- The repeatedFieldEncoding.
-
setRepeatedFieldEncoding
public 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 = { ... }- Parameters:
value- The repeatedFieldEncoding to set.- Returns:
- This builder for chaining.
-
clearRepeatedFieldEncoding
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 = { ... }- Returns:
- This builder for chaining.
-
hasStringFieldValidation
public boolean hasStringFieldValidation()
optional .google.protobuf.FeatureSet.StringFieldValidation string_field_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }- Specified by:
hasStringFieldValidationin interfaceDescriptorProtos.FeatureSetOrBuilder- Returns:
- Whether the stringFieldValidation field is set.
-
getStringFieldValidation
public DescriptorProtos.FeatureSet.StringFieldValidation getStringFieldValidation()
optional .google.protobuf.FeatureSet.StringFieldValidation string_field_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }- Specified by:
getStringFieldValidationin interfaceDescriptorProtos.FeatureSetOrBuilder- Returns:
- The stringFieldValidation.
-
setStringFieldValidation
public DescriptorProtos.FeatureSet.Builder setStringFieldValidation(DescriptorProtos.FeatureSet.StringFieldValidation value)
optional .google.protobuf.FeatureSet.StringFieldValidation string_field_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }- Parameters:
value- The stringFieldValidation to set.- Returns:
- This builder for chaining.
-
clearStringFieldValidation
public DescriptorProtos.FeatureSet.Builder clearStringFieldValidation()
optional .google.protobuf.FeatureSet.StringFieldValidation string_field_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }- Returns:
- This builder for chaining.
-
hasMessageEncoding
public boolean hasMessageEncoding()
optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { ... }- Specified by:
hasMessageEncodingin interfaceDescriptorProtos.FeatureSetOrBuilder- Returns:
- Whether the messageEncoding field is set.
-
getMessageEncoding
public 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 = { ... }- Specified by:
getMessageEncodingin interfaceDescriptorProtos.FeatureSetOrBuilder- Returns:
- The messageEncoding.
-
setMessageEncoding
public 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 = { ... }- Parameters:
value- The messageEncoding to set.- Returns:
- This builder for chaining.
-
clearMessageEncoding
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 = { ... }- Returns:
- This builder for chaining.
-
hasJsonFormat
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 = { ... }- Specified by:
hasJsonFormatin interfaceDescriptorProtos.FeatureSetOrBuilder- Returns:
- Whether the jsonFormat field is set.
-
getJsonFormat
public 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 = { ... }- Specified by:
getJsonFormatin interfaceDescriptorProtos.FeatureSetOrBuilder- Returns:
- The jsonFormat.
-
setJsonFormat
public 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 = { ... }- Parameters:
value- The jsonFormat to set.- Returns:
- This builder for chaining.
-
clearJsonFormat
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 = { ... }- Returns:
- This builder for chaining.
-
hasRawFeatures
public boolean hasRawFeatures()
optional .google.protobuf.FeatureSet raw_features = 999 [targets = TARGET_TYPE_UNKNOWN];- Specified by:
hasRawFeaturesin interfaceDescriptorProtos.FeatureSetOrBuilder- Returns:
- Whether the rawFeatures field is set.
-
getRawFeatures
public DescriptorProtos.FeatureSet getRawFeatures()
optional .google.protobuf.FeatureSet raw_features = 999 [targets = TARGET_TYPE_UNKNOWN];- Specified by:
getRawFeaturesin interfaceDescriptorProtos.FeatureSetOrBuilder- Returns:
- The rawFeatures.
-
setRawFeatures
public DescriptorProtos.FeatureSet.Builder setRawFeatures(DescriptorProtos.FeatureSet value)
optional .google.protobuf.FeatureSet raw_features = 999 [targets = TARGET_TYPE_UNKNOWN];
-
setRawFeatures
public DescriptorProtos.FeatureSet.Builder setRawFeatures(DescriptorProtos.FeatureSet.Builder builderForValue)
optional .google.protobuf.FeatureSet raw_features = 999 [targets = TARGET_TYPE_UNKNOWN];
-
mergeRawFeatures
public DescriptorProtos.FeatureSet.Builder mergeRawFeatures(DescriptorProtos.FeatureSet value)
optional .google.protobuf.FeatureSet raw_features = 999 [targets = TARGET_TYPE_UNKNOWN];
-
clearRawFeatures
public DescriptorProtos.FeatureSet.Builder clearRawFeatures()
optional .google.protobuf.FeatureSet raw_features = 999 [targets = TARGET_TYPE_UNKNOWN];
-
getRawFeaturesBuilder
public DescriptorProtos.FeatureSet.Builder getRawFeaturesBuilder()
optional .google.protobuf.FeatureSet raw_features = 999 [targets = TARGET_TYPE_UNKNOWN];
-
getRawFeaturesOrBuilder
public DescriptorProtos.FeatureSetOrBuilder getRawFeaturesOrBuilder()
optional .google.protobuf.FeatureSet raw_features = 999 [targets = TARGET_TYPE_UNKNOWN];- Specified by:
getRawFeaturesOrBuilderin interfaceDescriptorProtos.FeatureSetOrBuilder
-
setUnknownFields
public final DescriptorProtos.FeatureSet.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FeatureSet.Builder>
-
mergeUnknownFields
public final DescriptorProtos.FeatureSet.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FeatureSet.Builder>
-
-