Class Reports.FieldStat.Builder

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

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

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Reports.FieldStat.Builder>
    • clear

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

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

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

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

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

      public Reports.FieldStat.Builder mergeFrom(Reports.FieldStat other)
    • isInitialized

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

      public Reports.FieldStat.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.FieldStat.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       deprecated; only set when stored in TypeStat.field
       
      string name = 2;
      Specified by:
      getName in interface Reports.FieldStatOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       deprecated; only set when stored in TypeStat.field
       
      string name = 2;
      Specified by:
      getNameBytes in interface Reports.FieldStatOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Reports.FieldStat.Builder setName(String value)
       deprecated; only set when stored in TypeStat.field
       
      string name = 2;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Reports.FieldStat.Builder clearName()
       deprecated; only set when stored in TypeStat.field
       
      string name = 2;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Reports.FieldStat.Builder setNameBytes(com.google.protobuf.ByteString value)
       deprecated; only set when stored in TypeStat.field
       
      string name = 2;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getReturnType

      public String getReturnType()
       required; eg "String!" for User.email:String!
       
      string return_type = 3;
      Specified by:
      getReturnType in interface Reports.FieldStatOrBuilder
      Returns:
      The returnType.
    • getReturnTypeBytes

      public com.google.protobuf.ByteString getReturnTypeBytes()
       required; eg "String!" for User.email:String!
       
      string return_type = 3;
      Specified by:
      getReturnTypeBytes in interface Reports.FieldStatOrBuilder
      Returns:
      The bytes for returnType.
    • setReturnType

      public Reports.FieldStat.Builder setReturnType(String value)
       required; eg "String!" for User.email:String!
       
      string return_type = 3;
      Parameters:
      value - The returnType to set.
      Returns:
      This builder for chaining.
    • clearReturnType

      public Reports.FieldStat.Builder clearReturnType()
       required; eg "String!" for User.email:String!
       
      string return_type = 3;
      Returns:
      This builder for chaining.
    • setReturnTypeBytes

      public Reports.FieldStat.Builder setReturnTypeBytes(com.google.protobuf.ByteString value)
       required; eg "String!" for User.email:String!
       
      string return_type = 3;
      Parameters:
      value - The bytes for returnType to set.
      Returns:
      This builder for chaining.
    • getErrorsCount

      public long getErrorsCount()
      uint64 errors_count = 4;
      Specified by:
      getErrorsCount in interface Reports.FieldStatOrBuilder
      Returns:
      The errorsCount.
    • setErrorsCount

      public Reports.FieldStat.Builder setErrorsCount(long value)
      uint64 errors_count = 4;
      Parameters:
      value - The errorsCount to set.
      Returns:
      This builder for chaining.
    • clearErrorsCount

      public Reports.FieldStat.Builder clearErrorsCount()
      uint64 errors_count = 4;
      Returns:
      This builder for chaining.
    • getCount

      public long getCount()
      uint64 count = 5;
      Specified by:
      getCount in interface Reports.FieldStatOrBuilder
      Returns:
      The count.
    • setCount

      public Reports.FieldStat.Builder setCount(long value)
      uint64 count = 5;
      Parameters:
      value - The count to set.
      Returns:
      This builder for chaining.
    • clearCount

      public Reports.FieldStat.Builder clearCount()
      uint64 count = 5;
      Returns:
      This builder for chaining.
    • getRequestsWithErrorsCount

      public long getRequestsWithErrorsCount()
      uint64 requests_with_errors_count = 6;
      Specified by:
      getRequestsWithErrorsCount in interface Reports.FieldStatOrBuilder
      Returns:
      The requestsWithErrorsCount.
    • setRequestsWithErrorsCount

      public Reports.FieldStat.Builder setRequestsWithErrorsCount(long value)
      uint64 requests_with_errors_count = 6;
      Parameters:
      value - The requestsWithErrorsCount to set.
      Returns:
      This builder for chaining.
    • clearRequestsWithErrorsCount

      public Reports.FieldStat.Builder clearRequestsWithErrorsCount()
      uint64 requests_with_errors_count = 6;
      Returns:
      This builder for chaining.
    • getLatencyCountList

      public List<Long> getLatencyCountList()
       Duration histogram; see docs/histograms.md
       
      repeated int64 latency_count = 8;
      Specified by:
      getLatencyCountList in interface Reports.FieldStatOrBuilder
      Returns:
      A list containing the latencyCount.
    • getLatencyCountCount

      public int getLatencyCountCount()
       Duration histogram; see docs/histograms.md
       
      repeated int64 latency_count = 8;
      Specified by:
      getLatencyCountCount in interface Reports.FieldStatOrBuilder
      Returns:
      The count of latencyCount.
    • getLatencyCount

      public long getLatencyCount(int index)
       Duration histogram; see docs/histograms.md
       
      repeated int64 latency_count = 8;
      Specified by:
      getLatencyCount in interface Reports.FieldStatOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The latencyCount at the given index.
    • setLatencyCount

      public Reports.FieldStat.Builder setLatencyCount(int index, long value)
       Duration histogram; see docs/histograms.md
       
      repeated int64 latency_count = 8;
      Parameters:
      index - The index to set the value at.
      value - The latencyCount to set.
      Returns:
      This builder for chaining.
    • addLatencyCount

      public Reports.FieldStat.Builder addLatencyCount(long value)
       Duration histogram; see docs/histograms.md
       
      repeated int64 latency_count = 8;
      Parameters:
      value - The latencyCount to add.
      Returns:
      This builder for chaining.
    • addAllLatencyCount

      public Reports.FieldStat.Builder addAllLatencyCount(Iterable<? extends Long> values)
       Duration histogram; see docs/histograms.md
       
      repeated int64 latency_count = 8;
      Parameters:
      values - The latencyCount to add.
      Returns:
      This builder for chaining.
    • clearLatencyCount

      public Reports.FieldStat.Builder clearLatencyCount()
       Duration histogram; see docs/histograms.md
       
      repeated int64 latency_count = 8;
      Returns:
      This builder for chaining.