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