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

    Modifier and Type
    Method
    Description
    A single process may be used to run multiple virtual servers with different identities.
    com.google.protobuf.ByteString
    A single process may be used to run multiple virtual servers with different identities.
    This contains only the metadata from the application.
    This contains only the metadata from the application.
    The name of the RPC method, which looks something like: /<service>/<method> Note the leading "/" character.
    com.google.protobuf.ByteString
    The name of the RPC method, which looks something like: /<service>/<method> Note the leading "/" character.
    com.google.protobuf.Duration
    the RPC timeout
    com.google.protobuf.DurationOrBuilder
    the RPC timeout
    boolean
    This contains only the metadata from the application.
    boolean
    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 Details

    • 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

      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

      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;