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