/**
* @copyright 2013 Computer Science Department, Recursive InterNetworking Architecture (RINA) laboratory, Boston University.
* All rights reserved. Permission to use, copy, modify, and distribute this software and its documentation
* for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all
* copies and that both the copyright notice and this permission notice appear in supporting documentation.
* The RINA laboratory of the Computer Science Department at Boston University makes no
* representations about the suitability of this software for any purpose.
* It is provided "as is" without express or implied warranty.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: qosCube.proto
package rina.object.gpb;
public final class QosCube_t {
private QosCube_t() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface qosCubes_tOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated .rina.messages.qosCube_t qosCube = 1;
java.util.List<rina.object.gpb.QosCube_t.qosCube_t>
getQosCubeList();
rina.object.gpb.QosCube_t.qosCube_t getQosCube(int index);
int getQosCubeCount();
java.util.List<? extends rina.object.gpb.QosCube_t.qosCube_tOrBuilder>
getQosCubeOrBuilderList();
rina.object.gpb.QosCube_t.qosCube_tOrBuilder getQosCubeOrBuilder(
int index);
}
public static final class qosCubes_t extends
com.google.protobuf.GeneratedMessage
implements qosCubes_tOrBuilder {
// Use qosCubes_t.newBuilder() to construct.
private qosCubes_t(Builder builder) {
super(builder);
}
private qosCubes_t(boolean noInit) {}
private static final qosCubes_t defaultInstance;
public static qosCubes_t getDefaultInstance() {
return defaultInstance;
}
public qosCubes_t getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return rina.object.gpb.QosCube_t.internal_static_rina_messages_qosCubes_t_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return rina.object.gpb.QosCube_t.internal_static_rina_messages_qosCubes_t_fieldAccessorTable;
}
// repeated .rina.messages.qosCube_t qosCube = 1;
public static final int QOSCUBE_FIELD_NUMBER = 1;
private java.util.List<rina.object.gpb.QosCube_t.qosCube_t> qosCube_;
public java.util.List<rina.object.gpb.QosCube_t.qosCube_t> getQosCubeList() {
return qosCube_;
}
public java.util.List<? extends rina.object.gpb.QosCube_t.qosCube_tOrBuilder>
getQosCubeOrBuilderList() {
return qosCube_;
}
public int getQosCubeCount() {
return qosCube_.size();
}
public rina.object.gpb.QosCube_t.qosCube_t getQosCube(int index) {
return qosCube_.get(index);
}
public rina.object.gpb.QosCube_t.qosCube_tOrBuilder getQosCubeOrBuilder(
int index) {
return qosCube_.get(index);
}
private void initFields() {
qosCube_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getQosCubeCount(); i++) {
if (!getQosCube(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < qosCube_.size(); i++) {
output.writeMessage(1, qosCube_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < qosCube_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, qosCube_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static rina.object.gpb.QosCube_t.qosCubes_t parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static rina.object.gpb.QosCube_t.qosCubes_t parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static rina.object.gpb.QosCube_t.qosCubes_t parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static rina.object.gpb.QosCube_t.qosCubes_t parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static rina.object.gpb.QosCube_t.qosCubes_t parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static rina.object.gpb.QosCube_t.qosCubes_t parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static rina.object.gpb.QosCube_t.qosCubes_t parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static rina.object.gpb.QosCube_t.qosCubes_t parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static rina.object.gpb.QosCube_t.qosCubes_t parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static rina.object.gpb.QosCube_t.qosCubes_t parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(rina.object.gpb.QosCube_t.qosCubes_t prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements rina.object.gpb.QosCube_t.qosCubes_tOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return rina.object.gpb.QosCube_t.internal_static_rina_messages_qosCubes_t_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return rina.object.gpb.QosCube_t.internal_static_rina_messages_qosCubes_t_fieldAccessorTable;
}
// Construct using rina.messages.QosCube.qosCubes_t.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getQosCubeFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (qosCubeBuilder_ == null) {
qosCube_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
qosCubeBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return rina.object.gpb.QosCube_t.qosCubes_t.getDescriptor();
}
public rina.object.gpb.QosCube_t.qosCubes_t getDefaultInstanceForType() {
return rina.object.gpb.QosCube_t.qosCubes_t.getDefaultInstance();
}
public rina.object.gpb.QosCube_t.qosCubes_t build() {
rina.object.gpb.QosCube_t.qosCubes_t result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private rina.object.gpb.QosCube_t.qosCubes_t buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
rina.object.gpb.QosCube_t.qosCubes_t result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public rina.object.gpb.QosCube_t.qosCubes_t buildPartial() {
rina.object.gpb.QosCube_t.qosCubes_t result = new rina.object.gpb.QosCube_t.qosCubes_t(this);
int from_bitField0_ = bitField0_;
if (qosCubeBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
qosCube_ = java.util.Collections.unmodifiableList(qosCube_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.qosCube_ = qosCube_;
} else {
result.qosCube_ = qosCubeBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof rina.object.gpb.QosCube_t.qosCubes_t) {
return mergeFrom((rina.object.gpb.QosCube_t.qosCubes_t)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(rina.object.gpb.QosCube_t.qosCubes_t other) {
if (other == rina.object.gpb.QosCube_t.qosCubes_t.getDefaultInstance()) return this;
if (qosCubeBuilder_ == null) {
if (!other.qosCube_.isEmpty()) {
if (qosCube_.isEmpty()) {
qosCube_ = other.qosCube_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureQosCubeIsMutable();
qosCube_.addAll(other.qosCube_);
}
onChanged();
}
} else {
if (!other.qosCube_.isEmpty()) {
if (qosCubeBuilder_.isEmpty()) {
qosCubeBuilder_.dispose();
qosCubeBuilder_ = null;
qosCube_ = other.qosCube_;
bitField0_ = (bitField0_ & ~0x00000001);
qosCubeBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getQosCubeFieldBuilder() : null;
} else {
qosCubeBuilder_.addAllMessages(other.qosCube_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getQosCubeCount(); i++) {
if (!getQosCube(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
rina.object.gpb.QosCube_t.qosCube_t.Builder subBuilder = rina.object.gpb.QosCube_t.qosCube_t.newBuilder();
input.readMessage(subBuilder, extensionRegistry);
addQosCube(subBuilder.buildPartial());
break;
}
}
}
}
private int bitField0_;
// repeated .rina.messages.qosCube_t qosCube = 1;
private java.util.List<rina.object.gpb.QosCube_t.qosCube_t> qosCube_ =
java.util.Collections.emptyList();
private void ensureQosCubeIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
qosCube_ = new java.util.ArrayList<rina.object.gpb.QosCube_t.qosCube_t>(qosCube_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
rina.object.gpb.QosCube_t.qosCube_t, rina.object.gpb.QosCube_t.qosCube_t.Builder, rina.object.gpb.QosCube_t.qosCube_tOrBuilder> qosCubeBuilder_;
public java.util.List<rina.object.gpb.QosCube_t.qosCube_t> getQosCubeList() {
if (qosCubeBuilder_ == null) {
return java.util.Collections.unmodifiableList(qosCube_);
} else {
return qosCubeBuilder_.getMessageList();
}
}
public int getQosCubeCount() {
if (qosCubeBuilder_ == null) {
return qosCube_.size();
} else {
return qosCubeBuilder_.getCount();
}
}
public rina.object.gpb.QosCube_t.qosCube_t getQosCube(int index) {
if (qosCubeBuilder_ == null) {
return qosCube_.get(index);
} else {
return qosCubeBuilder_.getMessage(index);
}
}
public Builder setQosCube(
int index, rina.object.gpb.QosCube_t.qosCube_t value) {
if (qosCubeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQosCubeIsMutable();
qosCube_.set(index, value);
onChanged();
} else {
qosCubeBuilder_.setMessage(index, value);
}
return this;
}
public Builder setQosCube(
int index, rina.object.gpb.QosCube_t.qosCube_t.Builder builderForValue) {
if (qosCubeBuilder_ == null) {
ensureQosCubeIsMutable();
qosCube_.set(index, builderForValue.build());
onChanged();
} else {
qosCubeBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addQosCube(rina.object.gpb.QosCube_t.qosCube_t value) {
if (qosCubeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQosCubeIsMutable();
qosCube_.add(value);
onChanged();
} else {
qosCubeBuilder_.addMessage(value);
}
return this;
}
public Builder addQosCube(
int index, rina.object.gpb.QosCube_t.qosCube_t value) {
if (qosCubeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQosCubeIsMutable();
qosCube_.add(index, value);
onChanged();
} else {
qosCubeBuilder_.addMessage(index, value);
}
return this;
}
public Builder addQosCube(
rina.object.gpb.QosCube_t.qosCube_t.Builder builderForValue) {
if (qosCubeBuilder_ == null) {
ensureQosCubeIsMutable();
qosCube_.add(builderForValue.build());
onChanged();
} else {
qosCubeBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addQosCube(
int index, rina.object.gpb.QosCube_t.qosCube_t.Builder builderForValue) {
if (qosCubeBuilder_ == null) {
ensureQosCubeIsMutable();
qosCube_.add(index, builderForValue.build());
onChanged();
} else {
qosCubeBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllQosCube(
java.lang.Iterable<? extends rina.object.gpb.QosCube_t.qosCube_t> values) {
if (qosCubeBuilder_ == null) {
ensureQosCubeIsMutable();
super.addAll(values, qosCube_);
onChanged();
} else {
qosCubeBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearQosCube() {
if (qosCubeBuilder_ == null) {
qosCube_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
qosCubeBuilder_.clear();
}
return this;
}
public Builder removeQosCube(int index) {
if (qosCubeBuilder_ == null) {
ensureQosCubeIsMutable();
qosCube_.remove(index);
onChanged();
} else {
qosCubeBuilder_.remove(index);
}
return this;
}
public rina.object.gpb.QosCube_t.qosCube_t.Builder getQosCubeBuilder(
int index) {
return getQosCubeFieldBuilder().getBuilder(index);
}
public rina.object.gpb.QosCube_t.qosCube_tOrBuilder getQosCubeOrBuilder(
int index) {
if (qosCubeBuilder_ == null) {
return qosCube_.get(index); } else {
return qosCubeBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List<? extends rina.object.gpb.QosCube_t.qosCube_tOrBuilder>
getQosCubeOrBuilderList() {
if (qosCubeBuilder_ != null) {
return qosCubeBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(qosCube_);
}
}
public rina.object.gpb.QosCube_t.qosCube_t.Builder addQosCubeBuilder() {
return getQosCubeFieldBuilder().addBuilder(
rina.object.gpb.QosCube_t.qosCube_t.getDefaultInstance());
}
public rina.object.gpb.QosCube_t.qosCube_t.Builder addQosCubeBuilder(
int index) {
return getQosCubeFieldBuilder().addBuilder(
index, rina.object.gpb.QosCube_t.qosCube_t.getDefaultInstance());
}
public java.util.List<rina.object.gpb.QosCube_t.qosCube_t.Builder>
getQosCubeBuilderList() {
return getQosCubeFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
rina.object.gpb.QosCube_t.qosCube_t, rina.object.gpb.QosCube_t.qosCube_t.Builder, rina.object.gpb.QosCube_t.qosCube_tOrBuilder>
getQosCubeFieldBuilder() {
if (qosCubeBuilder_ == null) {
qosCubeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
rina.object.gpb.QosCube_t.qosCube_t, rina.object.gpb.QosCube_t.qosCube_t.Builder, rina.object.gpb.QosCube_t.qosCube_tOrBuilder>(
qosCube_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
qosCube_ = null;
}
return qosCubeBuilder_;
}
// @@protoc_insertion_point(builder_scope:rina.messages.qosCubes_t)
}
static {
defaultInstance = new qosCubes_t(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:rina.messages.qosCubes_t)
}
public interface qosCube_tOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required uint32 qosId = 1;
boolean hasQosId();
int getQosId();
// optional string name = 2;
boolean hasName();
String getName();
// optional uint64 averageBandwidth = 3;
boolean hasAverageBandwidth();
long getAverageBandwidth();
// optional uint64 averageSDUBandwidth = 4;
boolean hasAverageSDUBandwidth();
long getAverageSDUBandwidth();
// optional uint32 peakBandwidthDuration = 5;
boolean hasPeakBandwidthDuration();
int getPeakBandwidthDuration();
// optional uint32 peakSDUBandwidthDuration = 6;
boolean hasPeakSDUBandwidthDuration();
int getPeakSDUBandwidthDuration();
// optional double undetectedBitErrorRate = 7;
boolean hasUndetectedBitErrorRate();
double getUndetectedBitErrorRate();
// optional bool partialDelivery = 8;
boolean hasPartialDelivery();
boolean getPartialDelivery();
// optional bool order = 9;
boolean hasOrder();
boolean getOrder();
// optional uint32 maxAllowableGapSdu = 10;
boolean hasMaxAllowableGapSdu();
int getMaxAllowableGapSdu();
// optional uint32 delay = 11;
boolean hasDelay();
int getDelay();
// optional uint32 jitter = 12;
boolean hasJitter();
int getJitter();
}
public static final class qosCube_t extends
com.google.protobuf.GeneratedMessage
implements qosCube_tOrBuilder {
// Use qosCube_t.newBuilder() to construct.
private qosCube_t(Builder builder) {
super(builder);
}
private qosCube_t(boolean noInit) {}
private static final qosCube_t defaultInstance;
public static qosCube_t getDefaultInstance() {
return defaultInstance;
}
public qosCube_t getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return rina.object.gpb.QosCube_t.internal_static_rina_messages_qosCube_t_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return rina.object.gpb.QosCube_t.internal_static_rina_messages_qosCube_t_fieldAccessorTable;
}
private int bitField0_;
// required uint32 qosId = 1;
public static final int QOSID_FIELD_NUMBER = 1;
private int qosId_;
public boolean hasQosId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getQosId() {
return qosId_;
}
// optional string name = 2;
public static final int NAME_FIELD_NUMBER = 2;
private java.lang.Object name_;
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getName() {
java.lang.Object ref = name_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
name_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional uint64 averageBandwidth = 3;
public static final int AVERAGEBANDWIDTH_FIELD_NUMBER = 3;
private long averageBandwidth_;
public boolean hasAverageBandwidth() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public long getAverageBandwidth() {
return averageBandwidth_;
}
// optional uint64 averageSDUBandwidth = 4;
public static final int AVERAGESDUBANDWIDTH_FIELD_NUMBER = 4;
private long averageSDUBandwidth_;
public boolean hasAverageSDUBandwidth() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public long getAverageSDUBandwidth() {
return averageSDUBandwidth_;
}
// optional uint32 peakBandwidthDuration = 5;
public static final int PEAKBANDWIDTHDURATION_FIELD_NUMBER = 5;
private int peakBandwidthDuration_;
public boolean hasPeakBandwidthDuration() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public int getPeakBandwidthDuration() {
return peakBandwidthDuration_;
}
// optional uint32 peakSDUBandwidthDuration = 6;
public static final int PEAKSDUBANDWIDTHDURATION_FIELD_NUMBER = 6;
private int peakSDUBandwidthDuration_;
public boolean hasPeakSDUBandwidthDuration() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public int getPeakSDUBandwidthDuration() {
return peakSDUBandwidthDuration_;
}
// optional double undetectedBitErrorRate = 7;
public static final int UNDETECTEDBITERRORRATE_FIELD_NUMBER = 7;
private double undetectedBitErrorRate_;
public boolean hasUndetectedBitErrorRate() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public double getUndetectedBitErrorRate() {
return undetectedBitErrorRate_;
}
// optional bool partialDelivery = 8;
public static final int PARTIALDELIVERY_FIELD_NUMBER = 8;
private boolean partialDelivery_;
public boolean hasPartialDelivery() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
public boolean getPartialDelivery() {
return partialDelivery_;
}
// optional bool order = 9;
public static final int ORDER_FIELD_NUMBER = 9;
private boolean order_;
public boolean hasOrder() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
public boolean getOrder() {
return order_;
}
// optional uint32 maxAllowableGapSdu = 10;
public static final int MAXALLOWABLEGAPSDU_FIELD_NUMBER = 10;
private int maxAllowableGapSdu_;
public boolean hasMaxAllowableGapSdu() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
public int getMaxAllowableGapSdu() {
return maxAllowableGapSdu_;
}
// optional uint32 delay = 11;
public static final int DELAY_FIELD_NUMBER = 11;
private int delay_;
public boolean hasDelay() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
public int getDelay() {
return delay_;
}
// optional uint32 jitter = 12;
public static final int JITTER_FIELD_NUMBER = 12;
private int jitter_;
public boolean hasJitter() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
public int getJitter() {
return jitter_;
}
private void initFields() {
qosId_ = 0;
name_ = "";
averageBandwidth_ = 0L;
averageSDUBandwidth_ = 0L;
peakBandwidthDuration_ = 0;
peakSDUBandwidthDuration_ = 0;
undetectedBitErrorRate_ = 0D;
partialDelivery_ = false;
order_ = false;
maxAllowableGapSdu_ = 0;
delay_ = 0;
jitter_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasQosId()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, qosId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getNameBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt64(3, averageBandwidth_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeUInt64(4, averageSDUBandwidth_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeUInt32(5, peakBandwidthDuration_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeUInt32(6, peakSDUBandwidthDuration_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeDouble(7, undetectedBitErrorRate_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeBool(8, partialDelivery_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeBool(9, order_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeUInt32(10, maxAllowableGapSdu_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
output.writeUInt32(11, delay_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
output.writeUInt32(12, jitter_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, qosId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getNameBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, averageBandwidth_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, averageSDUBandwidth_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, peakBandwidthDuration_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, peakSDUBandwidthDuration_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(7, undetectedBitErrorRate_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(8, partialDelivery_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, order_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, maxAllowableGapSdu_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, delay_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(12, jitter_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static rina.object.gpb.QosCube_t.qosCube_t parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static rina.object.gpb.QosCube_t.qosCube_t parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static rina.object.gpb.QosCube_t.qosCube_t parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static rina.object.gpb.QosCube_t.qosCube_t parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static rina.object.gpb.QosCube_t.qosCube_t parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static rina.object.gpb.QosCube_t.qosCube_t parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static rina.object.gpb.QosCube_t.qosCube_t parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static rina.object.gpb.QosCube_t.qosCube_t parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static rina.object.gpb.QosCube_t.qosCube_t parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static rina.object.gpb.QosCube_t.qosCube_t parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(rina.object.gpb.QosCube_t.qosCube_t prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements rina.object.gpb.QosCube_t.qosCube_tOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return rina.object.gpb.QosCube_t.internal_static_rina_messages_qosCube_t_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return rina.object.gpb.QosCube_t.internal_static_rina_messages_qosCube_t_fieldAccessorTable;
}
// Construct using rina.messages.QosCube.qosCube_t.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
qosId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
name_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
averageBandwidth_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
averageSDUBandwidth_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
peakBandwidthDuration_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
peakSDUBandwidthDuration_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
undetectedBitErrorRate_ = 0D;
bitField0_ = (bitField0_ & ~0x00000040);
partialDelivery_ = false;
bitField0_ = (bitField0_ & ~0x00000080);
order_ = false;
bitField0_ = (bitField0_ & ~0x00000100);
maxAllowableGapSdu_ = 0;
bitField0_ = (bitField0_ & ~0x00000200);
delay_ = 0;
bitField0_ = (bitField0_ & ~0x00000400);
jitter_ = 0;
bitField0_ = (bitField0_ & ~0x00000800);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return rina.object.gpb.QosCube_t.qosCube_t.getDescriptor();
}
public rina.object.gpb.QosCube_t.qosCube_t getDefaultInstanceForType() {
return rina.object.gpb.QosCube_t.qosCube_t.getDefaultInstance();
}
public rina.object.gpb.QosCube_t.qosCube_t build() {
rina.object.gpb.QosCube_t.qosCube_t result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private rina.object.gpb.QosCube_t.qosCube_t buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
rina.object.gpb.QosCube_t.qosCube_t result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public rina.object.gpb.QosCube_t.qosCube_t buildPartial() {
rina.object.gpb.QosCube_t.qosCube_t result = new rina.object.gpb.QosCube_t.qosCube_t(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.qosId_ = qosId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.averageBandwidth_ = averageBandwidth_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.averageSDUBandwidth_ = averageSDUBandwidth_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.peakBandwidthDuration_ = peakBandwidthDuration_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.peakSDUBandwidthDuration_ = peakSDUBandwidthDuration_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.undetectedBitErrorRate_ = undetectedBitErrorRate_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.partialDelivery_ = partialDelivery_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.order_ = order_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000200;
}
result.maxAllowableGapSdu_ = maxAllowableGapSdu_;
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000400;
}
result.delay_ = delay_;
if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
to_bitField0_ |= 0x00000800;
}
result.jitter_ = jitter_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof rina.object.gpb.QosCube_t.qosCube_t) {
return mergeFrom((rina.object.gpb.QosCube_t.qosCube_t)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(rina.object.gpb.QosCube_t.qosCube_t other) {
if (other == rina.object.gpb.QosCube_t.qosCube_t.getDefaultInstance()) return this;
if (other.hasQosId()) {
setQosId(other.getQosId());
}
if (other.hasName()) {
setName(other.getName());
}
if (other.hasAverageBandwidth()) {
setAverageBandwidth(other.getAverageBandwidth());
}
if (other.hasAverageSDUBandwidth()) {
setAverageSDUBandwidth(other.getAverageSDUBandwidth());
}
if (other.hasPeakBandwidthDuration()) {
setPeakBandwidthDuration(other.getPeakBandwidthDuration());
}
if (other.hasPeakSDUBandwidthDuration()) {
setPeakSDUBandwidthDuration(other.getPeakSDUBandwidthDuration());
}
if (other.hasUndetectedBitErrorRate()) {
setUndetectedBitErrorRate(other.getUndetectedBitErrorRate());
}
if (other.hasPartialDelivery()) {
setPartialDelivery(other.getPartialDelivery());
}
if (other.hasOrder()) {
setOrder(other.getOrder());
}
if (other.hasMaxAllowableGapSdu()) {
setMaxAllowableGapSdu(other.getMaxAllowableGapSdu());
}
if (other.hasDelay()) {
setDelay(other.getDelay());
}
if (other.hasJitter()) {
setJitter(other.getJitter());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasQosId()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
qosId_ = input.readUInt32();
break;
}
case 18: {
bitField0_ |= 0x00000002;
name_ = input.readBytes();
break;
}
case 24: {
bitField0_ |= 0x00000004;
averageBandwidth_ = input.readUInt64();
break;
}
case 32: {
bitField0_ |= 0x00000008;
averageSDUBandwidth_ = input.readUInt64();
break;
}
case 40: {
bitField0_ |= 0x00000010;
peakBandwidthDuration_ = input.readUInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
peakSDUBandwidthDuration_ = input.readUInt32();
break;
}
case 57: {
bitField0_ |= 0x00000040;
undetectedBitErrorRate_ = input.readDouble();
break;
}
case 64: {
bitField0_ |= 0x00000080;
partialDelivery_ = input.readBool();
break;
}
case 72: {
bitField0_ |= 0x00000100;
order_ = input.readBool();
break;
}
case 80: {
bitField0_ |= 0x00000200;
maxAllowableGapSdu_ = input.readUInt32();
break;
}
case 88: {
bitField0_ |= 0x00000400;
delay_ = input.readUInt32();
break;
}
case 96: {
bitField0_ |= 0x00000800;
jitter_ = input.readUInt32();
break;
}
}
}
}
private int bitField0_;
// required uint32 qosId = 1;
private int qosId_ ;
public boolean hasQosId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getQosId() {
return qosId_;
}
public Builder setQosId(int value) {
bitField0_ |= 0x00000001;
qosId_ = value;
onChanged();
return this;
}
public Builder clearQosId() {
bitField0_ = (bitField0_ & ~0x00000001);
qosId_ = 0;
onChanged();
return this;
}
// optional string name = 2;
private java.lang.Object name_ = "";
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
name_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
void setName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
}
// optional uint64 averageBandwidth = 3;
private long averageBandwidth_ ;
public boolean hasAverageBandwidth() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public long getAverageBandwidth() {
return averageBandwidth_;
}
public Builder setAverageBandwidth(long value) {
bitField0_ |= 0x00000004;
averageBandwidth_ = value;
onChanged();
return this;
}
public Builder clearAverageBandwidth() {
bitField0_ = (bitField0_ & ~0x00000004);
averageBandwidth_ = 0L;
onChanged();
return this;
}
// optional uint64 averageSDUBandwidth = 4;
private long averageSDUBandwidth_ ;
public boolean hasAverageSDUBandwidth() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public long getAverageSDUBandwidth() {
return averageSDUBandwidth_;
}
public Builder setAverageSDUBandwidth(long value) {
bitField0_ |= 0x00000008;
averageSDUBandwidth_ = value;
onChanged();
return this;
}
public Builder clearAverageSDUBandwidth() {
bitField0_ = (bitField0_ & ~0x00000008);
averageSDUBandwidth_ = 0L;
onChanged();
return this;
}
// optional uint32 peakBandwidthDuration = 5;
private int peakBandwidthDuration_ ;
public boolean hasPeakBandwidthDuration() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public int getPeakBandwidthDuration() {
return peakBandwidthDuration_;
}
public Builder setPeakBandwidthDuration(int value) {
bitField0_ |= 0x00000010;
peakBandwidthDuration_ = value;
onChanged();
return this;
}
public Builder clearPeakBandwidthDuration() {
bitField0_ = (bitField0_ & ~0x00000010);
peakBandwidthDuration_ = 0;
onChanged();
return this;
}
// optional uint32 peakSDUBandwidthDuration = 6;
private int peakSDUBandwidthDuration_ ;
public boolean hasPeakSDUBandwidthDuration() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public int getPeakSDUBandwidthDuration() {
return peakSDUBandwidthDuration_;
}
public Builder setPeakSDUBandwidthDuration(int value) {
bitField0_ |= 0x00000020;
peakSDUBandwidthDuration_ = value;
onChanged();
return this;
}
public Builder clearPeakSDUBandwidthDuration() {
bitField0_ = (bitField0_ & ~0x00000020);
peakSDUBandwidthDuration_ = 0;
onChanged();
return this;
}
// optional double undetectedBitErrorRate = 7;
private double undetectedBitErrorRate_ ;
public boolean hasUndetectedBitErrorRate() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public double getUndetectedBitErrorRate() {
return undetectedBitErrorRate_;
}
public Builder setUndetectedBitErrorRate(double value) {
bitField0_ |= 0x00000040;
undetectedBitErrorRate_ = value;
onChanged();
return this;
}
public Builder clearUndetectedBitErrorRate() {
bitField0_ = (bitField0_ & ~0x00000040);
undetectedBitErrorRate_ = 0D;
onChanged();
return this;
}
// optional bool partialDelivery = 8;
private boolean partialDelivery_ ;
public boolean hasPartialDelivery() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
public boolean getPartialDelivery() {
return partialDelivery_;
}
public Builder setPartialDelivery(boolean value) {
bitField0_ |= 0x00000080;
partialDelivery_ = value;
onChanged();
return this;
}
public Builder clearPartialDelivery() {
bitField0_ = (bitField0_ & ~0x00000080);
partialDelivery_ = false;
onChanged();
return this;
}
// optional bool order = 9;
private boolean order_ ;
public boolean hasOrder() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
public boolean getOrder() {
return order_;
}
public Builder setOrder(boolean value) {
bitField0_ |= 0x00000100;
order_ = value;
onChanged();
return this;
}
public Builder clearOrder() {
bitField0_ = (bitField0_ & ~0x00000100);
order_ = false;
onChanged();
return this;
}
// optional uint32 maxAllowableGapSdu = 10;
private int maxAllowableGapSdu_ ;
public boolean hasMaxAllowableGapSdu() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
public int getMaxAllowableGapSdu() {
return maxAllowableGapSdu_;
}
public Builder setMaxAllowableGapSdu(int value) {
bitField0_ |= 0x00000200;
maxAllowableGapSdu_ = value;
onChanged();
return this;
}
public Builder clearMaxAllowableGapSdu() {
bitField0_ = (bitField0_ & ~0x00000200);
maxAllowableGapSdu_ = 0;
onChanged();
return this;
}
// optional uint32 delay = 11;
private int delay_ ;
public boolean hasDelay() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
public int getDelay() {
return delay_;
}
public Builder setDelay(int value) {
bitField0_ |= 0x00000400;
delay_ = value;
onChanged();
return this;
}
public Builder clearDelay() {
bitField0_ = (bitField0_ & ~0x00000400);
delay_ = 0;
onChanged();
return this;
}
// optional uint32 jitter = 12;
private int jitter_ ;
public boolean hasJitter() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
public int getJitter() {
return jitter_;
}
public Builder setJitter(int value) {
bitField0_ |= 0x00000800;
jitter_ = value;
onChanged();
return this;
}
public Builder clearJitter() {
bitField0_ = (bitField0_ & ~0x00000800);
jitter_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:rina.messages.qosCube_t)
}
static {
defaultInstance = new qosCube_t(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:rina.messages.qosCube_t)
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_rina_messages_qosCubes_t_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_rina_messages_qosCubes_t_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_rina_messages_qosCube_t_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_rina_messages_qosCube_t_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\rqosCube.proto\022\rrina.messages\"7\n\nqosCub" +
"es_t\022)\n\007qosCube\030\001 \003(\0132\030.rina.messages.qo" +
"sCube_t\"\243\002\n\tqosCube_t\022\r\n\005qosId\030\001 \002(\r\022\014\n\004" +
"name\030\002 \001(\t\022\030\n\020averageBandwidth\030\003 \001(\004\022\033\n\023" +
"averageSDUBandwidth\030\004 \001(\004\022\035\n\025peakBandwid" +
"thDuration\030\005 \001(\r\022 \n\030peakSDUBandwidthDura" +
"tion\030\006 \001(\r\022\036\n\026undetectedBitErrorRate\030\007 \001" +
"(\001\022\027\n\017partialDelivery\030\010 \001(\010\022\r\n\005order\030\t \001" +
"(\010\022\032\n\022maxAllowableGapSdu\030\n \001(\r\022\r\n\005delay\030" +
"\013 \001(\r\022\016\n\006jitter\030\014 \001(\r"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
internal_static_rina_messages_qosCubes_t_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_rina_messages_qosCubes_t_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_rina_messages_qosCubes_t_descriptor,
new java.lang.String[] { "QosCube", },
rina.object.gpb.QosCube_t.qosCubes_t.class,
rina.object.gpb.QosCube_t.qosCubes_t.Builder.class);
internal_static_rina_messages_qosCube_t_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_rina_messages_qosCube_t_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_rina_messages_qosCube_t_descriptor,
new java.lang.String[] { "QosId", "Name", "AverageBandwidth", "AverageSDUBandwidth", "PeakBandwidthDuration", "PeakSDUBandwidthDuration", "UndetectedBitErrorRate", "PartialDelivery", "Order", "MaxAllowableGapSdu", "Delay", "Jitter", },
rina.object.gpb.QosCube_t.qosCube_t.class,
rina.object.gpb.QosCube_t.qosCube_t.Builder.class);
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}