public static final class DirectMeter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DirectMeter.Builder> implements DirectMeterOrBuilder
p4.config.DirectMeter
Modifier and Type | Method and Description |
---|---|
DirectMeter.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DirectMeter |
build() |
DirectMeter |
buildPartial() |
DirectMeter.Builder |
clear() |
DirectMeter.Builder |
clearDirectTableId()
the id of the table to which the meter is attached
|
DirectMeter.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DirectMeter.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DirectMeter.Builder |
clearPreamble()
.p4.config.Preamble preamble = 1; |
DirectMeter.Builder |
clearSpec()
.p4.config.MeterSpec spec = 2; |
DirectMeter.Builder |
clone() |
DirectMeter |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getDirectTableId()
the id of the table to which the meter is attached
|
Preamble |
getPreamble()
.p4.config.Preamble preamble = 1; |
Preamble.Builder |
getPreambleBuilder()
.p4.config.Preamble preamble = 1; |
PreambleOrBuilder |
getPreambleOrBuilder()
.p4.config.Preamble preamble = 1; |
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() |
DirectMeter.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DirectMeter.Builder |
mergeFrom(DirectMeter other) |
DirectMeter.Builder |
mergeFrom(com.google.protobuf.Message other) |
DirectMeter.Builder |
mergePreamble(Preamble value)
.p4.config.Preamble preamble = 1; |
DirectMeter.Builder |
mergeSpec(MeterSpec value)
.p4.config.MeterSpec spec = 2; |
DirectMeter.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DirectMeter.Builder |
setDirectTableId(int value)
the id of the table to which the meter is attached
|
DirectMeter.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DirectMeter.Builder |
setPreamble(Preamble.Builder builderForValue)
.p4.config.Preamble preamble = 1; |
DirectMeter.Builder |
setPreamble(Preamble value)
.p4.config.Preamble preamble = 1; |
DirectMeter.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DirectMeter.Builder |
setSpec(MeterSpec.Builder builderForValue)
.p4.config.MeterSpec spec = 2; |
DirectMeter.Builder |
setSpec(MeterSpec value)
.p4.config.MeterSpec spec = 2; |
DirectMeter.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<DirectMeter.Builder>
public DirectMeter.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<DirectMeter.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<DirectMeter.Builder>
public DirectMeter getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public DirectMeter build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public DirectMeter buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public DirectMeter.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<DirectMeter.Builder>
public DirectMeter.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<DirectMeter.Builder>
public DirectMeter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<DirectMeter.Builder>
public DirectMeter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<DirectMeter.Builder>
public DirectMeter.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<DirectMeter.Builder>
public DirectMeter.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<DirectMeter.Builder>
public DirectMeter.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DirectMeter.Builder>
public DirectMeter.Builder mergeFrom(DirectMeter other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<DirectMeter.Builder>
public DirectMeter.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<DirectMeter.Builder>
IOException
public boolean hasPreamble()
.p4.config.Preamble preamble = 1;
hasPreamble
in interface DirectMeterOrBuilder
public Preamble getPreamble()
.p4.config.Preamble preamble = 1;
getPreamble
in interface DirectMeterOrBuilder
public DirectMeter.Builder setPreamble(Preamble value)
.p4.config.Preamble preamble = 1;
public DirectMeter.Builder setPreamble(Preamble.Builder builderForValue)
.p4.config.Preamble preamble = 1;
public DirectMeter.Builder mergePreamble(Preamble value)
.p4.config.Preamble preamble = 1;
public DirectMeter.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 DirectMeterOrBuilder
public boolean hasSpec()
.p4.config.MeterSpec spec = 2;
hasSpec
in interface DirectMeterOrBuilder
public MeterSpec getSpec()
.p4.config.MeterSpec spec = 2;
getSpec
in interface DirectMeterOrBuilder
public DirectMeter.Builder setSpec(MeterSpec value)
.p4.config.MeterSpec spec = 2;
public DirectMeter.Builder setSpec(MeterSpec.Builder builderForValue)
.p4.config.MeterSpec spec = 2;
public DirectMeter.Builder mergeSpec(MeterSpec value)
.p4.config.MeterSpec spec = 2;
public DirectMeter.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 DirectMeterOrBuilder
public int getDirectTableId()
the id of the table to which the meter is attached
uint32 direct_table_id = 3;
getDirectTableId
in interface DirectMeterOrBuilder
public DirectMeter.Builder setDirectTableId(int value)
the id of the table to which the meter is attached
uint32 direct_table_id = 3;
public DirectMeter.Builder clearDirectTableId()
the id of the table to which the meter is attached
uint32 direct_table_id = 3;
public final DirectMeter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DirectMeter.Builder>
public final DirectMeter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DirectMeter.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.