Interface ClientHeaderOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getAuthority()
      A single process may be used to run multiple virtual servers with different identities.
      com.google.protobuf.ByteString getAuthorityBytes()
      A single process may be used to run multiple virtual servers with different identities.
      Metadata getMetadata()
      This contains only the metadata from the application.
      MetadataOrBuilder getMetadataOrBuilder()
      This contains only the metadata from the application.
      java.lang.String getMethodName()
      The name of the RPC method, which looks something like: /<service>/<method> Note the leading "/" character.
      com.google.protobuf.ByteString getMethodNameBytes()
      The name of the RPC method, which looks something like: /<service>/<method> Note the leading "/" character.
      com.google.protobuf.Duration getTimeout()
      the RPC timeout
      com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
      the RPC timeout
      boolean hasMetadata()
      This contains only the metadata from the application.
      boolean hasTimeout()
      the RPC timeout
      • 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;
      • getMethodName

        java.lang.String getMethodName()
         The name of the RPC method, which looks something like:
         /<service>/<method>
         Note the leading "/" character.
         
        string method_name = 2;
        Returns:
        The methodName.
      • getMethodNameBytes

        com.google.protobuf.ByteString getMethodNameBytes()
         The name of the RPC method, which looks something like:
         /<service>/<method>
         Note the leading "/" character.
         
        string method_name = 2;
        Returns:
        The bytes for methodName.
      • getAuthority

        java.lang.String getAuthority()
         A single process may be used to run multiple virtual
         servers with different identities.
         The authority is the name of such a server identitiy.
         It is typically a portion of the URI in the form of
         <host> or <host>:<port> .
         
        string authority = 3;
        Returns:
        The authority.
      • getAuthorityBytes

        com.google.protobuf.ByteString getAuthorityBytes()
         A single process may be used to run multiple virtual
         servers with different identities.
         The authority is the name of such a server identitiy.
         It is typically a portion of the URI in the form of
         <host> or <host>:<port> .
         
        string authority = 3;
        Returns:
        The bytes for authority.
      • hasTimeout

        boolean hasTimeout()
         the RPC timeout
         
        .google.protobuf.Duration timeout = 4;
        Returns:
        Whether the timeout field is set.
      • getTimeout

        com.google.protobuf.Duration getTimeout()
         the RPC timeout
         
        .google.protobuf.Duration timeout = 4;
        Returns:
        The timeout.
      • getTimeoutOrBuilder

        com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
         the RPC timeout
         
        .google.protobuf.Duration timeout = 4;