Package p4.config.v1
Class P4InfoOuterClass.Extern.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<P4InfoOuterClass.Extern.Builder>
com.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.Extern.Builder>
p4.config.v1.P4InfoOuterClass.Extern.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,P4InfoOuterClass.ExternOrBuilder
- Enclosing class:
P4InfoOuterClass.Extern
public static final class P4InfoOuterClass.Extern.Builder
extends com.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.Extern.Builder>
implements P4InfoOuterClass.ExternOrBuilder
used to group all extern instances of the same type in one messageProtobuf type
p4.config.v1.Extern-
Method Summary
Modifier and TypeMethodDescriptionaddAllInstances(Iterable<? extends P4InfoOuterClass.ExternInstance> values) repeated .p4.config.v1.ExternInstance instances = 3;addInstances(int index, P4InfoOuterClass.ExternInstance value) repeated .p4.config.v1.ExternInstance instances = 3;addInstances(int index, P4InfoOuterClass.ExternInstance.Builder builderForValue) repeated .p4.config.v1.ExternInstance instances = 3;repeated .p4.config.v1.ExternInstance instances = 3;addInstances(P4InfoOuterClass.ExternInstance.Builder builderForValue) repeated .p4.config.v1.ExternInstance instances = 3;repeated .p4.config.v1.ExternInstance instances = 3;addInstancesBuilder(int index) repeated .p4.config.v1.ExternInstance instances = 3;build()clear()the extern_type_id is unique for a given architecture and must be in the range [0x81, 0xfe].string extern_type_name = 2;repeated .p4.config.v1.ExternInstance instances = 3;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorintthe extern_type_id is unique for a given architecture and must be in the range [0x81, 0xfe].string extern_type_name = 2;com.google.protobuf.ByteStringstring extern_type_name = 2;getInstances(int index) repeated .p4.config.v1.ExternInstance instances = 3;getInstancesBuilder(int index) repeated .p4.config.v1.ExternInstance instances = 3;repeated .p4.config.v1.ExternInstance instances = 3;intrepeated .p4.config.v1.ExternInstance instances = 3;repeated .p4.config.v1.ExternInstance instances = 3;getInstancesOrBuilder(int index) repeated .p4.config.v1.ExternInstance instances = 3;List<? extends P4InfoOuterClass.ExternInstanceOrBuilder> repeated .p4.config.v1.ExternInstance instances = 3;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(P4InfoOuterClass.Extern other) removeInstances(int index) repeated .p4.config.v1.ExternInstance instances = 3;setExternTypeId(int value) the extern_type_id is unique for a given architecture and must be in the range [0x81, 0xfe].setExternTypeName(String value) string extern_type_name = 2;setExternTypeNameBytes(com.google.protobuf.ByteString value) string extern_type_name = 2;setInstances(int index, P4InfoOuterClass.ExternInstance value) repeated .p4.config.v1.ExternInstance instances = 3;setInstances(int index, P4InfoOuterClass.ExternInstance.Builder builderForValue) repeated .p4.config.v1.ExternInstance instances = 3;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.Extern.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.Extern.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.Extern.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<P4InfoOuterClass.Extern.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.Extern.Builder>
-
mergeFrom
public P4InfoOuterClass.Extern.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<P4InfoOuterClass.Extern.Builder>- Throws:
IOException
-
getExternTypeId
public int getExternTypeId()the extern_type_id is unique for a given architecture and must be in the range [0x81, 0xfe].
uint32 extern_type_id = 1;- Specified by:
getExternTypeIdin interfaceP4InfoOuterClass.ExternOrBuilder- Returns:
- The externTypeId.
-
setExternTypeId
the extern_type_id is unique for a given architecture and must be in the range [0x81, 0xfe].
uint32 extern_type_id = 1;- Parameters:
value- The externTypeId to set.- Returns:
- This builder for chaining.
-
clearExternTypeId
the extern_type_id is unique for a given architecture and must be in the range [0x81, 0xfe].
uint32 extern_type_id = 1;- Returns:
- This builder for chaining.
-
getExternTypeName
string extern_type_name = 2;- Specified by:
getExternTypeNamein interfaceP4InfoOuterClass.ExternOrBuilder- Returns:
- The externTypeName.
-
getExternTypeNameBytes
public com.google.protobuf.ByteString getExternTypeNameBytes()string extern_type_name = 2;- Specified by:
getExternTypeNameBytesin interfaceP4InfoOuterClass.ExternOrBuilder- Returns:
- The bytes for externTypeName.
-
setExternTypeName
string extern_type_name = 2;- Parameters:
value- The externTypeName to set.- Returns:
- This builder for chaining.
-
clearExternTypeName
string extern_type_name = 2;- Returns:
- This builder for chaining.
-
setExternTypeNameBytes
string extern_type_name = 2;- Parameters:
value- The bytes for externTypeName to set.- Returns:
- This builder for chaining.
-
getInstancesList
repeated .p4.config.v1.ExternInstance instances = 3;- Specified by:
getInstancesListin interfaceP4InfoOuterClass.ExternOrBuilder
-
getInstancesCount
public int getInstancesCount()repeated .p4.config.v1.ExternInstance instances = 3;- Specified by:
getInstancesCountin interfaceP4InfoOuterClass.ExternOrBuilder
-
getInstances
repeated .p4.config.v1.ExternInstance instances = 3;- Specified by:
getInstancesin interfaceP4InfoOuterClass.ExternOrBuilder
-
setInstances
public P4InfoOuterClass.Extern.Builder setInstances(int index, P4InfoOuterClass.ExternInstance value) repeated .p4.config.v1.ExternInstance instances = 3; -
setInstances
public P4InfoOuterClass.Extern.Builder setInstances(int index, P4InfoOuterClass.ExternInstance.Builder builderForValue) repeated .p4.config.v1.ExternInstance instances = 3; -
addInstances
repeated .p4.config.v1.ExternInstance instances = 3; -
addInstances
public P4InfoOuterClass.Extern.Builder addInstances(int index, P4InfoOuterClass.ExternInstance value) repeated .p4.config.v1.ExternInstance instances = 3; -
addInstances
public P4InfoOuterClass.Extern.Builder addInstances(P4InfoOuterClass.ExternInstance.Builder builderForValue) repeated .p4.config.v1.ExternInstance instances = 3; -
addInstances
public P4InfoOuterClass.Extern.Builder addInstances(int index, P4InfoOuterClass.ExternInstance.Builder builderForValue) repeated .p4.config.v1.ExternInstance instances = 3; -
addAllInstances
public P4InfoOuterClass.Extern.Builder addAllInstances(Iterable<? extends P4InfoOuterClass.ExternInstance> values) repeated .p4.config.v1.ExternInstance instances = 3; -
clearInstances
repeated .p4.config.v1.ExternInstance instances = 3; -
removeInstances
repeated .p4.config.v1.ExternInstance instances = 3; -
getInstancesBuilder
repeated .p4.config.v1.ExternInstance instances = 3; -
getInstancesOrBuilder
repeated .p4.config.v1.ExternInstance instances = 3;- Specified by:
getInstancesOrBuilderin interfaceP4InfoOuterClass.ExternOrBuilder
-
getInstancesOrBuilderList
repeated .p4.config.v1.ExternInstance instances = 3;- Specified by:
getInstancesOrBuilderListin interfaceP4InfoOuterClass.ExternOrBuilder
-
addInstancesBuilder
repeated .p4.config.v1.ExternInstance instances = 3; -
addInstancesBuilder
repeated .p4.config.v1.ExternInstance instances = 3; -
getInstancesBuilderList
repeated .p4.config.v1.ExternInstance instances = 3;
-