- 1.86.0 (latest)
 - 1.85.0
 - 1.84.0
 - 1.83.0
 - 1.82.0
 - 1.80.0
 - 1.78.0
 - 1.77.0
 - 1.74.0
 - 1.73.0
 - 1.72.0
 - 1.70.0
 - 1.69.0
 - 1.68.0
 - 1.67.0
 - 1.66.0
 - 1.65.0
 - 1.64.0
 - 1.63.0
 - 1.62.0
 - 1.61.0
 - 1.59.0
 - 1.58.0
 - 1.57.0
 - 1.56.0
 - 1.55.0
 - 1.54.0
 - 1.53.0
 - 1.52.0
 - 1.51.0
 - 1.50.0
 - 1.49.0
 - 1.47.0
 - 1.46.0
 - 1.45.0
 - 1.44.0
 - 1.43.0
 - 1.42.0
 - 1.41.0
 - 1.40.0
 - 1.39.0
 - 1.38.0
 - 1.37.0
 - 1.34.0
 - 1.33.0
 - 1.32.0
 - 1.31.0
 - 1.30.0
 - 1.29.0
 - 1.28.0
 - 1.27.0
 - 1.26.0
 - 1.25.0
 - 1.24.0
 - 1.23.0
 - 1.22.0
 - 1.21.0
 - 1.20.0
 - 1.19.0
 - 1.18.0
 - 1.17.0
 - 1.16.0
 - 1.15.0
 - 1.14.0
 - 1.13.0
 - 1.12.1
 - 1.11.0
 - 1.9.1
 - 1.8.1
 - 1.7.2
 - 1.6.0-beta
 
public static final class PacketIntervals.Builder extends GeneratedMessageV3.Builder<PacketIntervals.Builder> implements PacketIntervalsOrBuilderNext free: 7
 Protobuf type google.cloud.compute.v1.PacketIntervals
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PacketIntervals.BuilderImplements
PacketIntervalsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PacketIntervals.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        |
build()
public PacketIntervals build()| Returns | |
|---|---|
| Type | Description | 
PacketIntervals | 
        |
buildPartial()
public PacketIntervals buildPartial()| Returns | |
|---|---|
| Type | Description | 
PacketIntervals | 
        |
clear()
public PacketIntervals.Builder clear()| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        |
clearAvgMs()
public PacketIntervals.Builder clearAvgMs()Average observed inter-packet interval in milliseconds.
 optional int64 avg_ms = 204811827;
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        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 | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public PacketIntervals.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        |
clearMaxMs()
public PacketIntervals.Builder clearMaxMs()Maximum observed inter-packet interval in milliseconds.
 optional int64 max_ms = 529474145;
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        This builder for chaining.  | 
      
clearMinMs()
public PacketIntervals.Builder clearMinMs()Minimum observed inter-packet interval in milliseconds.
 optional int64 min_ms = 536564403;
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        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 | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public PacketIntervals.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        |
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 | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        This builder for chaining.  | 
      
clone()
public PacketIntervals.Builder clone()| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        |
getAvgMs()
public long getAvgMs()Average observed inter-packet interval in milliseconds.
 optional int64 avg_ms = 204811827;
| Returns | |
|---|---|
| Type | Description | 
long | 
        The avgMs.  | 
      
getDefaultInstanceForType()
public PacketIntervals getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
PacketIntervals | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
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;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The duration.  | 
      
getDurationBytes()
public 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;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for duration.  | 
      
getMaxMs()
public long getMaxMs()Maximum observed inter-packet interval in milliseconds.
 optional int64 max_ms = 529474145;
| Returns | |
|---|---|
| Type | Description | 
long | 
        The maxMs.  | 
      
getMinMs()
public long getMinMs()Minimum observed inter-packet interval in milliseconds.
 optional int64 min_ms = 536564403;
| Returns | |
|---|---|
| Type | Description | 
long | 
        The minMs.  | 
      
getNumIntervals()
public long getNumIntervals()Number of inter-packet intervals from which these statistics were derived.
 optional int64 num_intervals = 186329813;
| Returns | |
|---|---|
| Type | Description | 
long | 
        The numIntervals.  | 
      
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;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The type.  | 
      
getTypeBytes()
public 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;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for type.  | 
      
hasAvgMs()
public boolean hasAvgMs()Average observed inter-packet interval in milliseconds.
 optional int64 avg_ms = 204811827;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the avgMs field is set.  | 
      
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;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the duration field is set.  | 
      
hasMaxMs()
public boolean hasMaxMs()Maximum observed inter-packet interval in milliseconds.
 optional int64 max_ms = 529474145;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the maxMs field is set.  | 
      
hasMinMs()
public boolean hasMinMs()Minimum observed inter-packet interval in milliseconds.
 optional int64 min_ms = 536564403;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the minMs field is set.  | 
      
hasNumIntervals()
public boolean hasNumIntervals()Number of inter-packet intervals from which these statistics were derived.
 optional int64 num_intervals = 186329813;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the numIntervals field is set.  | 
      
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;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the type field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(PacketIntervals other)
public PacketIntervals.Builder mergeFrom(PacketIntervals other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        PacketIntervals | 
      
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PacketIntervals.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public PacketIntervals.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PacketIntervals.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        |
setAvgMs(long value)
public PacketIntervals.Builder setAvgMs(long value)Average observed inter-packet interval in milliseconds.
 optional int64 avg_ms = 204811827;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        longThe avgMs to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        This builder for chaining.  | 
      
setDuration(String value)
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;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe duration to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        This builder for chaining.  | 
      
setDurationBytes(ByteString value)
public PacketIntervals.Builder setDurationBytes(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;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for duration to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public PacketIntervals.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        |
setMaxMs(long value)
public PacketIntervals.Builder setMaxMs(long value)Maximum observed inter-packet interval in milliseconds.
 optional int64 max_ms = 529474145;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        longThe maxMs to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        This builder for chaining.  | 
      
setMinMs(long value)
public PacketIntervals.Builder setMinMs(long value)Minimum observed inter-packet interval in milliseconds.
 optional int64 min_ms = 536564403;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        longThe minMs to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        This builder for chaining.  | 
      
setNumIntervals(long value)
public PacketIntervals.Builder setNumIntervals(long value)Number of inter-packet intervals from which these statistics were derived.
 optional int64 num_intervals = 186329813;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        longThe numIntervals to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PacketIntervals.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        |
setType(String value)
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;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe type to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        This builder for chaining.  | 
      
setTypeBytes(ByteString value)
public PacketIntervals.Builder setTypeBytes(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;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for type to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final PacketIntervals.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
PacketIntervals.Builder | 
        |