Package io.grpc.binarylog.v1
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 StringgetAuthority()A single process may be used to run multiple virtual servers with different identities.com.google.protobuf.ByteStringgetAuthorityBytes()A single process may be used to run multiple virtual servers with different identities.MetadatagetMetadata()This contains only the metadata from the application.MetadataOrBuildergetMetadataOrBuilder()This contains only the metadata from the application.StringgetMethodName()The name of the RPC method, which looks something like: /<service>/<method> Note the leading "/" character.com.google.protobuf.ByteStringgetMethodNameBytes()The name of the RPC method, which looks something like: /<service>/<method> Note the leading "/" character.com.google.protobuf.DurationgetTimeout()the RPC timeoutcom.google.protobuf.DurationOrBuildergetTimeoutOrBuilder()the RPC timeoutbooleanhasMetadata()This contains only the metadata from the application.booleanhasTimeout()the RPC timeout-
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
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;
-
-