Class TypedExtensionConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TypedExtensionConfig.Builder>
-
- io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TypedExtensionConfigOrBuilder,Cloneable
- Enclosing class:
- TypedExtensionConfig
public static final class TypedExtensionConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TypedExtensionConfig.Builder> implements TypedExtensionConfigOrBuilder
Message type for extension configuration. [#next-major-version: revisit all existing typed_config that doesn't use this wrapper.].
Protobuf typeenvoy.config.core.v3.TypedExtensionConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TypedExtensionConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TypedExtensionConfigbuild()TypedExtensionConfigbuildPartial()TypedExtensionConfig.Builderclear()TypedExtensionConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TypedExtensionConfig.BuilderclearName()The name of an extension.TypedExtensionConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TypedExtensionConfig.BuilderclearTypedConfig()The typed config for the extension.TypedExtensionConfig.Builderclone()TypedExtensionConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetName()The name of an extension.com.google.protobuf.ByteStringgetNameBytes()The name of an extension.com.google.protobuf.AnygetTypedConfig()The typed config for the extension.com.google.protobuf.Any.BuildergetTypedConfigBuilder()The typed config for the extension.com.google.protobuf.AnyOrBuildergetTypedConfigOrBuilder()The typed config for the extension.booleanhasTypedConfig()The typed config for the extension.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TypedExtensionConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TypedExtensionConfig.BuildermergeFrom(com.google.protobuf.Message other)TypedExtensionConfig.BuildermergeFrom(TypedExtensionConfig other)TypedExtensionConfig.BuildermergeTypedConfig(com.google.protobuf.Any value)The typed config for the extension.TypedExtensionConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TypedExtensionConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TypedExtensionConfig.BuildersetName(String value)The name of an extension.TypedExtensionConfig.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of an extension.TypedExtensionConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TypedExtensionConfig.BuildersetTypedConfig(com.google.protobuf.Any value)The typed config for the extension.TypedExtensionConfig.BuildersetTypedConfig(com.google.protobuf.Any.Builder builderForValue)The typed config for the extension.TypedExtensionConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
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<TypedExtensionConfig.Builder>
-
clear
public TypedExtensionConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TypedExtensionConfig.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<TypedExtensionConfig.Builder>
-
getDefaultInstanceForType
public TypedExtensionConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TypedExtensionConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TypedExtensionConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TypedExtensionConfig.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<TypedExtensionConfig.Builder>
-
setField
public TypedExtensionConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TypedExtensionConfig.Builder>
-
clearField
public TypedExtensionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TypedExtensionConfig.Builder>
-
clearOneof
public TypedExtensionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TypedExtensionConfig.Builder>
-
setRepeatedField
public TypedExtensionConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TypedExtensionConfig.Builder>
-
addRepeatedField
public TypedExtensionConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TypedExtensionConfig.Builder>
-
mergeFrom
public TypedExtensionConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TypedExtensionConfig.Builder>
-
mergeFrom
public TypedExtensionConfig.Builder mergeFrom(TypedExtensionConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TypedExtensionConfig.Builder>
-
mergeFrom
public TypedExtensionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TypedExtensionConfig.Builder>- Throws:
IOException
-
getName
public String getName()
The name of an extension. This is not used to select the extension, instead it serves the role of an opaque identifier.
string name = 1 [(.validate.rules) = { ... }- Specified by:
getNamein interfaceTypedExtensionConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of an extension. This is not used to select the extension, instead it serves the role of an opaque identifier.
string name = 1 [(.validate.rules) = { ... }- Specified by:
getNameBytesin interfaceTypedExtensionConfigOrBuilder- Returns:
- The bytes for name.
-
setName
public TypedExtensionConfig.Builder setName(String value)
The name of an extension. This is not used to select the extension, instead it serves the role of an opaque identifier.
string name = 1 [(.validate.rules) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public TypedExtensionConfig.Builder clearName()
The name of an extension. This is not used to select the extension, instead it serves the role of an opaque identifier.
string name = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
public TypedExtensionConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of an extension. This is not used to select the extension, instead it serves the role of an opaque identifier.
string name = 1 [(.validate.rules) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasTypedConfig
public boolean hasTypedConfig()
The typed config for the extension. The type URL will be used to identify the extension. In the case that the type URL is ``xds.type.v3.TypedStruct`` (or, for historical reasons, ``udpa.type.v1.TypedStruct``), the inner type URL of ``TypedStruct`` will be utilized. See the :ref:`extension configuration overview <config_overview_extension_configuration>` for further details.
.google.protobuf.Any typed_config = 2 [(.validate.rules) = { ... }- Specified by:
hasTypedConfigin interfaceTypedExtensionConfigOrBuilder- Returns:
- Whether the typedConfig field is set.
-
getTypedConfig
public com.google.protobuf.Any getTypedConfig()
The typed config for the extension. The type URL will be used to identify the extension. In the case that the type URL is ``xds.type.v3.TypedStruct`` (or, for historical reasons, ``udpa.type.v1.TypedStruct``), the inner type URL of ``TypedStruct`` will be utilized. See the :ref:`extension configuration overview <config_overview_extension_configuration>` for further details.
.google.protobuf.Any typed_config = 2 [(.validate.rules) = { ... }- Specified by:
getTypedConfigin interfaceTypedExtensionConfigOrBuilder- Returns:
- The typedConfig.
-
setTypedConfig
public TypedExtensionConfig.Builder setTypedConfig(com.google.protobuf.Any value)
The typed config for the extension. The type URL will be used to identify the extension. In the case that the type URL is ``xds.type.v3.TypedStruct`` (or, for historical reasons, ``udpa.type.v1.TypedStruct``), the inner type URL of ``TypedStruct`` will be utilized. See the :ref:`extension configuration overview <config_overview_extension_configuration>` for further details.
.google.protobuf.Any typed_config = 2 [(.validate.rules) = { ... }
-
setTypedConfig
public TypedExtensionConfig.Builder setTypedConfig(com.google.protobuf.Any.Builder builderForValue)
The typed config for the extension. The type URL will be used to identify the extension. In the case that the type URL is ``xds.type.v3.TypedStruct`` (or, for historical reasons, ``udpa.type.v1.TypedStruct``), the inner type URL of ``TypedStruct`` will be utilized. See the :ref:`extension configuration overview <config_overview_extension_configuration>` for further details.
.google.protobuf.Any typed_config = 2 [(.validate.rules) = { ... }
-
mergeTypedConfig
public TypedExtensionConfig.Builder mergeTypedConfig(com.google.protobuf.Any value)
The typed config for the extension. The type URL will be used to identify the extension. In the case that the type URL is ``xds.type.v3.TypedStruct`` (or, for historical reasons, ``udpa.type.v1.TypedStruct``), the inner type URL of ``TypedStruct`` will be utilized. See the :ref:`extension configuration overview <config_overview_extension_configuration>` for further details.
.google.protobuf.Any typed_config = 2 [(.validate.rules) = { ... }
-
clearTypedConfig
public TypedExtensionConfig.Builder clearTypedConfig()
The typed config for the extension. The type URL will be used to identify the extension. In the case that the type URL is ``xds.type.v3.TypedStruct`` (or, for historical reasons, ``udpa.type.v1.TypedStruct``), the inner type URL of ``TypedStruct`` will be utilized. See the :ref:`extension configuration overview <config_overview_extension_configuration>` for further details.
.google.protobuf.Any typed_config = 2 [(.validate.rules) = { ... }
-
getTypedConfigBuilder
public com.google.protobuf.Any.Builder getTypedConfigBuilder()
The typed config for the extension. The type URL will be used to identify the extension. In the case that the type URL is ``xds.type.v3.TypedStruct`` (or, for historical reasons, ``udpa.type.v1.TypedStruct``), the inner type URL of ``TypedStruct`` will be utilized. See the :ref:`extension configuration overview <config_overview_extension_configuration>` for further details.
.google.protobuf.Any typed_config = 2 [(.validate.rules) = { ... }
-
getTypedConfigOrBuilder
public com.google.protobuf.AnyOrBuilder getTypedConfigOrBuilder()
The typed config for the extension. The type URL will be used to identify the extension. In the case that the type URL is ``xds.type.v3.TypedStruct`` (or, for historical reasons, ``udpa.type.v1.TypedStruct``), the inner type URL of ``TypedStruct`` will be utilized. See the :ref:`extension configuration overview <config_overview_extension_configuration>` for further details.
.google.protobuf.Any typed_config = 2 [(.validate.rules) = { ... }- Specified by:
getTypedConfigOrBuilderin interfaceTypedExtensionConfigOrBuilder
-
setUnknownFields
public final TypedExtensionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TypedExtensionConfig.Builder>
-
mergeUnknownFields
public final TypedExtensionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TypedExtensionConfig.Builder>
-
-