Class ConfigurationResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ConfigurationResponse.Builder>
-
- org.apache.skywalking.oap.server.configuration.service.ConfigurationResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,ConfigurationResponseOrBuilder
- Enclosing class:
- ConfigurationResponse
public static final class ConfigurationResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConfigurationResponse.Builder> implements ConfigurationResponseOrBuilder
Protobuf typeConfigurationResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationResponse.BuilderaddAllConfigTable(Iterable<? extends Config> values)Include all config items.ConfigurationResponse.BuilderaddConfigTable(int index, Config value)Include all config items.ConfigurationResponse.BuilderaddConfigTable(int index, Config.Builder builderForValue)Include all config items.ConfigurationResponse.BuilderaddConfigTable(Config value)Include all config items.ConfigurationResponse.BuilderaddConfigTable(Config.Builder builderForValue)Include all config items.Config.BuilderaddConfigTableBuilder()Include all config items.Config.BuilderaddConfigTableBuilder(int index)Include all config items.ConfigurationResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ConfigurationResponsebuild()ConfigurationResponsebuildPartial()ConfigurationResponse.Builderclear()ConfigurationResponse.BuilderclearConfigTable()Include all config items.ConfigurationResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ConfigurationResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ConfigurationResponse.BuilderclearUuid()UUID is literal string represents the content of the config table.ConfigurationResponse.Builderclone()ConfiggetConfigTable(int index)Include all config items.Config.BuildergetConfigTableBuilder(int index)Include all config items.List<Config.Builder>getConfigTableBuilderList()Include all config items.intgetConfigTableCount()Include all config items.List<Config>getConfigTableList()Include all config items.ConfigOrBuildergetConfigTableOrBuilder(int index)Include all config items.List<? extends ConfigOrBuilder>getConfigTableOrBuilderList()Include all config items.ConfigurationResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetUuid()UUID is literal string represents the content of the config table.com.google.protobuf.ByteStringgetUuidBytes()UUID is literal string represents the content of the config table.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ConfigurationResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ConfigurationResponse.BuildermergeFrom(com.google.protobuf.Message other)ConfigurationResponse.BuildermergeFrom(ConfigurationResponse other)ConfigurationResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ConfigurationResponse.BuilderremoveConfigTable(int index)Include all config items.ConfigurationResponse.BuildersetConfigTable(int index, Config value)Include all config items.ConfigurationResponse.BuildersetConfigTable(int index, Config.Builder builderForValue)Include all config items.ConfigurationResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ConfigurationResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ConfigurationResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ConfigurationResponse.BuildersetUuid(String value)UUID is literal string represents the content of the config table.ConfigurationResponse.BuildersetUuidBytes(com.google.protobuf.ByteString value)UUID is literal string represents the content of the config table.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
-
-
-
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<ConfigurationResponse.Builder>
-
clear
public ConfigurationResponse.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<ConfigurationResponse.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<ConfigurationResponse.Builder>
-
getDefaultInstanceForType
public ConfigurationResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConfigurationResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConfigurationResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConfigurationResponse.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<ConfigurationResponse.Builder>
-
setField
public ConfigurationResponse.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<ConfigurationResponse.Builder>
-
clearField
public ConfigurationResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConfigurationResponse.Builder>
-
clearOneof
public ConfigurationResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ConfigurationResponse.Builder>
-
setRepeatedField
public ConfigurationResponse.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<ConfigurationResponse.Builder>
-
addRepeatedField
public ConfigurationResponse.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<ConfigurationResponse.Builder>
-
mergeFrom
public ConfigurationResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConfigurationResponse.Builder>
-
mergeFrom
public ConfigurationResponse.Builder mergeFrom(ConfigurationResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ConfigurationResponse.Builder>
-
mergeFrom
public ConfigurationResponse.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<ConfigurationResponse.Builder>- Throws:
IOException
-
getConfigTableList
public List<Config> getConfigTableList()
Include all config items. All config name should be not empty, the name is composed by "module name"."provider name"."item name". Each watcher implementor provides this, and it will be notified when the value changed. If the config center wants to set the value to NULL or empty, must set the name with empty value explicitly.
repeated .Config configTable = 1;- Specified by:
getConfigTableListin interfaceConfigurationResponseOrBuilder
-
getConfigTableCount
public int getConfigTableCount()
Include all config items. All config name should be not empty, the name is composed by "module name"."provider name"."item name". Each watcher implementor provides this, and it will be notified when the value changed. If the config center wants to set the value to NULL or empty, must set the name with empty value explicitly.
repeated .Config configTable = 1;- Specified by:
getConfigTableCountin interfaceConfigurationResponseOrBuilder
-
getConfigTable
public Config getConfigTable(int index)
Include all config items. All config name should be not empty, the name is composed by "module name"."provider name"."item name". Each watcher implementor provides this, and it will be notified when the value changed. If the config center wants to set the value to NULL or empty, must set the name with empty value explicitly.
repeated .Config configTable = 1;- Specified by:
getConfigTablein interfaceConfigurationResponseOrBuilder
-
setConfigTable
public ConfigurationResponse.Builder setConfigTable(int index, Config value)
Include all config items. All config name should be not empty, the name is composed by "module name"."provider name"."item name". Each watcher implementor provides this, and it will be notified when the value changed. If the config center wants to set the value to NULL or empty, must set the name with empty value explicitly.
repeated .Config configTable = 1;
-
setConfigTable
public ConfigurationResponse.Builder setConfigTable(int index, Config.Builder builderForValue)
Include all config items. All config name should be not empty, the name is composed by "module name"."provider name"."item name". Each watcher implementor provides this, and it will be notified when the value changed. If the config center wants to set the value to NULL or empty, must set the name with empty value explicitly.
repeated .Config configTable = 1;
-
addConfigTable
public ConfigurationResponse.Builder addConfigTable(Config value)
Include all config items. All config name should be not empty, the name is composed by "module name"."provider name"."item name". Each watcher implementor provides this, and it will be notified when the value changed. If the config center wants to set the value to NULL or empty, must set the name with empty value explicitly.
repeated .Config configTable = 1;
-
addConfigTable
public ConfigurationResponse.Builder addConfigTable(int index, Config value)
Include all config items. All config name should be not empty, the name is composed by "module name"."provider name"."item name". Each watcher implementor provides this, and it will be notified when the value changed. If the config center wants to set the value to NULL or empty, must set the name with empty value explicitly.
repeated .Config configTable = 1;
-
addConfigTable
public ConfigurationResponse.Builder addConfigTable(Config.Builder builderForValue)
Include all config items. All config name should be not empty, the name is composed by "module name"."provider name"."item name". Each watcher implementor provides this, and it will be notified when the value changed. If the config center wants to set the value to NULL or empty, must set the name with empty value explicitly.
repeated .Config configTable = 1;
-
addConfigTable
public ConfigurationResponse.Builder addConfigTable(int index, Config.Builder builderForValue)
Include all config items. All config name should be not empty, the name is composed by "module name"."provider name"."item name". Each watcher implementor provides this, and it will be notified when the value changed. If the config center wants to set the value to NULL or empty, must set the name with empty value explicitly.
repeated .Config configTable = 1;
-
addAllConfigTable
public ConfigurationResponse.Builder addAllConfigTable(Iterable<? extends Config> values)
Include all config items. All config name should be not empty, the name is composed by "module name"."provider name"."item name". Each watcher implementor provides this, and it will be notified when the value changed. If the config center wants to set the value to NULL or empty, must set the name with empty value explicitly.
repeated .Config configTable = 1;
-
clearConfigTable
public ConfigurationResponse.Builder clearConfigTable()
Include all config items. All config name should be not empty, the name is composed by "module name"."provider name"."item name". Each watcher implementor provides this, and it will be notified when the value changed. If the config center wants to set the value to NULL or empty, must set the name with empty value explicitly.
repeated .Config configTable = 1;
-
removeConfigTable
public ConfigurationResponse.Builder removeConfigTable(int index)
Include all config items. All config name should be not empty, the name is composed by "module name"."provider name"."item name". Each watcher implementor provides this, and it will be notified when the value changed. If the config center wants to set the value to NULL or empty, must set the name with empty value explicitly.
repeated .Config configTable = 1;
-
getConfigTableBuilder
public Config.Builder getConfigTableBuilder(int index)
Include all config items. All config name should be not empty, the name is composed by "module name"."provider name"."item name". Each watcher implementor provides this, and it will be notified when the value changed. If the config center wants to set the value to NULL or empty, must set the name with empty value explicitly.
repeated .Config configTable = 1;
-
getConfigTableOrBuilder
public ConfigOrBuilder getConfigTableOrBuilder(int index)
Include all config items. All config name should be not empty, the name is composed by "module name"."provider name"."item name". Each watcher implementor provides this, and it will be notified when the value changed. If the config center wants to set the value to NULL or empty, must set the name with empty value explicitly.
repeated .Config configTable = 1;- Specified by:
getConfigTableOrBuilderin interfaceConfigurationResponseOrBuilder
-
getConfigTableOrBuilderList
public List<? extends ConfigOrBuilder> getConfigTableOrBuilderList()
Include all config items. All config name should be not empty, the name is composed by "module name"."provider name"."item name". Each watcher implementor provides this, and it will be notified when the value changed. If the config center wants to set the value to NULL or empty, must set the name with empty value explicitly.
repeated .Config configTable = 1;- Specified by:
getConfigTableOrBuilderListin interfaceConfigurationResponseOrBuilder
-
addConfigTableBuilder
public Config.Builder addConfigTableBuilder()
Include all config items. All config name should be not empty, the name is composed by "module name"."provider name"."item name". Each watcher implementor provides this, and it will be notified when the value changed. If the config center wants to set the value to NULL or empty, must set the name with empty value explicitly.
repeated .Config configTable = 1;
-
addConfigTableBuilder
public Config.Builder addConfigTableBuilder(int index)
Include all config items. All config name should be not empty, the name is composed by "module name"."provider name"."item name". Each watcher implementor provides this, and it will be notified when the value changed. If the config center wants to set the value to NULL or empty, must set the name with empty value explicitly.
repeated .Config configTable = 1;
-
getConfigTableBuilderList
public List<Config.Builder> getConfigTableBuilderList()
Include all config items. All config name should be not empty, the name is composed by "module name"."provider name"."item name". Each watcher implementor provides this, and it will be notified when the value changed. If the config center wants to set the value to NULL or empty, must set the name with empty value explicitly.
repeated .Config configTable = 1;
-
getUuid
public String getUuid()
UUID is literal string represents the content of the config table. If config table is unchanged, then could response the same uuid, and config table is not required.
string uuid = 2;- Specified by:
getUuidin interfaceConfigurationResponseOrBuilder- Returns:
- The uuid.
-
getUuidBytes
public com.google.protobuf.ByteString getUuidBytes()
UUID is literal string represents the content of the config table. If config table is unchanged, then could response the same uuid, and config table is not required.
string uuid = 2;- Specified by:
getUuidBytesin interfaceConfigurationResponseOrBuilder- Returns:
- The bytes for uuid.
-
setUuid
public ConfigurationResponse.Builder setUuid(String value)
UUID is literal string represents the content of the config table. If config table is unchanged, then could response the same uuid, and config table is not required.
string uuid = 2;- Parameters:
value- The uuid to set.- Returns:
- This builder for chaining.
-
clearUuid
public ConfigurationResponse.Builder clearUuid()
UUID is literal string represents the content of the config table. If config table is unchanged, then could response the same uuid, and config table is not required.
string uuid = 2;- Returns:
- This builder for chaining.
-
setUuidBytes
public ConfigurationResponse.Builder setUuidBytes(com.google.protobuf.ByteString value)
UUID is literal string represents the content of the config table. If config table is unchanged, then could response the same uuid, and config table is not required.
string uuid = 2;- Parameters:
value- The bytes for uuid to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ConfigurationResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConfigurationResponse.Builder>
-
mergeUnknownFields
public final ConfigurationResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConfigurationResponse.Builder>
-
-