Package io.grpc.binarylog.v1
Interface ClientHeaderOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
ClientHeader
,ClientHeader.Builder
public interface ClientHeaderOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAuthority()
A single process may be used to run multiple virtual servers with different identities.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.String
getMethodName()
The name of the RPC method, which looks something like: /<service>/<method> Note the leading "/" character.ByteString
getMethodNameBytes()
The name of the RPC method, which looks something like: /<service>/<method> Note the leading "/" character.Duration
getTimeout()
the RPC timeoutDurationOrBuilder
getTimeoutOrBuilder()
the RPC timeoutboolean
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
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
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
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
Duration getTimeout()
the RPC timeout
.google.protobuf.Duration timeout = 4;
- Returns:
- The timeout.
-
getTimeoutOrBuilder
DurationOrBuilder getTimeoutOrBuilder()
the RPC timeout
.google.protobuf.Duration timeout = 4;
-
-