public static final class Extern.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Extern.Builder> implements ExternOrBuilder
used to group all extern instances of the same type in one messageProtobuf type
p4.config.Extern
Modifier and Type | Method and Description |
---|---|
Extern.Builder |
addAllInstances(Iterable<? extends ExternInstance> values)
repeated .p4.config.ExternInstance instances = 3; |
Extern.Builder |
addInstances(ExternInstance.Builder builderForValue)
repeated .p4.config.ExternInstance instances = 3; |
Extern.Builder |
addInstances(ExternInstance value)
repeated .p4.config.ExternInstance instances = 3; |
Extern.Builder |
addInstances(int index,
ExternInstance.Builder builderForValue)
repeated .p4.config.ExternInstance instances = 3; |
Extern.Builder |
addInstances(int index,
ExternInstance value)
repeated .p4.config.ExternInstance instances = 3; |
ExternInstance.Builder |
addInstancesBuilder()
repeated .p4.config.ExternInstance instances = 3; |
ExternInstance.Builder |
addInstancesBuilder(int index)
repeated .p4.config.ExternInstance instances = 3; |
Extern.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Extern |
build() |
Extern |
buildPartial() |
Extern.Builder |
clear() |
Extern.Builder |
clearExternTypeId()
the extern_type_id is assigned during compilation.
|
Extern.Builder |
clearExternTypeName()
string extern_type_name = 2; |
Extern.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Extern.Builder |
clearInstances()
repeated .p4.config.ExternInstance instances = 3; |
Extern.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Extern.Builder |
clone() |
Extern |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getExternTypeId()
the extern_type_id is assigned during compilation.
|
String |
getExternTypeName()
string extern_type_name = 2; |
com.google.protobuf.ByteString |
getExternTypeNameBytes()
string extern_type_name = 2; |
ExternInstance |
getInstances(int index)
repeated .p4.config.ExternInstance instances = 3; |
ExternInstance.Builder |
getInstancesBuilder(int index)
repeated .p4.config.ExternInstance instances = 3; |
List<ExternInstance.Builder> |
getInstancesBuilderList()
repeated .p4.config.ExternInstance instances = 3; |
int |
getInstancesCount()
repeated .p4.config.ExternInstance instances = 3; |
List<ExternInstance> |
getInstancesList()
repeated .p4.config.ExternInstance instances = 3; |
ExternInstanceOrBuilder |
getInstancesOrBuilder(int index)
repeated .p4.config.ExternInstance instances = 3; |
List<? extends ExternInstanceOrBuilder> |
getInstancesOrBuilderList()
repeated .p4.config.ExternInstance instances = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Extern.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Extern.Builder |
mergeFrom(Extern other) |
Extern.Builder |
mergeFrom(com.google.protobuf.Message other) |
Extern.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Extern.Builder |
removeInstances(int index)
repeated .p4.config.ExternInstance instances = 3; |
Extern.Builder |
setExternTypeId(int value)
the extern_type_id is assigned during compilation.
|
Extern.Builder |
setExternTypeName(String value)
string extern_type_name = 2; |
Extern.Builder |
setExternTypeNameBytes(com.google.protobuf.ByteString value)
string extern_type_name = 2; |
Extern.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Extern.Builder |
setInstances(int index,
ExternInstance.Builder builderForValue)
repeated .p4.config.ExternInstance instances = 3; |
Extern.Builder |
setInstances(int index,
ExternInstance value)
repeated .p4.config.ExternInstance instances = 3; |
Extern.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Extern.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<Extern.Builder>
public Extern.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<Extern.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<Extern.Builder>
public Extern getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Extern build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Extern buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Extern.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<Extern.Builder>
public Extern.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<Extern.Builder>
public Extern.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Extern.Builder>
public Extern.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Extern.Builder>
public Extern.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<Extern.Builder>
public Extern.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<Extern.Builder>
public Extern.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Extern.Builder>
public Extern.Builder mergeFrom(Extern other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Extern.Builder>
public Extern.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<Extern.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 ExternOrBuilder
public Extern.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 Extern.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 String getExternTypeName()
string extern_type_name = 2;
getExternTypeName
in interface ExternOrBuilder
public com.google.protobuf.ByteString getExternTypeNameBytes()
string extern_type_name = 2;
getExternTypeNameBytes
in interface ExternOrBuilder
public Extern.Builder setExternTypeName(String value)
string extern_type_name = 2;
public Extern.Builder clearExternTypeName()
string extern_type_name = 2;
public Extern.Builder setExternTypeNameBytes(com.google.protobuf.ByteString value)
string extern_type_name = 2;
public List<ExternInstance> getInstancesList()
repeated .p4.config.ExternInstance instances = 3;
getInstancesList
in interface ExternOrBuilder
public int getInstancesCount()
repeated .p4.config.ExternInstance instances = 3;
getInstancesCount
in interface ExternOrBuilder
public ExternInstance getInstances(int index)
repeated .p4.config.ExternInstance instances = 3;
getInstances
in interface ExternOrBuilder
public Extern.Builder setInstances(int index, ExternInstance value)
repeated .p4.config.ExternInstance instances = 3;
public Extern.Builder setInstances(int index, ExternInstance.Builder builderForValue)
repeated .p4.config.ExternInstance instances = 3;
public Extern.Builder addInstances(ExternInstance value)
repeated .p4.config.ExternInstance instances = 3;
public Extern.Builder addInstances(int index, ExternInstance value)
repeated .p4.config.ExternInstance instances = 3;
public Extern.Builder addInstances(ExternInstance.Builder builderForValue)
repeated .p4.config.ExternInstance instances = 3;
public Extern.Builder addInstances(int index, ExternInstance.Builder builderForValue)
repeated .p4.config.ExternInstance instances = 3;
public Extern.Builder addAllInstances(Iterable<? extends ExternInstance> values)
repeated .p4.config.ExternInstance instances = 3;
public Extern.Builder clearInstances()
repeated .p4.config.ExternInstance instances = 3;
public Extern.Builder removeInstances(int index)
repeated .p4.config.ExternInstance instances = 3;
public ExternInstance.Builder getInstancesBuilder(int index)
repeated .p4.config.ExternInstance instances = 3;
public ExternInstanceOrBuilder getInstancesOrBuilder(int index)
repeated .p4.config.ExternInstance instances = 3;
getInstancesOrBuilder
in interface ExternOrBuilder
public List<? extends ExternInstanceOrBuilder> getInstancesOrBuilderList()
repeated .p4.config.ExternInstance instances = 3;
getInstancesOrBuilderList
in interface ExternOrBuilder
public ExternInstance.Builder addInstancesBuilder()
repeated .p4.config.ExternInstance instances = 3;
public ExternInstance.Builder addInstancesBuilder(int index)
repeated .p4.config.ExternInstance instances = 3;
public List<ExternInstance.Builder> getInstancesBuilderList()
repeated .p4.config.ExternInstance instances = 3;
public final Extern.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Extern.Builder>
public final Extern.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Extern.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.