Package p4.v1

Interface P4RuntimeOuterClass.WriteRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
P4RuntimeOuterClass.WriteRequest, P4RuntimeOuterClass.WriteRequest.Builder
Enclosing class:
P4RuntimeOuterClass

public static interface P4RuntimeOuterClass.WriteRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getDeviceId

      long getDeviceId()
      uint64 device_id = 1;
      Returns:
      The deviceId.
    • getRoleId

      @Deprecated long getRoleId()
      Deprecated.
      p4.v1.WriteRequest.role_id is deprecated. See p4/v1/p4runtime.proto;l=63
       Deprecated in v1.4.0
       
      uint64 role_id = 2 [deprecated = true];
      Returns:
      The roleId.
    • getRole

      String getRole()
       Added in v1.4.0
       
      string role = 6;
      Returns:
      The role.
    • getRoleBytes

      com.google.protobuf.ByteString getRoleBytes()
       Added in v1.4.0
       
      string role = 6;
      Returns:
      The bytes for role.
    • hasElectionId

      boolean hasElectionId()
      .p4.v1.Uint128 election_id = 3;
      Returns:
      Whether the electionId field is set.
    • getElectionId

      .p4.v1.Uint128 election_id = 3;
      Returns:
      The electionId.
    • getElectionIdOrBuilder

      P4RuntimeOuterClass.Uint128OrBuilder getElectionIdOrBuilder()
      .p4.v1.Uint128 election_id = 3;
    • getUpdatesList

      List<P4RuntimeOuterClass.Update> getUpdatesList()
       The write batch, comprising a list of Update operations. The P4Runtime
       server may arbitrarily reorder messages within a batch to maximize
       performance.
       
      repeated .p4.v1.Update updates = 4;
    • getUpdates

      P4RuntimeOuterClass.Update getUpdates(int index)
       The write batch, comprising a list of Update operations. The P4Runtime
       server may arbitrarily reorder messages within a batch to maximize
       performance.
       
      repeated .p4.v1.Update updates = 4;
    • getUpdatesCount

      int getUpdatesCount()
       The write batch, comprising a list of Update operations. The P4Runtime
       server may arbitrarily reorder messages within a batch to maximize
       performance.
       
      repeated .p4.v1.Update updates = 4;
    • getUpdatesOrBuilderList

      List<? extends P4RuntimeOuterClass.UpdateOrBuilder> getUpdatesOrBuilderList()
       The write batch, comprising a list of Update operations. The P4Runtime
       server may arbitrarily reorder messages within a batch to maximize
       performance.
       
      repeated .p4.v1.Update updates = 4;
    • getUpdatesOrBuilder

      P4RuntimeOuterClass.UpdateOrBuilder getUpdatesOrBuilder(int index)
       The write batch, comprising a list of Update operations. The P4Runtime
       server may arbitrarily reorder messages within a batch to maximize
       performance.
       
      repeated .p4.v1.Update updates = 4;
    • getAtomicityValue

      int getAtomicityValue()
      .p4.v1.WriteRequest.Atomicity atomicity = 5;
      Returns:
      The enum numeric value on the wire for atomicity.
    • getAtomicity

      .p4.v1.WriteRequest.Atomicity atomicity = 5;
      Returns:
      The atomicity.