Class PacketIntervals.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PacketIntervals.Builder>
com.google.cloud.compute.v1.PacketIntervals.Builder
All Implemented Interfaces:
PacketIntervalsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PacketIntervals

public static final class PacketIntervals.Builder extends com.google.protobuf.GeneratedMessage.Builder<PacketIntervals.Builder> implements PacketIntervalsOrBuilder
 Next free: 7
 
Protobuf type google.cloud.compute.v1.PacketIntervals
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Average observed inter-packet interval in milliseconds.
    From how long ago in the past these intervals were observed.
    Maximum observed inter-packet interval in milliseconds.
    Minimum observed inter-packet interval in milliseconds.
    Number of inter-packet intervals from which these statistics were derived.
    The type of packets for which inter-packet intervals were computed.
    long
    Average observed inter-packet interval in milliseconds.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    From how long ago in the past these intervals were observed.
    com.google.protobuf.ByteString
    From how long ago in the past these intervals were observed.
    long
    Maximum observed inter-packet interval in milliseconds.
    long
    Minimum observed inter-packet interval in milliseconds.
    long
    Number of inter-packet intervals from which these statistics were derived.
    The type of packets for which inter-packet intervals were computed.
    com.google.protobuf.ByteString
    The type of packets for which inter-packet intervals were computed.
    boolean
    Average observed inter-packet interval in milliseconds.
    boolean
    From how long ago in the past these intervals were observed.
    boolean
    Maximum observed inter-packet interval in milliseconds.
    boolean
    Minimum observed inter-packet interval in milliseconds.
    boolean
    Number of inter-packet intervals from which these statistics were derived.
    boolean
    The type of packets for which inter-packet intervals were computed.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    setAvgMs(long value)
    Average observed inter-packet interval in milliseconds.
    From how long ago in the past these intervals were observed.
    setDurationBytes(com.google.protobuf.ByteString value)
    From how long ago in the past these intervals were observed.
    setMaxMs(long value)
    Maximum observed inter-packet interval in milliseconds.
    setMinMs(long value)
    Minimum observed inter-packet interval in milliseconds.
    setNumIntervals(long value)
    Number of inter-packet intervals from which these statistics were derived.
    setType(String value)
    The type of packets for which inter-packet intervals were computed.
    setTypeBytes(com.google.protobuf.ByteString value)
    The type of packets for which inter-packet intervals were computed.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<PacketIntervals.Builder>
    • clear

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

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

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

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

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

      public PacketIntervals.Builder mergeFrom(PacketIntervals other)
    • isInitialized

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

      public PacketIntervals.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<PacketIntervals.Builder>
      Throws:
      IOException
    • hasAvgMs

      public boolean hasAvgMs()
       Average observed inter-packet interval in milliseconds.
       
      optional int64 avg_ms = 204811827;
      Specified by:
      hasAvgMs in interface PacketIntervalsOrBuilder
      Returns:
      Whether the avgMs field is set.
    • getAvgMs

      public long getAvgMs()
       Average observed inter-packet interval in milliseconds.
       
      optional int64 avg_ms = 204811827;
      Specified by:
      getAvgMs in interface PacketIntervalsOrBuilder
      Returns:
      The avgMs.
    • setAvgMs

      public PacketIntervals.Builder setAvgMs(long value)
       Average observed inter-packet interval in milliseconds.
       
      optional int64 avg_ms = 204811827;
      Parameters:
      value - The avgMs to set.
      Returns:
      This builder for chaining.
    • clearAvgMs

      public PacketIntervals.Builder clearAvgMs()
       Average observed inter-packet interval in milliseconds.
       
      optional int64 avg_ms = 204811827;
      Returns:
      This builder for chaining.
    • hasDuration

      public boolean hasDuration()
       From how long ago in the past these intervals were observed.
       Check the Duration enum for the list of possible values.
       
      optional string duration = 155471252;
      Specified by:
      hasDuration in interface PacketIntervalsOrBuilder
      Returns:
      Whether the duration field is set.
    • getDuration

      public String getDuration()
       From how long ago in the past these intervals were observed.
       Check the Duration enum for the list of possible values.
       
      optional string duration = 155471252;
      Specified by:
      getDuration in interface PacketIntervalsOrBuilder
      Returns:
      The duration.
    • getDurationBytes

      public com.google.protobuf.ByteString getDurationBytes()
       From how long ago in the past these intervals were observed.
       Check the Duration enum for the list of possible values.
       
      optional string duration = 155471252;
      Specified by:
      getDurationBytes in interface PacketIntervalsOrBuilder
      Returns:
      The bytes for duration.
    • setDuration

      public PacketIntervals.Builder setDuration(String value)
       From how long ago in the past these intervals were observed.
       Check the Duration enum for the list of possible values.
       
      optional string duration = 155471252;
      Parameters:
      value - The duration to set.
      Returns:
      This builder for chaining.
    • clearDuration

      public PacketIntervals.Builder clearDuration()
       From how long ago in the past these intervals were observed.
       Check the Duration enum for the list of possible values.
       
      optional string duration = 155471252;
      Returns:
      This builder for chaining.
    • setDurationBytes

      public PacketIntervals.Builder setDurationBytes(com.google.protobuf.ByteString value)
       From how long ago in the past these intervals were observed.
       Check the Duration enum for the list of possible values.
       
      optional string duration = 155471252;
      Parameters:
      value - The bytes for duration to set.
      Returns:
      This builder for chaining.
    • hasMaxMs

      public boolean hasMaxMs()
       Maximum observed inter-packet interval in milliseconds.
       
      optional int64 max_ms = 529474145;
      Specified by:
      hasMaxMs in interface PacketIntervalsOrBuilder
      Returns:
      Whether the maxMs field is set.
    • getMaxMs

      public long getMaxMs()
       Maximum observed inter-packet interval in milliseconds.
       
      optional int64 max_ms = 529474145;
      Specified by:
      getMaxMs in interface PacketIntervalsOrBuilder
      Returns:
      The maxMs.
    • setMaxMs

      public PacketIntervals.Builder setMaxMs(long value)
       Maximum observed inter-packet interval in milliseconds.
       
      optional int64 max_ms = 529474145;
      Parameters:
      value - The maxMs to set.
      Returns:
      This builder for chaining.
    • clearMaxMs

      public PacketIntervals.Builder clearMaxMs()
       Maximum observed inter-packet interval in milliseconds.
       
      optional int64 max_ms = 529474145;
      Returns:
      This builder for chaining.
    • hasMinMs

      public boolean hasMinMs()
       Minimum observed inter-packet interval in milliseconds.
       
      optional int64 min_ms = 536564403;
      Specified by:
      hasMinMs in interface PacketIntervalsOrBuilder
      Returns:
      Whether the minMs field is set.
    • getMinMs

      public long getMinMs()
       Minimum observed inter-packet interval in milliseconds.
       
      optional int64 min_ms = 536564403;
      Specified by:
      getMinMs in interface PacketIntervalsOrBuilder
      Returns:
      The minMs.
    • setMinMs

      public PacketIntervals.Builder setMinMs(long value)
       Minimum observed inter-packet interval in milliseconds.
       
      optional int64 min_ms = 536564403;
      Parameters:
      value - The minMs to set.
      Returns:
      This builder for chaining.
    • clearMinMs

      public PacketIntervals.Builder clearMinMs()
       Minimum observed inter-packet interval in milliseconds.
       
      optional int64 min_ms = 536564403;
      Returns:
      This builder for chaining.
    • hasNumIntervals

      public boolean hasNumIntervals()
       Number of inter-packet intervals from which these statistics were derived.
       
      optional int64 num_intervals = 186329813;
      Specified by:
      hasNumIntervals in interface PacketIntervalsOrBuilder
      Returns:
      Whether the numIntervals field is set.
    • getNumIntervals

      public long getNumIntervals()
       Number of inter-packet intervals from which these statistics were derived.
       
      optional int64 num_intervals = 186329813;
      Specified by:
      getNumIntervals in interface PacketIntervalsOrBuilder
      Returns:
      The numIntervals.
    • setNumIntervals

      public PacketIntervals.Builder setNumIntervals(long value)
       Number of inter-packet intervals from which these statistics were derived.
       
      optional int64 num_intervals = 186329813;
      Parameters:
      value - The numIntervals to set.
      Returns:
      This builder for chaining.
    • clearNumIntervals

      public PacketIntervals.Builder clearNumIntervals()
       Number of inter-packet intervals from which these statistics were derived.
       
      optional int64 num_intervals = 186329813;
      Returns:
      This builder for chaining.
    • hasType

      public boolean hasType()
       The type of packets for which inter-packet intervals were computed.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Specified by:
      hasType in interface PacketIntervalsOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public String getType()
       The type of packets for which inter-packet intervals were computed.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Specified by:
      getType in interface PacketIntervalsOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       The type of packets for which inter-packet intervals were computed.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Specified by:
      getTypeBytes in interface PacketIntervalsOrBuilder
      Returns:
      The bytes for type.
    • setType

      public PacketIntervals.Builder setType(String value)
       The type of packets for which inter-packet intervals were computed.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public PacketIntervals.Builder clearType()
       The type of packets for which inter-packet intervals were computed.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Returns:
      This builder for chaining.
    • setTypeBytes

      public PacketIntervals.Builder setTypeBytes(com.google.protobuf.ByteString value)
       The type of packets for which inter-packet intervals were computed.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.