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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigurationSyncRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigurationSyncRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigurationSyncRequest.Builder>
    • getDefaultInstanceForType

      public ConfigurationSyncRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ConfigurationSyncRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ConfigurationSyncRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigurationSyncRequest.Builder>
    • setField

      public ConfigurationSyncRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigurationSyncRequest.Builder>
    • clearField

      public ConfigurationSyncRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigurationSyncRequest.Builder>
    • clearOneof

      public ConfigurationSyncRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigurationSyncRequest.Builder>
    • setRepeatedField

      public ConfigurationSyncRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigurationSyncRequest.Builder>
    • addRepeatedField

      public ConfigurationSyncRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigurationSyncRequest.Builder>
    • mergeFrom

      public ConfigurationSyncRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConfigurationSyncRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConfigurationSyncRequest.Builder>
      Throws:
      IOException
    • getService

      public String getService()
       Current agent service name.
       
      string service = 1;
      Specified by:
      getService in interface ConfigurationSyncRequestOrBuilder
      Returns:
      The service.
    • getServiceBytes

      public com.google.protobuf.ByteString getServiceBytes()
       Current agent service name.
       
      string service = 1;
      Specified by:
      getServiceBytes in interface ConfigurationSyncRequestOrBuilder
      Returns:
      The bytes for service.
    • setService

      public ConfigurationSyncRequest.Builder setService(String value)
       Current agent service name.
       
      string service = 1;
      Parameters:
      value - The service to set.
      Returns:
      This builder for chaining.
    • clearService

      public ConfigurationSyncRequest.Builder clearService()
       Current agent service name.
       
      string service = 1;
      Returns:
      This builder for chaining.
    • setServiceBytes

      public ConfigurationSyncRequest.Builder setServiceBytes(com.google.protobuf.ByteString value)
       Current agent service name.
       
      string service = 1;
      Parameters:
      value - The bytes for service to set.
      Returns:
      This builder for chaining.
    • getUuid

      public String 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:
      getUuid in interface ConfigurationSyncRequestOrBuilder
      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:
      getUuidBytes in interface ConfigurationSyncRequestOrBuilder
      Returns:
      The bytes for uuid.
    • setUuid

      public ConfigurationSyncRequest.Builder setUuid(String value)
       [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

      public ConfigurationSyncRequest.Builder setUuidBytes(com.google.protobuf.ByteString value)
       [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:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigurationSyncRequest.Builder>
    • mergeUnknownFields

      public final ConfigurationSyncRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigurationSyncRequest.Builder>