public static final class Counter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Counter.Builder> implements CounterOrBuilder
p4.config.Counter
Modifier and Type | Method and Description |
---|---|
Counter.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Counter |
build() |
Counter |
buildPartial() |
Counter.Builder |
clear() |
Counter.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Counter.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Counter.Builder |
clearPreamble()
.p4.config.Preamble preamble = 1; |
Counter.Builder |
clearSize()
number of entries in the counter array
|
Counter.Builder |
clearSpec()
.p4.config.CounterSpec spec = 2; |
Counter.Builder |
clone() |
Counter |
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 counter array
|
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() |
Counter.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Counter.Builder |
mergeFrom(Counter other) |
Counter.Builder |
mergeFrom(com.google.protobuf.Message other) |
Counter.Builder |
mergePreamble(Preamble value)
.p4.config.Preamble preamble = 1; |
Counter.Builder |
mergeSpec(CounterSpec value)
.p4.config.CounterSpec spec = 2; |
Counter.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Counter.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Counter.Builder |
setPreamble(Preamble.Builder builderForValue)
.p4.config.Preamble preamble = 1; |
Counter.Builder |
setPreamble(Preamble value)
.p4.config.Preamble preamble = 1; |
Counter.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Counter.Builder |
setSize(long value)
number of entries in the counter array
|
Counter.Builder |
setSpec(CounterSpec.Builder builderForValue)
.p4.config.CounterSpec spec = 2; |
Counter.Builder |
setSpec(CounterSpec value)
.p4.config.CounterSpec spec = 2; |
Counter.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<Counter.Builder>
public Counter.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<Counter.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<Counter.Builder>
public Counter getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Counter build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Counter buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Counter.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<Counter.Builder>
public Counter.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<Counter.Builder>
public Counter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Counter.Builder>
public Counter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Counter.Builder>
public Counter.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<Counter.Builder>
public Counter.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<Counter.Builder>
public Counter.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Counter.Builder>
public Counter.Builder mergeFrom(Counter other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Counter.Builder>
public Counter.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<Counter.Builder>
IOException
public boolean hasPreamble()
.p4.config.Preamble preamble = 1;
hasPreamble
in interface CounterOrBuilder
public Preamble getPreamble()
.p4.config.Preamble preamble = 1;
getPreamble
in interface CounterOrBuilder
public Counter.Builder setPreamble(Preamble value)
.p4.config.Preamble preamble = 1;
public Counter.Builder setPreamble(Preamble.Builder builderForValue)
.p4.config.Preamble preamble = 1;
public Counter.Builder mergePreamble(Preamble value)
.p4.config.Preamble preamble = 1;
public Counter.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 CounterOrBuilder
public boolean hasSpec()
.p4.config.CounterSpec spec = 2;
hasSpec
in interface CounterOrBuilder
public CounterSpec getSpec()
.p4.config.CounterSpec spec = 2;
getSpec
in interface CounterOrBuilder
public Counter.Builder setSpec(CounterSpec value)
.p4.config.CounterSpec spec = 2;
public Counter.Builder setSpec(CounterSpec.Builder builderForValue)
.p4.config.CounterSpec spec = 2;
public Counter.Builder mergeSpec(CounterSpec value)
.p4.config.CounterSpec spec = 2;
public Counter.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 CounterOrBuilder
public long getSize()
number of entries in the counter array
int64 size = 3;
getSize
in interface CounterOrBuilder
public Counter.Builder setSize(long value)
number of entries in the counter array
int64 size = 3;
public Counter.Builder clearSize()
number of entries in the counter array
int64 size = 3;
public final Counter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Counter.Builder>
public final Counter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Counter.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.