Class LogDataBody.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<LogDataBody.Builder>
org.apache.skywalking.apm.network.logging.v3.LogDataBody.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, LogDataBodyOrBuilder
Enclosing class:
LogDataBody

public static final class LogDataBody.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LogDataBody.Builder> implements LogDataBodyOrBuilder
 The content of the log data
 
Protobuf type skywalking.v3.LogDataBody
  • 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<LogDataBody.Builder>
    • clear

      public LogDataBody.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<LogDataBody.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<LogDataBody.Builder>
    • getDefaultInstanceForType

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

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

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

      public LogDataBody.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<LogDataBody.Builder>
    • setField

      public LogDataBody.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<LogDataBody.Builder>
    • clearField

      public LogDataBody.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<LogDataBody.Builder>
    • clearOneof

      public LogDataBody.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<LogDataBody.Builder>
    • setRepeatedField

      public LogDataBody.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<LogDataBody.Builder>
    • addRepeatedField

      public LogDataBody.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<LogDataBody.Builder>
    • mergeFrom

      public LogDataBody.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<LogDataBody.Builder>
    • mergeFrom

      public LogDataBody.Builder mergeFrom(LogDataBody other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LogDataBody.Builder>
    • mergeFrom

      public LogDataBody.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<LogDataBody.Builder>
      Throws:
      IOException
    • getContentCase

      public LogDataBody.ContentCase getContentCase()
      Specified by:
      getContentCase in interface LogDataBodyOrBuilder
    • clearContent

      public LogDataBody.Builder clearContent()
    • getType

      public String getType()
       A type to match analyzer(s) at the OAP server.
       The data could be analyzed at the client side, but could be partial
       
      string type = 1;
      Specified by:
      getType in interface LogDataBodyOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       A type to match analyzer(s) at the OAP server.
       The data could be analyzed at the client side, but could be partial
       
      string type = 1;
      Specified by:
      getTypeBytes in interface LogDataBodyOrBuilder
      Returns:
      The bytes for type.
    • setType

      public LogDataBody.Builder setType(String value)
       A type to match analyzer(s) at the OAP server.
       The data could be analyzed at the client side, but could be partial
       
      string type = 1;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public LogDataBody.Builder clearType()
       A type to match analyzer(s) at the OAP server.
       The data could be analyzed at the client side, but could be partial
       
      string type = 1;
      Returns:
      This builder for chaining.
    • setTypeBytes

      public LogDataBody.Builder setTypeBytes(com.google.protobuf.ByteString value)
       A type to match analyzer(s) at the OAP server.
       The data could be analyzed at the client side, but could be partial
       
      string type = 1;
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.
    • hasText

      public boolean hasText()
      .skywalking.v3.TextLog text = 2;
      Specified by:
      hasText in interface LogDataBodyOrBuilder
      Returns:
      Whether the text field is set.
    • getText

      public TextLog getText()
      .skywalking.v3.TextLog text = 2;
      Specified by:
      getText in interface LogDataBodyOrBuilder
      Returns:
      The text.
    • setText

      public LogDataBody.Builder setText(TextLog value)
      .skywalking.v3.TextLog text = 2;
    • setText

      public LogDataBody.Builder setText(TextLog.Builder builderForValue)
      .skywalking.v3.TextLog text = 2;
    • mergeText

      public LogDataBody.Builder mergeText(TextLog value)
      .skywalking.v3.TextLog text = 2;
    • clearText

      public LogDataBody.Builder clearText()
      .skywalking.v3.TextLog text = 2;
    • getTextBuilder

      public TextLog.Builder getTextBuilder()
      .skywalking.v3.TextLog text = 2;
    • getTextOrBuilder

      public TextLogOrBuilder getTextOrBuilder()
      .skywalking.v3.TextLog text = 2;
      Specified by:
      getTextOrBuilder in interface LogDataBodyOrBuilder
    • hasJson

      public boolean hasJson()
      .skywalking.v3.JSONLog json = 3;
      Specified by:
      hasJson in interface LogDataBodyOrBuilder
      Returns:
      Whether the json field is set.
    • getJson

      public JSONLog getJson()
      .skywalking.v3.JSONLog json = 3;
      Specified by:
      getJson in interface LogDataBodyOrBuilder
      Returns:
      The json.
    • setJson

      public LogDataBody.Builder setJson(JSONLog value)
      .skywalking.v3.JSONLog json = 3;
    • setJson

      public LogDataBody.Builder setJson(JSONLog.Builder builderForValue)
      .skywalking.v3.JSONLog json = 3;
    • mergeJson

      public LogDataBody.Builder mergeJson(JSONLog value)
      .skywalking.v3.JSONLog json = 3;
    • clearJson

      public LogDataBody.Builder clearJson()
      .skywalking.v3.JSONLog json = 3;
    • getJsonBuilder

      public JSONLog.Builder getJsonBuilder()
      .skywalking.v3.JSONLog json = 3;
    • getJsonOrBuilder

      public JSONLogOrBuilder getJsonOrBuilder()
      .skywalking.v3.JSONLog json = 3;
      Specified by:
      getJsonOrBuilder in interface LogDataBodyOrBuilder
    • hasYaml

      public boolean hasYaml()
      .skywalking.v3.YAMLLog yaml = 4;
      Specified by:
      hasYaml in interface LogDataBodyOrBuilder
      Returns:
      Whether the yaml field is set.
    • getYaml

      public YAMLLog getYaml()
      .skywalking.v3.YAMLLog yaml = 4;
      Specified by:
      getYaml in interface LogDataBodyOrBuilder
      Returns:
      The yaml.
    • setYaml

      public LogDataBody.Builder setYaml(YAMLLog value)
      .skywalking.v3.YAMLLog yaml = 4;
    • setYaml

      public LogDataBody.Builder setYaml(YAMLLog.Builder builderForValue)
      .skywalking.v3.YAMLLog yaml = 4;
    • mergeYaml

      public LogDataBody.Builder mergeYaml(YAMLLog value)
      .skywalking.v3.YAMLLog yaml = 4;
    • clearYaml

      public LogDataBody.Builder clearYaml()
      .skywalking.v3.YAMLLog yaml = 4;
    • getYamlBuilder

      public YAMLLog.Builder getYamlBuilder()
      .skywalking.v3.YAMLLog yaml = 4;
    • getYamlOrBuilder

      public YAMLLogOrBuilder getYamlOrBuilder()
      .skywalking.v3.YAMLLog yaml = 4;
      Specified by:
      getYamlOrBuilder in interface LogDataBodyOrBuilder
    • setUnknownFields

      public final LogDataBody.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<LogDataBody.Builder>
    • mergeUnknownFields

      public final LogDataBody.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<LogDataBody.Builder>