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 Type
    Method
    Description
    int
    int32 sdn_bitwidth = 2;
    .p4.config.v1.P4NewTypeTranslation.SdnString sdn_string = 3;
    .p4.config.v1.P4NewTypeTranslation.SdnString sdn_string = 3;
     
    the URI uniquely identifies the translation in order to enable the P4Runtime agent to perform value-mapping appropriately when required.
    com.google.protobuf.ByteString
    the URI uniquely identifies the translation in order to enable the P4Runtime agent to perform value-mapping appropriately when required.
    boolean
    int32 sdn_bitwidth = 2;
    boolean
    .p4.config.v1.P4NewTypeTranslation.SdnString sdn_string = 3;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      .p4.config.v1.P4NewTypeTranslation.SdnString sdn_string = 3;
      Returns:
      The sdnString.
    • getSdnStringOrBuilder

      .p4.config.v1.P4NewTypeTranslation.SdnString sdn_string = 3;
    • getSdnTypeCase