public static final class Meter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Meter.Builder> implements MeterOrBuilder
p4.config.Meter
Modifier and Type | Method and Description |
---|---|
Meter.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Meter |
build() |
Meter |
buildPartial() |
Meter.Builder |
clear() |
Meter.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Meter.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Meter.Builder |
clearPreamble()
.p4.config.Preamble preamble = 1; |
Meter.Builder |
clearSize()
number of entries in the meter array
|
Meter.Builder |
clearSpec()
.p4.config.MeterSpec spec = 2; |
Meter.Builder |
clone() |
Meter |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Preamble |
getPreamble()
.p4.config.Preamble preamble = 1; |
Preamble.Builder |
getPreambleBuilder()
.p4.config.Preamble preamble = 1; |
PreambleOrBuilder |
getPreambleOrBuilder()
.p4.config.Preamble preamble = 1; |
long |
getSize()
number of entries in the meter array
|
MeterSpec |
getSpec()
.p4.config.MeterSpec spec = 2; |
MeterSpec.Builder |
getSpecBuilder()
.p4.config.MeterSpec spec = 2; |
MeterSpecOrBuilder |
getSpecOrBuilder()
.p4.config.MeterSpec spec = 2; |
boolean |
hasPreamble()
.p4.config.Preamble preamble = 1; |
boolean |
hasSpec()
.p4.config.MeterSpec spec = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Meter.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Meter.Builder |
mergeFrom(com.google.protobuf.Message other) |
Meter.Builder |
mergeFrom(Meter other) |
Meter.Builder |
mergePreamble(Preamble value)
.p4.config.Preamble preamble = 1; |
Meter.Builder |
mergeSpec(MeterSpec value)
.p4.config.MeterSpec spec = 2; |
Meter.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Meter.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Meter.Builder |
setPreamble(Preamble.Builder builderForValue)
.p4.config.Preamble preamble = 1; |
Meter.Builder |
setPreamble(Preamble value)
.p4.config.Preamble preamble = 1; |
Meter.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Meter.Builder |
setSize(long value)
number of entries in the meter array
|
Meter.Builder |
setSpec(MeterSpec.Builder builderForValue)
.p4.config.MeterSpec spec = 2; |
Meter.Builder |
setSpec(MeterSpec value)
.p4.config.MeterSpec spec = 2; |
Meter.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Meter.Builder>
public Meter.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Meter.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Meter.Builder>
public Meter getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Meter build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Meter buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Meter.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Meter.Builder>
public Meter.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Meter.Builder>
public Meter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Meter.Builder>
public Meter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Meter.Builder>
public Meter.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Meter.Builder>
public Meter.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Meter.Builder>
public Meter.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Meter.Builder>
public Meter.Builder mergeFrom(Meter other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Meter.Builder>
public Meter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Meter.Builder>
IOException
public boolean hasPreamble()
.p4.config.Preamble preamble = 1;
hasPreamble
in interface MeterOrBuilder
public Preamble getPreamble()
.p4.config.Preamble preamble = 1;
getPreamble
in interface MeterOrBuilder
public Meter.Builder setPreamble(Preamble value)
.p4.config.Preamble preamble = 1;
public Meter.Builder setPreamble(Preamble.Builder builderForValue)
.p4.config.Preamble preamble = 1;
public Meter.Builder mergePreamble(Preamble value)
.p4.config.Preamble preamble = 1;
public Meter.Builder clearPreamble()
.p4.config.Preamble preamble = 1;
public Preamble.Builder getPreambleBuilder()
.p4.config.Preamble preamble = 1;
public PreambleOrBuilder getPreambleOrBuilder()
.p4.config.Preamble preamble = 1;
getPreambleOrBuilder
in interface MeterOrBuilder
public boolean hasSpec()
.p4.config.MeterSpec spec = 2;
hasSpec
in interface MeterOrBuilder
public MeterSpec getSpec()
.p4.config.MeterSpec spec = 2;
getSpec
in interface MeterOrBuilder
public Meter.Builder setSpec(MeterSpec value)
.p4.config.MeterSpec spec = 2;
public Meter.Builder setSpec(MeterSpec.Builder builderForValue)
.p4.config.MeterSpec spec = 2;
public Meter.Builder mergeSpec(MeterSpec value)
.p4.config.MeterSpec spec = 2;
public Meter.Builder clearSpec()
.p4.config.MeterSpec spec = 2;
public MeterSpec.Builder getSpecBuilder()
.p4.config.MeterSpec spec = 2;
public MeterSpecOrBuilder getSpecOrBuilder()
.p4.config.MeterSpec spec = 2;
getSpecOrBuilder
in interface MeterOrBuilder
public long getSize()
number of entries in the meter array
int64 size = 3;
getSize
in interface MeterOrBuilder
public Meter.Builder setSize(long value)
number of entries in the meter array
int64 size = 3;
public Meter.Builder clearSize()
number of entries in the meter array
int64 size = 3;
public final Meter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Meter.Builder>
public final Meter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Meter.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.