Package p4.v1

Interface P4RuntimeOuterClass.StreamErrorOrBuilder

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

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

    • getCanonicalCode

      int getCanonicalCode()
       gRPC canonical error code (see
       https://developers.google.com/maps-booking/reference/grpc-api/status_codes)
       
      int32 canonical_code = 1;
      Returns:
      The canonicalCode.
    • getMessage

      String getMessage()
       Optional. An explanation of the error.
       
      string message = 2;
      Returns:
      The message.
    • getMessageBytes

      com.google.protobuf.ByteString getMessageBytes()
       Optional. An explanation of the error.
       
      string message = 2;
      Returns:
      The bytes for message.
    • getSpace

      String getSpace()
       Optional. Target and architecture specific space to which this error
       belongs.
       We encourage using triplet: <target>-<arch>-<vendor>,
       e.g."targetX-psa-vendor1" or "targetY-psa-vendor2".
       
      string space = 3;
      Returns:
      The space.
    • getSpaceBytes

      com.google.protobuf.ByteString getSpaceBytes()
       Optional. Target and architecture specific space to which this error
       belongs.
       We encourage using triplet: <target>-<arch>-<vendor>,
       e.g."targetX-psa-vendor1" or "targetY-psa-vendor2".
       
      string space = 3;
      Returns:
      The bytes for space.
    • getCode

      int getCode()
       Optional. Numeric code drawn from target-specific error space above.
       
      int32 code = 4;
      Returns:
      The code.
    • hasPacketOut

      boolean hasPacketOut()
      .p4.v1.PacketOutError packet_out = 5;
      Returns:
      Whether the packetOut field is set.
    • getPacketOut

      .p4.v1.PacketOutError packet_out = 5;
      Returns:
      The packetOut.
    • getPacketOutOrBuilder

      .p4.v1.PacketOutError packet_out = 5;
    • hasDigestListAck

      boolean hasDigestListAck()
      .p4.v1.DigestListAckError digest_list_ack = 6;
      Returns:
      Whether the digestListAck field is set.
    • getDigestListAck

      .p4.v1.DigestListAckError digest_list_ack = 6;
      Returns:
      The digestListAck.
    • getDigestListAckOrBuilder

      .p4.v1.DigestListAckError digest_list_ack = 6;
    • hasOther

      boolean hasOther()
      .p4.v1.StreamOtherError other = 7;
      Returns:
      Whether the other field is set.
    • getOther

      .p4.v1.StreamOtherError other = 7;
      Returns:
      The other.
    • getOtherOrBuilder

      .p4.v1.StreamOtherError other = 7;
    • getDetailsCase