All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.Grouping, OfHeader
All Known Subinterfaces:
MultipartRequestInput

@Generated("mdsal-binding-generator") public interface MultipartRequest$G extends org.opendaylight.yangtools.binding.Grouping, OfHeader

This class represents the following YANG schema fragment defined in module openflow-protocol

 grouping multipart-request {
   uses ofHeader;
   leaf type {
     type oft:multipart-type;
   }
   leaf flags {
     type oft:multipart-request-flags;
   }
   choice multipart-request-body {
     case multipart-request-desc-case {
       container multipart-request-desc {
         leaf empty {
           type empty;
         }
       }
     }
     case multipart-request-flow-case {
       container multipart-request-flow {
         leaf table-id {
           type uint8;
         }
         leaf out-port {
           type uint32;
         }
         leaf out-group {
           type uint32;
         }
         leaf cookie {
           type uint64;
         }
         leaf cookie-mask {
           type uint64;
         }
         uses oxm:match-grouping;
         uses oxm:match-v10-grouping;
       }
     }
     case multipart-request-aggregate-case {
       container multipart-request-aggregate {
         leaf table-id {
           type uint8;
         }
         leaf out-port {
           type uint32;
         }
         leaf out-group {
           type uint32;
         }
         leaf cookie {
           type uint64;
         }
         leaf cookie-mask {
           type uint64;
         }
         uses oxm:match-grouping;
         uses oxm:match-v10-grouping;
       }
     }
     case multipart-request-table-case {
       container multipart-request-table {
         leaf empty {
           type empty;
         }
       }
     }
     case multipart-request-port-stats-case {
       container multipart-request-port-stats {
         leaf port-no {
           type uint32;
         }
       }
     }
     case multipart-request-queue-case {
       container multipart-request-queue {
         leaf port-no {
           type uint32;
         }
         leaf queue-id {
           type uint32;
         }
       }
     }
     case multipart-request-group-case {
       container multipart-request-group {
         leaf group-id {
           type oft:group-id;
         }
       }
     }
     case multipart-request-group-desc-case {
       container multipart-request-group-desc {
         leaf empty {
           type empty;
         }
       }
     }
     case multipart-request-group-features-case {
       container multipart-request-group-features {
         leaf empty {
           type empty;
         }
       }
     }
     case multipart-request-meter-case {
       container multipart-request-meter {
         leaf meter-id {
           type oft:meter-id;
         }
       }
     }
     case multipart-request-meter-config-case {
       container multipart-request-meter-config {
         leaf meter-id {
           type oft:meter-id;
         }
       }
     }
     case multipart-request-meter-features-case {
       container multipart-request-meter-features {
         leaf empty {
           type empty;
         }
       }
     }
     case multipart-request-table-features-case {
       container multipart-request-table-features {
         list table-features {
           leaf table-id {
             type uint8;
           }
           leaf name {
             type string;
           }
           leaf metadata-match {
             type uint64;
           }
           leaf metadata-write {
             type uint64;
           }
           leaf config {
             type oft:table-config;
           }
           leaf max-entries {
             type uint32;
           }
           uses table-features-properties-grouping;
         }
       }
     }
     case multipart-request-port-desc-case {
       container multipart-request-port-desc {
         leaf empty {
           type empty;
         }
       }
     }
     case multipart-request-experimenter-case {
       container multipart-request-experimenter {
         uses experimenter-core;
       }
     }
   }
 }
 
  • Method Details

    • getType

      MultipartType getType()
      Return type, or null if it is not present.
      Returns:
      MultipartType type, or null if it is not present.
    • requireType

      default @NonNull MultipartType requireType()
      Return type, guaranteed to be non-null.
      Returns:
      MultipartType type, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if type is not present
    • getFlags

      Return flags, or null if it is not present.
      Returns:
      MultipartRequestFlags flags, or null if it is not present.
    • requireFlags

      default @NonNull MultipartRequestFlags requireFlags()
      Return flags, guaranteed to be non-null.
      Returns:
      MultipartRequestFlags flags, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if flags is not present
    • getMultipartRequestBody

      MultipartRequestBody getMultipartRequestBody()
      Return multipartRequestBody, or null if it is not present.
      Returns:
      MultipartRequestBody multipartRequestBody, or null if it is not present.