Package io.grpc.binarylog.v1
Interface TrailerOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder,MessageOrBuilder
- All Known Implementing Classes:
Trailer,Trailer.Builder
public interface TrailerOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetadatagetMetadata()This contains only the metadata from the application.MetadataOrBuildergetMetadataOrBuilder()This contains only the metadata from the application.intgetStatusCode()The gRPC status code.ByteStringgetStatusDetails()The value of the 'grpc-status-details-bin' metadata key.StringgetStatusMessage()An original status message before any transport specific encoding.ByteStringgetStatusMessageBytes()An original status message before any transport specific encoding.booleanhasMetadata()This contains only the metadata from the application.-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMetadata
boolean hasMetadata()
This contains only the metadata from the application.
.grpc.binarylog.v1.Metadata metadata = 1;- Returns:
- Whether the metadata field is set.
-
getMetadata
Metadata getMetadata()
This contains only the metadata from the application.
.grpc.binarylog.v1.Metadata metadata = 1;- Returns:
- The metadata.
-
getMetadataOrBuilder
MetadataOrBuilder getMetadataOrBuilder()
This contains only the metadata from the application.
.grpc.binarylog.v1.Metadata metadata = 1;
-
getStatusCode
int getStatusCode()
The gRPC status code.
uint32 status_code = 2;- Returns:
- The statusCode.
-
getStatusMessage
String getStatusMessage()
An original status message before any transport specific encoding.
string status_message = 3;- Returns:
- The statusMessage.
-
getStatusMessageBytes
ByteString getStatusMessageBytes()
An original status message before any transport specific encoding.
string status_message = 3;- Returns:
- The bytes for statusMessage.
-
getStatusDetails
ByteString getStatusDetails()
The value of the 'grpc-status-details-bin' metadata key. If present, this is always an encoded 'google.rpc.Status' message.
bytes status_details = 4;- Returns:
- The statusDetails.
-
-