public interface PayloadOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMetadata(String key)
A list of metadata pairs
|
com.google.protobuf.ByteString |
getMessage()
Used by message event
|
int |
getMessageLength()
Size of the message or metadata, depending on the event type,
regardless of whether the full message or metadata is being logged
(i.e.
|
Map<String,String> |
getMetadata()
Deprecated.
|
int |
getMetadataCount()
A list of metadata pairs
|
Map<String,String> |
getMetadataMap()
A list of metadata pairs
|
String |
getMetadataOrDefault(String key,
String defaultValue)
A list of metadata pairs
|
String |
getMetadataOrThrow(String key)
A list of metadata pairs
|
com.google.rpc.Code |
getStatusCode()
The gRPC status code
|
int |
getStatusCodeValue()
The gRPC status code
|
com.google.protobuf.ByteString |
getStatusDetails()
The value of the grpc-status-details-bin metadata key, if any.
|
String |
getStatusMessage()
The gRPC status message
|
com.google.protobuf.ByteString |
getStatusMessageBytes()
The gRPC status message
|
com.google.protobuf.Duration |
getTimeout()
the RPC timeout value
|
com.google.protobuf.DurationOrBuilder |
getTimeoutOrBuilder()
the RPC timeout value
|
boolean |
hasTimeout()
the RPC timeout value
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getMetadataCount()
A list of metadata pairs
map<string, string> metadata = 1;boolean containsMetadata(String key)
A list of metadata pairs
map<string, string> metadata = 1;@Deprecated Map<String,String> getMetadata()
getMetadataMap() instead.Map<String,String> getMetadataMap()
A list of metadata pairs
map<string, string> metadata = 1;String getMetadataOrDefault(String key, String defaultValue)
A list of metadata pairs
map<string, string> metadata = 1;String getMetadataOrThrow(String key)
A list of metadata pairs
map<string, string> metadata = 1;boolean hasTimeout()
the RPC timeout value
.google.protobuf.Duration timeout = 2;com.google.protobuf.Duration getTimeout()
the RPC timeout value
.google.protobuf.Duration timeout = 2;com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
the RPC timeout value
.google.protobuf.Duration timeout = 2;int getStatusCodeValue()
The gRPC status code
.google.rpc.Code status_code = 3;com.google.rpc.Code getStatusCode()
The gRPC status code
.google.rpc.Code status_code = 3;String getStatusMessage()
The gRPC status message
string status_message = 4;com.google.protobuf.ByteString getStatusMessageBytes()
The gRPC status message
string status_message = 4;com.google.protobuf.ByteString getStatusDetails()
The value of the grpc-status-details-bin metadata key, if any. This is always an encoded google.rpc.Status message
bytes status_details = 5;int getMessageLength()
Size of the message or metadata, depending on the event type, regardless of whether the full message or metadata is being logged (i.e. could be truncated or omitted).
uint32 message_length = 6;com.google.protobuf.ByteString getMessage()
Used by message event
bytes message = 7;