public static final class ExternEntry.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExternEntry.Builder> implements ExternEntryOrBuilder
p4.ExternEntry
Modifier and Type | Method and Description |
---|---|
ExternEntry.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExternEntry |
build() |
ExternEntry |
buildPartial() |
ExternEntry.Builder |
clear() |
ExternEntry.Builder |
clearEntry()
.google.protobuf.Any entry = 3; |
ExternEntry.Builder |
clearExternId()
id of the instance
|
ExternEntry.Builder |
clearExternTypeId()
the extern_type_id is assigned during compilation.
|
ExternEntry.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExternEntry.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExternEntry.Builder |
clone() |
ExternEntry |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Any |
getEntry()
.google.protobuf.Any entry = 3; |
com.google.protobuf.Any.Builder |
getEntryBuilder()
.google.protobuf.Any entry = 3; |
com.google.protobuf.AnyOrBuilder |
getEntryOrBuilder()
.google.protobuf.Any entry = 3; |
int |
getExternId()
id of the instance
|
int |
getExternTypeId()
the extern_type_id is assigned during compilation.
|
boolean |
hasEntry()
.google.protobuf.Any entry = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExternEntry.Builder |
mergeEntry(com.google.protobuf.Any value)
.google.protobuf.Any entry = 3; |
ExternEntry.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExternEntry.Builder |
mergeFrom(ExternEntry other) |
ExternEntry.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExternEntry.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExternEntry.Builder |
setEntry(com.google.protobuf.Any.Builder builderForValue)
.google.protobuf.Any entry = 3; |
ExternEntry.Builder |
setEntry(com.google.protobuf.Any value)
.google.protobuf.Any entry = 3; |
ExternEntry.Builder |
setExternId(int value)
id of the instance
|
ExternEntry.Builder |
setExternTypeId(int value)
the extern_type_id is assigned during compilation.
|
ExternEntry.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExternEntry.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExternEntry.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<ExternEntry.Builder>
public ExternEntry.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<ExternEntry.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<ExternEntry.Builder>
public ExternEntry getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ExternEntry build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ExternEntry buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ExternEntry.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<ExternEntry.Builder>
public ExternEntry.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<ExternEntry.Builder>
public ExternEntry.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ExternEntry.Builder>
public ExternEntry.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ExternEntry.Builder>
public ExternEntry.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<ExternEntry.Builder>
public ExternEntry.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<ExternEntry.Builder>
public ExternEntry.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ExternEntry.Builder>
public ExternEntry.Builder mergeFrom(ExternEntry other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ExternEntry.Builder>
public ExternEntry.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<ExternEntry.Builder>
IOException
public int getExternTypeId()
the extern_type_id is assigned during compilation. It is likely that this id will in fact come from a P4 annotation to the extern declaration and that each vendor will receive a prefix to avoid collisions.
uint32 extern_type_id = 1;
getExternTypeId
in interface ExternEntryOrBuilder
public ExternEntry.Builder setExternTypeId(int value)
the extern_type_id is assigned during compilation. It is likely that this id will in fact come from a P4 annotation to the extern declaration and that each vendor will receive a prefix to avoid collisions.
uint32 extern_type_id = 1;
public ExternEntry.Builder clearExternTypeId()
the extern_type_id is assigned during compilation. It is likely that this id will in fact come from a P4 annotation to the extern declaration and that each vendor will receive a prefix to avoid collisions.
uint32 extern_type_id = 1;
public int getExternId()
id of the instance
uint32 extern_id = 2;
getExternId
in interface ExternEntryOrBuilder
public ExternEntry.Builder setExternId(int value)
id of the instance
uint32 extern_id = 2;
public ExternEntry.Builder clearExternId()
id of the instance
uint32 extern_id = 2;
public boolean hasEntry()
.google.protobuf.Any entry = 3;
hasEntry
in interface ExternEntryOrBuilder
public com.google.protobuf.Any getEntry()
.google.protobuf.Any entry = 3;
getEntry
in interface ExternEntryOrBuilder
public ExternEntry.Builder setEntry(com.google.protobuf.Any value)
.google.protobuf.Any entry = 3;
public ExternEntry.Builder setEntry(com.google.protobuf.Any.Builder builderForValue)
.google.protobuf.Any entry = 3;
public ExternEntry.Builder mergeEntry(com.google.protobuf.Any value)
.google.protobuf.Any entry = 3;
public ExternEntry.Builder clearEntry()
.google.protobuf.Any entry = 3;
public com.google.protobuf.Any.Builder getEntryBuilder()
.google.protobuf.Any entry = 3;
public com.google.protobuf.AnyOrBuilder getEntryOrBuilder()
.google.protobuf.Any entry = 3;
getEntryOrBuilder
in interface ExternEntryOrBuilder
public final ExternEntry.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ExternEntry.Builder>
public final ExternEntry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ExternEntry.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.