Package p4.v1

Interface P4RuntimeOuterClass.SetForwardingPipelineConfigRequestOrBuilder

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

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

    • getDeviceId

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

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

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

      com.google.protobuf.ByteString getRoleBytes()
       Added in 1.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;
    • getActionValue

      int getActionValue()
      .p4.v1.SetForwardingPipelineConfigRequest.Action action = 4;
      Returns:
      The enum numeric value on the wire for action.
    • getAction

      .p4.v1.SetForwardingPipelineConfigRequest.Action action = 4;
      Returns:
      The action.
    • hasConfig

      boolean hasConfig()
      .p4.v1.ForwardingPipelineConfig config = 5;
      Returns:
      Whether the config field is set.
    • getConfig

      .p4.v1.ForwardingPipelineConfig config = 5;
      Returns:
      The config.
    • getConfigOrBuilder

      .p4.v1.ForwardingPipelineConfig config = 5;