Class Transformation.Job.Metric.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Transformation.Job.Metric.Builder>
com.cognite.client.dto.Transformation.Job.Metric.Builder
All Implemented Interfaces:
Transformation.Job.MetricOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Transformation.Job.Metric

public static final class Transformation.Job.Metric.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Transformation.Job.Metric.Builder> implements Transformation.Job.MetricOrBuilder
Protobuf type com.cognite.client.dto.Transformation.Job.Metric
  • 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<Transformation.Job.Metric.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<Transformation.Job.Metric.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<Transformation.Job.Metric.Builder>
    • getDefaultInstanceForType

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

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

      public Transformation.Job.Metric buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Transformation.Job.Metric.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<Transformation.Job.Metric.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<Transformation.Job.Metric.Builder>
    • mergeFrom

      public Transformation.Job.Metric.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<Transformation.Job.Metric.Builder>
      Throws:
      IOException
    • hasTimestamp

      public boolean hasTimestamp()
      optional int64 timestamp = 1;
      Specified by:
      hasTimestamp in interface Transformation.Job.MetricOrBuilder
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      public long getTimestamp()
      optional int64 timestamp = 1;
      Specified by:
      getTimestamp in interface Transformation.Job.MetricOrBuilder
      Returns:
      The timestamp.
    • setTimestamp

      public Transformation.Job.Metric.Builder setTimestamp(long value)
      optional int64 timestamp = 1;
      Parameters:
      value - The timestamp to set.
      Returns:
      This builder for chaining.
    • clearTimestamp

      public Transformation.Job.Metric.Builder clearTimestamp()
      optional int64 timestamp = 1;
      Returns:
      This builder for chaining.
    • hasName

      public boolean hasName()
      optional string name = 2;
      Specified by:
      hasName in interface Transformation.Job.MetricOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
      optional string name = 2;
      Specified by:
      getName in interface Transformation.Job.MetricOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      optional string name = 2;
      Specified by:
      getNameBytes in interface Transformation.Job.MetricOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Transformation.Job.Metric.Builder setName(String value)
      optional string name = 2;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      optional string name = 2;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Transformation.Job.Metric.Builder setNameBytes(com.google.protobuf.ByteString value)
      optional string name = 2;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasCount

      public boolean hasCount()
      optional int64 count = 3;
      Specified by:
      hasCount in interface Transformation.Job.MetricOrBuilder
      Returns:
      Whether the count field is set.
    • getCount

      public long getCount()
      optional int64 count = 3;
      Specified by:
      getCount in interface Transformation.Job.MetricOrBuilder
      Returns:
      The count.
    • setCount

      public Transformation.Job.Metric.Builder setCount(long value)
      optional int64 count = 3;
      Parameters:
      value - The count to set.
      Returns:
      This builder for chaining.
    • clearCount

      public Transformation.Job.Metric.Builder clearCount()
      optional int64 count = 3;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Transformation.Job.Metric.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<Transformation.Job.Metric.Builder>
    • mergeUnknownFields

      public final Transformation.Job.Metric.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<Transformation.Job.Metric.Builder>