Class ConfigurationSyncRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ConfigurationSyncRequest.Builder>
org.apache.skywalking.apm.network.language.agent.v3.ConfigurationSyncRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,ConfigurationSyncRequestOrBuilder
- Enclosing class:
- ConfigurationSyncRequest
public static final class ConfigurationSyncRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ConfigurationSyncRequest.Builder>
implements ConfigurationSyncRequestOrBuilder
Protobuf type
skywalking.v3.ConfigurationSyncRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Current agent service name.[Optional] UUID is the unique id to represent the signature of the latest configuration.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorCurrent agent service name.com.google.protobuf.ByteStringCurrent agent service name.getUuid()[Optional] UUID is the unique id to represent the signature of the latest configuration.com.google.protobuf.ByteString[Optional] UUID is the unique id to represent the signature of the latest configuration.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setService(String value) Current agent service name.setServiceBytes(com.google.protobuf.ByteString value) Current agent service name.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) [Optional] UUID is the unique id to represent the signature of the latest configuration.setUuidBytes(com.google.protobuf.ByteString value) [Optional] UUID is the unique id to represent the signature of the latest configuration.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<ConfigurationSyncRequest.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<ConfigurationSyncRequest.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<ConfigurationSyncRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<ConfigurationSyncRequest.Builder>
-
setField
public ConfigurationSyncRequest.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<ConfigurationSyncRequest.Builder>
-
clearField
public ConfigurationSyncRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConfigurationSyncRequest.Builder>
-
clearOneof
public ConfigurationSyncRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ConfigurationSyncRequest.Builder>
-
setRepeatedField
public ConfigurationSyncRequest.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<ConfigurationSyncRequest.Builder>
-
addRepeatedField
public ConfigurationSyncRequest.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<ConfigurationSyncRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConfigurationSyncRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ConfigurationSyncRequest.Builder>
-
mergeFrom
public ConfigurationSyncRequest.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<ConfigurationSyncRequest.Builder>- Throws:
IOException
-
getService
Current agent service name.
string service = 1;- Specified by:
getServicein interfaceConfigurationSyncRequestOrBuilder- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()Current agent service name.
string service = 1;- Specified by:
getServiceBytesin interfaceConfigurationSyncRequestOrBuilder- Returns:
- The bytes for service.
-
setService
Current agent service name.
string service = 1;- Parameters:
value- The service to set.- Returns:
- This builder for chaining.
-
clearService
Current agent service name.
string service = 1;- Returns:
- This builder for chaining.
-
setServiceBytes
Current agent service name.
string service = 1;- Parameters:
value- The bytes for service to set.- Returns:
- This builder for chaining.
-
getUuid
[Optional] UUID is the unique id to represent the signature of the latest configuration. The agent usually uses its bootstrap configuration running in default, and this id could be empty when doing the 1st round sync. The agent could/is recommended to cache the UUID from the last command, and put it as the next round UUID parameter, then the OAP only returns the empty Commands if no configuration change happenned.
string uuid = 2;- Specified by:
getUuidin interfaceConfigurationSyncRequestOrBuilder- Returns:
- The uuid.
-
getUuidBytes
public com.google.protobuf.ByteString getUuidBytes()[Optional] UUID is the unique id to represent the signature of the latest configuration. The agent usually uses its bootstrap configuration running in default, and this id could be empty when doing the 1st round sync. The agent could/is recommended to cache the UUID from the last command, and put it as the next round UUID parameter, then the OAP only returns the empty Commands if no configuration change happenned.
string uuid = 2;- Specified by:
getUuidBytesin interfaceConfigurationSyncRequestOrBuilder- Returns:
- The bytes for uuid.
-
setUuid
[Optional] UUID is the unique id to represent the signature of the latest configuration. The agent usually uses its bootstrap configuration running in default, and this id could be empty when doing the 1st round sync. The agent could/is recommended to cache the UUID from the last command, and put it as the next round UUID parameter, then the OAP only returns the empty Commands if no configuration change happenned.
string uuid = 2;- Parameters:
value- The uuid to set.- Returns:
- This builder for chaining.
-
clearUuid
[Optional] UUID is the unique id to represent the signature of the latest configuration. The agent usually uses its bootstrap configuration running in default, and this id could be empty when doing the 1st round sync. The agent could/is recommended to cache the UUID from the last command, and put it as the next round UUID parameter, then the OAP only returns the empty Commands if no configuration change happenned.
string uuid = 2;- Returns:
- This builder for chaining.
-
setUuidBytes
[Optional] UUID is the unique id to represent the signature of the latest configuration. The agent usually uses its bootstrap configuration running in default, and this id could be empty when doing the 1st round sync. The agent could/is recommended to cache the UUID from the last command, and put it as the next round UUID parameter, then the OAP only returns the empty Commands if no configuration change happenned.
string uuid = 2;- Parameters:
value- The bytes for uuid to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ConfigurationSyncRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConfigurationSyncRequest.Builder>
-
mergeUnknownFields
public final ConfigurationSyncRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConfigurationSyncRequest.Builder>
-