Interface TrailerOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Trailer, Trailer.Builder

    public interface TrailerOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Metadata getMetadata()
      This contains only the metadata from the application.
      MetadataOrBuilder getMetadataOrBuilder()
      This contains only the metadata from the application.
      int getStatusCode()
      The gRPC status code.
      com.google.protobuf.ByteString getStatusDetails()
      The value of the 'grpc-status-details-bin' metadata key.
      java.lang.String getStatusMessage()
      An original status message before any transport specific encoding.
      com.google.protobuf.ByteString getStatusMessageBytes()
      An original status message before any transport specific encoding.
      boolean hasMetadata()
      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

        java.lang.String getStatusMessage()
         An original status message before any transport specific
         encoding.
         
        string status_message = 3;
        Returns:
        The statusMessage.
      • getStatusMessageBytes

        com.google.protobuf.ByteString getStatusMessageBytes()
         An original status message before any transport specific
         encoding.
         
        string status_message = 3;
        Returns:
        The bytes for statusMessage.
      • getStatusDetails

        com.google.protobuf.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.