Package p4.v1
Class P4RuntimeOuterClass.StreamError
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
p4.v1.P4RuntimeOuterClass.StreamError
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,P4RuntimeOuterClass.StreamErrorOrBuilder
- Enclosing class:
P4RuntimeOuterClass
public static final class P4RuntimeOuterClass.StreamError
extends com.google.protobuf.GeneratedMessage
implements P4RuntimeOuterClass.StreamErrorOrBuilder
Used by the server to asynchronously report errors which occur when processing StreamMessageRequest messages.Protobuf type
p4.v1.StreamError- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classUsed by the server to asynchronously report errors which occur when processing StreamMessageRequest messages.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgRPC canonical error code (see https://developers.google.com/maps-booking/reference/grpc-api/status_codes)intgetCode()Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.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;com.google.protobuf.Parser<P4RuntimeOuterClass.StreamError> intgetSpace()Optional.com.google.protobuf.ByteStringOptional.boolean.p4.v1.DigestListAckError digest_list_ack = 6;inthashCode()booleanhasOther().p4.v1.StreamOtherError other = 7;boolean.p4.v1.PacketOutError packet_out = 5;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(P4RuntimeOuterClass.StreamError prototype) protected P4RuntimeOuterClass.StreamError.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<P4RuntimeOuterClass.StreamError> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CANONICAL_CODE_FIELD_NUMBER
public static final int CANONICAL_CODE_FIELD_NUMBER- See Also:
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER- See Also:
-
SPACE_FIELD_NUMBER
public static final int SPACE_FIELD_NUMBER- See Also:
-
CODE_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER- See Also:
-
PACKET_OUT_FIELD_NUMBER
public static final int PACKET_OUT_FIELD_NUMBER- See Also:
-
DIGEST_LIST_ACK_FIELD_NUMBER
public static final int DIGEST_LIST_ACK_FIELD_NUMBER- See Also:
-
OTHER_FIELD_NUMBER
public static final int OTHER_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getDetailsCase
- Specified by:
getDetailsCasein interfaceP4RuntimeOuterClass.StreamErrorOrBuilder
-
getCanonicalCode
public int getCanonicalCode()gRPC canonical error code (see https://developers.google.com/maps-booking/reference/grpc-api/status_codes)
int32 canonical_code = 1;- Specified by:
getCanonicalCodein interfaceP4RuntimeOuterClass.StreamErrorOrBuilder- Returns:
- The canonicalCode.
-
getMessage
Optional. An explanation of the error.
string message = 2;- Specified by:
getMessagein interfaceP4RuntimeOuterClass.StreamErrorOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()Optional. An explanation of the error.
string message = 2;- Specified by:
getMessageBytesin interfaceP4RuntimeOuterClass.StreamErrorOrBuilder- Returns:
- The bytes for message.
-
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;- Specified by:
getSpacein interfaceP4RuntimeOuterClass.StreamErrorOrBuilder- Returns:
- The space.
-
getSpaceBytes
public 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;- Specified by:
getSpaceBytesin interfaceP4RuntimeOuterClass.StreamErrorOrBuilder- Returns:
- The bytes for space.
-
getCode
public int getCode()Optional. Numeric code drawn from target-specific error space above.
int32 code = 4;- Specified by:
getCodein interfaceP4RuntimeOuterClass.StreamErrorOrBuilder- Returns:
- The code.
-
hasPacketOut
public boolean hasPacketOut().p4.v1.PacketOutError packet_out = 5;- Specified by:
hasPacketOutin interfaceP4RuntimeOuterClass.StreamErrorOrBuilder- Returns:
- Whether the packetOut field is set.
-
getPacketOut
.p4.v1.PacketOutError packet_out = 5;- Specified by:
getPacketOutin interfaceP4RuntimeOuterClass.StreamErrorOrBuilder- Returns:
- The packetOut.
-
getPacketOutOrBuilder
.p4.v1.PacketOutError packet_out = 5;- Specified by:
getPacketOutOrBuilderin interfaceP4RuntimeOuterClass.StreamErrorOrBuilder
-
hasDigestListAck
public boolean hasDigestListAck().p4.v1.DigestListAckError digest_list_ack = 6;- Specified by:
hasDigestListAckin interfaceP4RuntimeOuterClass.StreamErrorOrBuilder- Returns:
- Whether the digestListAck field is set.
-
getDigestListAck
.p4.v1.DigestListAckError digest_list_ack = 6;- Specified by:
getDigestListAckin interfaceP4RuntimeOuterClass.StreamErrorOrBuilder- Returns:
- The digestListAck.
-
getDigestListAckOrBuilder
.p4.v1.DigestListAckError digest_list_ack = 6;- Specified by:
getDigestListAckOrBuilderin interfaceP4RuntimeOuterClass.StreamErrorOrBuilder
-
hasOther
public boolean hasOther().p4.v1.StreamOtherError other = 7;- Specified by:
hasOtherin interfaceP4RuntimeOuterClass.StreamErrorOrBuilder- Returns:
- Whether the other field is set.
-
getOther
.p4.v1.StreamOtherError other = 7;- Specified by:
getOtherin interfaceP4RuntimeOuterClass.StreamErrorOrBuilder- Returns:
- The other.
-
getOtherOrBuilder
.p4.v1.StreamOtherError other = 7;- Specified by:
getOtherOrBuilderin interfaceP4RuntimeOuterClass.StreamErrorOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static P4RuntimeOuterClass.StreamError parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static P4RuntimeOuterClass.StreamError parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static P4RuntimeOuterClass.StreamError parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static P4RuntimeOuterClass.StreamError parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static P4RuntimeOuterClass.StreamError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static P4RuntimeOuterClass.StreamError parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static P4RuntimeOuterClass.StreamError parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static P4RuntimeOuterClass.StreamError parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static P4RuntimeOuterClass.StreamError parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static P4RuntimeOuterClass.StreamError parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static P4RuntimeOuterClass.StreamError parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static P4RuntimeOuterClass.StreamError.Builder newBuilder(P4RuntimeOuterClass.StreamError prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected P4RuntimeOuterClass.StreamError.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-