public static final class CounterSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CounterSpec.Builder> implements CounterSpecOrBuilder
p4.config.CounterSpec
Modifier and Type | Method and Description |
---|---|
CounterSpec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CounterSpec |
build() |
CounterSpec |
buildPartial() |
CounterSpec.Builder |
clear() |
CounterSpec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CounterSpec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CounterSpec.Builder |
clearUnit()
.p4.config.CounterSpec.Unit unit = 1; |
CounterSpec.Builder |
clone() |
CounterSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
CounterSpec.Unit |
getUnit()
.p4.config.CounterSpec.Unit unit = 1; |
int |
getUnitValue()
.p4.config.CounterSpec.Unit unit = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CounterSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CounterSpec.Builder |
mergeFrom(CounterSpec other) |
CounterSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
CounterSpec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CounterSpec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CounterSpec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CounterSpec.Builder |
setUnit(CounterSpec.Unit value)
.p4.config.CounterSpec.Unit unit = 1; |
CounterSpec.Builder |
setUnitValue(int value)
.p4.config.CounterSpec.Unit unit = 1; |
CounterSpec.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<CounterSpec.Builder>
public CounterSpec.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<CounterSpec.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<CounterSpec.Builder>
public CounterSpec getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CounterSpec build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CounterSpec buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CounterSpec.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<CounterSpec.Builder>
public CounterSpec.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<CounterSpec.Builder>
public CounterSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<CounterSpec.Builder>
public CounterSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<CounterSpec.Builder>
public CounterSpec.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<CounterSpec.Builder>
public CounterSpec.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<CounterSpec.Builder>
public CounterSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CounterSpec.Builder>
public CounterSpec.Builder mergeFrom(CounterSpec other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CounterSpec.Builder>
public CounterSpec.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<CounterSpec.Builder>
IOException
public int getUnitValue()
.p4.config.CounterSpec.Unit unit = 1;
getUnitValue
in interface CounterSpecOrBuilder
public CounterSpec.Builder setUnitValue(int value)
.p4.config.CounterSpec.Unit unit = 1;
public CounterSpec.Unit getUnit()
.p4.config.CounterSpec.Unit unit = 1;
getUnit
in interface CounterSpecOrBuilder
public CounterSpec.Builder setUnit(CounterSpec.Unit value)
.p4.config.CounterSpec.Unit unit = 1;
public CounterSpec.Builder clearUnit()
.p4.config.CounterSpec.Unit unit = 1;
public final CounterSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CounterSpec.Builder>
public final CounterSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CounterSpec.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.