Class 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.GeneratedMessageV3.Builder<PacketIntervals.Builder>
    implements PacketIntervalsOrBuilder
     Next free: 7
     
    Protobuf type google.cloud.compute.v1.PacketIntervals
    • Method Detail

      • 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<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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

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

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

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

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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.
      • setUnknownFields

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

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