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 Summary
Modifier and TypeMethodDescriptionintgRPC canonical error code (see https://developers.google.com/maps-booking/reference/grpc-api/status_codes)intgetCode()Optional..p4.v1.DigestListAckError digest_list_ack = 6;.p4.v1.DigestListAckError digest_list_ack = 6;Optional.com.google.protobuf.ByteStringOptional.getOther().p4.v1.StreamOtherError other = 7;.p4.v1.StreamOtherError other = 7;.p4.v1.PacketOutError packet_out = 5;.p4.v1.PacketOutError packet_out = 5;getSpace()Optional.com.google.protobuf.ByteStringOptional.boolean.p4.v1.DigestListAckError digest_list_ack = 6;booleanhasOther().p4.v1.StreamOtherError other = 7;boolean.p4.v1.PacketOutError packet_out = 5;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
P4RuntimeOuterClass.PacketOutError getPacketOut().p4.v1.PacketOutError packet_out = 5;- Returns:
- The packetOut.
-
getPacketOutOrBuilder
P4RuntimeOuterClass.PacketOutErrorOrBuilder 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
P4RuntimeOuterClass.DigestListAckError getDigestListAck().p4.v1.DigestListAckError digest_list_ack = 6;- Returns:
- The digestListAck.
-
getDigestListAckOrBuilder
P4RuntimeOuterClass.DigestListAckErrorOrBuilder getDigestListAckOrBuilder().p4.v1.DigestListAckError digest_list_ack = 6; -
hasOther
boolean hasOther().p4.v1.StreamOtherError other = 7;- Returns:
- Whether the other field is set.
-
getOther
P4RuntimeOuterClass.StreamOtherError getOther().p4.v1.StreamOtherError other = 7;- Returns:
- The other.
-
getOtherOrBuilder
P4RuntimeOuterClass.StreamOtherErrorOrBuilder getOtherOrBuilder().p4.v1.StreamOtherError other = 7; -
getDetailsCase
P4RuntimeOuterClass.StreamError.DetailsCase getDetailsCase()
-