Package p4.config.v1
Interface P4Types.P4NewTypeTranslationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
P4Types.P4NewTypeTranslation,P4Types.P4NewTypeTranslation.Builder
- Enclosing class:
P4Types
public static interface P4Types.P4NewTypeTranslationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintint32 sdn_bitwidth = 2;.p4.config.v1.P4NewTypeTranslation.SdnString sdn_string = 3;.p4.config.v1.P4NewTypeTranslation.SdnString sdn_string = 3;getUri()the URI uniquely identifies the translation in order to enable the P4Runtime agent to perform value-mapping appropriately when required.com.google.protobuf.ByteStringthe URI uniquely identifies the translation in order to enable the P4Runtime agent to perform value-mapping appropriately when required.booleanint32 sdn_bitwidth = 2;boolean.p4.config.v1.P4NewTypeTranslation.SdnString sdn_string = 3;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getUri
String getUri()the URI uniquely identifies the translation in order to enable the P4Runtime agent to perform value-mapping appropriately when required. It is recommended that the URI includes at least the P4 architecture name and the type name.
string uri = 1;- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()the URI uniquely identifies the translation in order to enable the P4Runtime agent to perform value-mapping appropriately when required. It is recommended that the URI includes at least the P4 architecture name and the type name.
string uri = 1;- Returns:
- The bytes for uri.
-
hasSdnBitwidth
boolean hasSdnBitwidth()int32 sdn_bitwidth = 2;- Returns:
- Whether the sdnBitwidth field is set.
-
getSdnBitwidth
int getSdnBitwidth()int32 sdn_bitwidth = 2;- Returns:
- The sdnBitwidth.
-
hasSdnString
boolean hasSdnString().p4.config.v1.P4NewTypeTranslation.SdnString sdn_string = 3;- Returns:
- Whether the sdnString field is set.
-
getSdnString
P4Types.P4NewTypeTranslation.SdnString getSdnString().p4.config.v1.P4NewTypeTranslation.SdnString sdn_string = 3;- Returns:
- The sdnString.
-
getSdnStringOrBuilder
P4Types.P4NewTypeTranslation.SdnStringOrBuilder getSdnStringOrBuilder().p4.config.v1.P4NewTypeTranslation.SdnString sdn_string = 3; -
getSdnTypeCase
P4Types.P4NewTypeTranslation.SdnTypeCase getSdnTypeCase()
-