Class Reports.Trace.Details.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Details.Builder>
mdg.engine.proto.Reports.Trace.Details.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Reports.Trace.DetailsOrBuilder
Enclosing class:
Reports.Trace.Details

public static final class Reports.Trace.Details.Builder extends com.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Details.Builder> implements Reports.Trace.DetailsOrBuilder
Protobuf type mdg.engine.proto.Trace.Details
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Details.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Details.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Details.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.GeneratedMessage.Builder<Reports.Trace.Details.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.GeneratedMessage.Builder<Reports.Trace.Details.Builder>
    • getDefaultInstanceForType

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

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

      public Reports.Trace.Details buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Reports.Trace.Details.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<Reports.Trace.Details.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Details.Builder>
    • mergeFrom

      public Reports.Trace.Details.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<Reports.Trace.Details.Builder>
      Throws:
      IOException
    • getVariablesJsonCount

      public int getVariablesJsonCount()
      Description copied from interface: Reports.Trace.DetailsOrBuilder
       The variables associated with this query (unless the reporting agent is
       configured to keep them all private). Values are JSON: ie, strings are
       enclosed in double quotes, etc.  The value of a private variable is
       the empty string.
       
      map<string, string> variables_json = 4;
      Specified by:
      getVariablesJsonCount in interface Reports.Trace.DetailsOrBuilder
    • containsVariablesJson

      public boolean containsVariablesJson(String key)
       The variables associated with this query (unless the reporting agent is
       configured to keep them all private). Values are JSON: ie, strings are
       enclosed in double quotes, etc.  The value of a private variable is
       the empty string.
       
      map<string, string> variables_json = 4;
      Specified by:
      containsVariablesJson in interface Reports.Trace.DetailsOrBuilder
    • getVariablesJson

      @Deprecated public Map<String,String> getVariablesJson()
      Deprecated.
      Specified by:
      getVariablesJson in interface Reports.Trace.DetailsOrBuilder
    • getVariablesJsonMap

      public Map<String,String> getVariablesJsonMap()
       The variables associated with this query (unless the reporting agent is
       configured to keep them all private). Values are JSON: ie, strings are
       enclosed in double quotes, etc.  The value of a private variable is
       the empty string.
       
      map<string, string> variables_json = 4;
      Specified by:
      getVariablesJsonMap in interface Reports.Trace.DetailsOrBuilder
    • getVariablesJsonOrDefault

      public String getVariablesJsonOrDefault(String key, String defaultValue)
       The variables associated with this query (unless the reporting agent is
       configured to keep them all private). Values are JSON: ie, strings are
       enclosed in double quotes, etc.  The value of a private variable is
       the empty string.
       
      map<string, string> variables_json = 4;
      Specified by:
      getVariablesJsonOrDefault in interface Reports.Trace.DetailsOrBuilder
    • getVariablesJsonOrThrow

      public String getVariablesJsonOrThrow(String key)
       The variables associated with this query (unless the reporting agent is
       configured to keep them all private). Values are JSON: ie, strings are
       enclosed in double quotes, etc.  The value of a private variable is
       the empty string.
       
      map<string, string> variables_json = 4;
      Specified by:
      getVariablesJsonOrThrow in interface Reports.Trace.DetailsOrBuilder
    • clearVariablesJson

      public Reports.Trace.Details.Builder clearVariablesJson()
    • removeVariablesJson

      public Reports.Trace.Details.Builder removeVariablesJson(String key)
       The variables associated with this query (unless the reporting agent is
       configured to keep them all private). Values are JSON: ie, strings are
       enclosed in double quotes, etc.  The value of a private variable is
       the empty string.
       
      map<string, string> variables_json = 4;
    • getMutableVariablesJson

      @Deprecated public Map<String,String> getMutableVariablesJson()
      Deprecated.
      Use alternate mutation accessors instead.
    • putVariablesJson

      public Reports.Trace.Details.Builder putVariablesJson(String key, String value)
       The variables associated with this query (unless the reporting agent is
       configured to keep them all private). Values are JSON: ie, strings are
       enclosed in double quotes, etc.  The value of a private variable is
       the empty string.
       
      map<string, string> variables_json = 4;
    • putAllVariablesJson

      public Reports.Trace.Details.Builder putAllVariablesJson(Map<String,String> values)
       The variables associated with this query (unless the reporting agent is
       configured to keep them all private). Values are JSON: ie, strings are
       enclosed in double quotes, etc.  The value of a private variable is
       the empty string.
       
      map<string, string> variables_json = 4;
    • getVariablesCount

      public int getVariablesCount()
      Description copied from interface: Reports.Trace.DetailsOrBuilder
       Deprecated. Engineproxy did not encode variable values as JSON, so you
       couldn't tell numbers from numeric strings. Send variables_json instead.
       
      map<string, bytes> variables = 1;
      Specified by:
      getVariablesCount in interface Reports.Trace.DetailsOrBuilder
    • containsVariables

      public boolean containsVariables(String key)
       Deprecated. Engineproxy did not encode variable values as JSON, so you
       couldn't tell numbers from numeric strings. Send variables_json instead.
       
      map<string, bytes> variables = 1;
      Specified by:
      containsVariables in interface Reports.Trace.DetailsOrBuilder
    • getVariables

      @Deprecated public Map<String,com.google.protobuf.ByteString> getVariables()
      Deprecated.
      Use getVariablesMap() instead.
      Specified by:
      getVariables in interface Reports.Trace.DetailsOrBuilder
    • getVariablesMap

      public Map<String,com.google.protobuf.ByteString> getVariablesMap()
       Deprecated. Engineproxy did not encode variable values as JSON, so you
       couldn't tell numbers from numeric strings. Send variables_json instead.
       
      map<string, bytes> variables = 1;
      Specified by:
      getVariablesMap in interface Reports.Trace.DetailsOrBuilder
    • getVariablesOrDefault

      public com.google.protobuf.ByteString getVariablesOrDefault(String key, com.google.protobuf.ByteString defaultValue)
       Deprecated. Engineproxy did not encode variable values as JSON, so you
       couldn't tell numbers from numeric strings. Send variables_json instead.
       
      map<string, bytes> variables = 1;
      Specified by:
      getVariablesOrDefault in interface Reports.Trace.DetailsOrBuilder
    • getVariablesOrThrow

      public com.google.protobuf.ByteString getVariablesOrThrow(String key)
       Deprecated. Engineproxy did not encode variable values as JSON, so you
       couldn't tell numbers from numeric strings. Send variables_json instead.
       
      map<string, bytes> variables = 1;
      Specified by:
      getVariablesOrThrow in interface Reports.Trace.DetailsOrBuilder
    • clearVariables

      public Reports.Trace.Details.Builder clearVariables()
    • removeVariables

      public Reports.Trace.Details.Builder removeVariables(String key)
       Deprecated. Engineproxy did not encode variable values as JSON, so you
       couldn't tell numbers from numeric strings. Send variables_json instead.
       
      map<string, bytes> variables = 1;
    • getMutableVariables

      @Deprecated public Map<String,com.google.protobuf.ByteString> getMutableVariables()
      Deprecated.
      Use alternate mutation accessors instead.
    • putVariables

      public Reports.Trace.Details.Builder putVariables(String key, com.google.protobuf.ByteString value)
       Deprecated. Engineproxy did not encode variable values as JSON, so you
       couldn't tell numbers from numeric strings. Send variables_json instead.
       
      map<string, bytes> variables = 1;
    • putAllVariables

      public Reports.Trace.Details.Builder putAllVariables(Map<String,com.google.protobuf.ByteString> values)
       Deprecated. Engineproxy did not encode variable values as JSON, so you
       couldn't tell numbers from numeric strings. Send variables_json instead.
       
      map<string, bytes> variables = 1;
    • getRawQuery

      public String getRawQuery()
       Optional: this is the original full query before the signature algorithm
       is applied.  Engineproxy always sent this in all traces, which meant that
       literal-masking done by the signature algorithm didn't fully hide
       sensitive data from Engine servers. apollo-engine-reporting does not
       include this by default.  (The Engine frontend does not currently show
       this field.)
       
      string raw_query = 2;
      Specified by:
      getRawQuery in interface Reports.Trace.DetailsOrBuilder
      Returns:
      The rawQuery.
    • getRawQueryBytes

      public com.google.protobuf.ByteString getRawQueryBytes()
       Optional: this is the original full query before the signature algorithm
       is applied.  Engineproxy always sent this in all traces, which meant that
       literal-masking done by the signature algorithm didn't fully hide
       sensitive data from Engine servers. apollo-engine-reporting does not
       include this by default.  (The Engine frontend does not currently show
       this field.)
       
      string raw_query = 2;
      Specified by:
      getRawQueryBytes in interface Reports.Trace.DetailsOrBuilder
      Returns:
      The bytes for rawQuery.
    • setRawQuery

      public Reports.Trace.Details.Builder setRawQuery(String value)
       Optional: this is the original full query before the signature algorithm
       is applied.  Engineproxy always sent this in all traces, which meant that
       literal-masking done by the signature algorithm didn't fully hide
       sensitive data from Engine servers. apollo-engine-reporting does not
       include this by default.  (The Engine frontend does not currently show
       this field.)
       
      string raw_query = 2;
      Parameters:
      value - The rawQuery to set.
      Returns:
      This builder for chaining.
    • clearRawQuery

      public Reports.Trace.Details.Builder clearRawQuery()
       Optional: this is the original full query before the signature algorithm
       is applied.  Engineproxy always sent this in all traces, which meant that
       literal-masking done by the signature algorithm didn't fully hide
       sensitive data from Engine servers. apollo-engine-reporting does not
       include this by default.  (The Engine frontend does not currently show
       this field.)
       
      string raw_query = 2;
      Returns:
      This builder for chaining.
    • setRawQueryBytes

      public Reports.Trace.Details.Builder setRawQueryBytes(com.google.protobuf.ByteString value)
       Optional: this is the original full query before the signature algorithm
       is applied.  Engineproxy always sent this in all traces, which meant that
       literal-masking done by the signature algorithm didn't fully hide
       sensitive data from Engine servers. apollo-engine-reporting does not
       include this by default.  (The Engine frontend does not currently show
       this field.)
       
      string raw_query = 2;
      Parameters:
      value - The bytes for rawQuery to set.
      Returns:
      This builder for chaining.
    • getOperationName

      public String getOperationName()
       Don't include this in traces inside a FullTracesReport; the operation
       name for these traces comes from the key of the traces_per_query map.
       
      string operation_name = 3;
      Specified by:
      getOperationName in interface Reports.Trace.DetailsOrBuilder
      Returns:
      The operationName.
    • getOperationNameBytes

      public com.google.protobuf.ByteString getOperationNameBytes()
       Don't include this in traces inside a FullTracesReport; the operation
       name for these traces comes from the key of the traces_per_query map.
       
      string operation_name = 3;
      Specified by:
      getOperationNameBytes in interface Reports.Trace.DetailsOrBuilder
      Returns:
      The bytes for operationName.
    • setOperationName

      public Reports.Trace.Details.Builder setOperationName(String value)
       Don't include this in traces inside a FullTracesReport; the operation
       name for these traces comes from the key of the traces_per_query map.
       
      string operation_name = 3;
      Parameters:
      value - The operationName to set.
      Returns:
      This builder for chaining.
    • clearOperationName

      public Reports.Trace.Details.Builder clearOperationName()
       Don't include this in traces inside a FullTracesReport; the operation
       name for these traces comes from the key of the traces_per_query map.
       
      string operation_name = 3;
      Returns:
      This builder for chaining.
    • setOperationNameBytes

      public Reports.Trace.Details.Builder setOperationNameBytes(com.google.protobuf.ByteString value)
       Don't include this in traces inside a FullTracesReport; the operation
       name for these traces comes from the key of the traces_per_query map.
       
      string operation_name = 3;
      Parameters:
      value - The bytes for operationName to set.
      Returns:
      This builder for chaining.