public static final class DirectMeterEntry.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DirectMeterEntry.Builder> implements DirectMeterEntryOrBuilder
------------------------------------------------------------------------------ For WriteRequest, Update.Type has following semantics: - INSERT: Insert the cell in the meter array (with given configuration) - MODIFY: Modify the meter cell configuration - DELETE: Delete the meter cell (i.e. reset the meter configuration) For ReadRequest, the scope is defined as follows: - All meter cells for all meters if meter_id = 0 (default). - All meter cells for given meter_id if table_entry.match is empty.Protobuf type
p4.DirectMeterEntry
Modifier and Type | Method and Description |
---|---|
DirectMeterEntry.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DirectMeterEntry |
build() |
DirectMeterEntry |
buildPartial() |
DirectMeterEntry.Builder |
clear() |
DirectMeterEntry.Builder |
clearConfig()
.p4.MeterConfig config = 3; |
DirectMeterEntry.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DirectMeterEntry.Builder |
clearMeterId()
uint32 meter_id = 1; |
DirectMeterEntry.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DirectMeterEntry.Builder |
clearTableEntry()
The associated table entry match.
|
DirectMeterEntry.Builder |
clone() |
MeterConfig |
getConfig()
.p4.MeterConfig config = 3; |
MeterConfig.Builder |
getConfigBuilder()
.p4.MeterConfig config = 3; |
MeterConfigOrBuilder |
getConfigOrBuilder()
.p4.MeterConfig config = 3; |
DirectMeterEntry |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getMeterId()
uint32 meter_id = 1; |
TableEntry |
getTableEntry()
The associated table entry match.
|
TableEntry.Builder |
getTableEntryBuilder()
The associated table entry match.
|
TableEntryOrBuilder |
getTableEntryOrBuilder()
The associated table entry match.
|
boolean |
hasConfig()
.p4.MeterConfig config = 3; |
boolean |
hasTableEntry()
The associated table entry match.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DirectMeterEntry.Builder |
mergeConfig(MeterConfig value)
.p4.MeterConfig config = 3; |
DirectMeterEntry.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DirectMeterEntry.Builder |
mergeFrom(DirectMeterEntry other) |
DirectMeterEntry.Builder |
mergeFrom(com.google.protobuf.Message other) |
DirectMeterEntry.Builder |
mergeTableEntry(TableEntry value)
The associated table entry match.
|
DirectMeterEntry.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DirectMeterEntry.Builder |
setConfig(MeterConfig.Builder builderForValue)
.p4.MeterConfig config = 3; |
DirectMeterEntry.Builder |
setConfig(MeterConfig value)
.p4.MeterConfig config = 3; |
DirectMeterEntry.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DirectMeterEntry.Builder |
setMeterId(int value)
uint32 meter_id = 1; |
DirectMeterEntry.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DirectMeterEntry.Builder |
setTableEntry(TableEntry.Builder builderForValue)
The associated table entry match.
|
DirectMeterEntry.Builder |
setTableEntry(TableEntry value)
The associated table entry match.
|
DirectMeterEntry.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<DirectMeterEntry.Builder>
public DirectMeterEntry.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<DirectMeterEntry.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<DirectMeterEntry.Builder>
public DirectMeterEntry getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public DirectMeterEntry build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public DirectMeterEntry buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public DirectMeterEntry.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<DirectMeterEntry.Builder>
public DirectMeterEntry.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<DirectMeterEntry.Builder>
public DirectMeterEntry.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<DirectMeterEntry.Builder>
public DirectMeterEntry.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<DirectMeterEntry.Builder>
public DirectMeterEntry.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<DirectMeterEntry.Builder>
public DirectMeterEntry.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<DirectMeterEntry.Builder>
public DirectMeterEntry.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DirectMeterEntry.Builder>
public DirectMeterEntry.Builder mergeFrom(DirectMeterEntry other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<DirectMeterEntry.Builder>
public DirectMeterEntry.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<DirectMeterEntry.Builder>
IOException
public int getMeterId()
uint32 meter_id = 1;
getMeterId
in interface DirectMeterEntryOrBuilder
public DirectMeterEntry.Builder setMeterId(int value)
uint32 meter_id = 1;
public DirectMeterEntry.Builder clearMeterId()
uint32 meter_id = 1;
public boolean hasTableEntry()
The associated table entry match. table_entry.action is ignored. Other fields specify the match.
.p4.TableEntry table_entry = 2;
hasTableEntry
in interface DirectMeterEntryOrBuilder
public TableEntry getTableEntry()
The associated table entry match. table_entry.action is ignored. Other fields specify the match.
.p4.TableEntry table_entry = 2;
getTableEntry
in interface DirectMeterEntryOrBuilder
public DirectMeterEntry.Builder setTableEntry(TableEntry value)
The associated table entry match. table_entry.action is ignored. Other fields specify the match.
.p4.TableEntry table_entry = 2;
public DirectMeterEntry.Builder setTableEntry(TableEntry.Builder builderForValue)
The associated table entry match. table_entry.action is ignored. Other fields specify the match.
.p4.TableEntry table_entry = 2;
public DirectMeterEntry.Builder mergeTableEntry(TableEntry value)
The associated table entry match. table_entry.action is ignored. Other fields specify the match.
.p4.TableEntry table_entry = 2;
public DirectMeterEntry.Builder clearTableEntry()
The associated table entry match. table_entry.action is ignored. Other fields specify the match.
.p4.TableEntry table_entry = 2;
public TableEntry.Builder getTableEntryBuilder()
The associated table entry match. table_entry.action is ignored. Other fields specify the match.
.p4.TableEntry table_entry = 2;
public TableEntryOrBuilder getTableEntryOrBuilder()
The associated table entry match. table_entry.action is ignored. Other fields specify the match.
.p4.TableEntry table_entry = 2;
getTableEntryOrBuilder
in interface DirectMeterEntryOrBuilder
public boolean hasConfig()
.p4.MeterConfig config = 3;
hasConfig
in interface DirectMeterEntryOrBuilder
public MeterConfig getConfig()
.p4.MeterConfig config = 3;
getConfig
in interface DirectMeterEntryOrBuilder
public DirectMeterEntry.Builder setConfig(MeterConfig value)
.p4.MeterConfig config = 3;
public DirectMeterEntry.Builder setConfig(MeterConfig.Builder builderForValue)
.p4.MeterConfig config = 3;
public DirectMeterEntry.Builder mergeConfig(MeterConfig value)
.p4.MeterConfig config = 3;
public DirectMeterEntry.Builder clearConfig()
.p4.MeterConfig config = 3;
public MeterConfig.Builder getConfigBuilder()
.p4.MeterConfig config = 3;
public MeterConfigOrBuilder getConfigOrBuilder()
.p4.MeterConfig config = 3;
getConfigOrBuilder
in interface DirectMeterEntryOrBuilder
public final DirectMeterEntry.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DirectMeterEntry.Builder>
public final DirectMeterEntry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DirectMeterEntry.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.