public final class ClientHeader extends GeneratedMessageV3 implements ClientHeaderOrBuilder
grpc.binarylog.v1.ClientHeader| Modifier and Type | Class and Description |
|---|---|
static class |
ClientHeader.Builder
Protobuf type
grpc.binarylog.v1.ClientHeader |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
static int |
AUTHORITY_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
METHOD_NAME_FIELD_NUMBER |
static int |
TIMEOUT_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int METADATA_FIELD_NUMBER
public static final int METHOD_NAME_FIELD_NUMBER
public static final int AUTHORITY_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public boolean hasMetadata()
This contains only the metadata from the application.
.grpc.binarylog.v1.Metadata metadata = 1;hasMetadata in interface ClientHeaderOrBuilderpublic Metadata getMetadata()
This contains only the metadata from the application.
.grpc.binarylog.v1.Metadata metadata = 1;getMetadata in interface ClientHeaderOrBuilderpublic MetadataOrBuilder getMetadataOrBuilder()
This contains only the metadata from the application.
.grpc.binarylog.v1.Metadata metadata = 1;getMetadataOrBuilder in interface ClientHeaderOrBuilderpublic String getMethodName()
The name of the RPC method, which looks something like: /<service>/<method> Note the leading "/" character.
string method_name = 2;getMethodName in interface ClientHeaderOrBuilderpublic ByteString getMethodNameBytes()
The name of the RPC method, which looks something like: /<service>/<method> Note the leading "/" character.
string method_name = 2;getMethodNameBytes in interface ClientHeaderOrBuilderpublic 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;getAuthority in interface ClientHeaderOrBuilderpublic 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;getAuthorityBytes in interface ClientHeaderOrBuilderpublic boolean hasTimeout()
the RPC timeout
.google.protobuf.Duration timeout = 4;hasTimeout in interface ClientHeaderOrBuilderpublic Duration getTimeout()
the RPC timeout
.google.protobuf.Duration timeout = 4;getTimeout in interface ClientHeaderOrBuilderpublic DurationOrBuilder getTimeoutOrBuilder()
the RPC timeout
.google.protobuf.Duration timeout = 4;getTimeoutOrBuilder in interface ClientHeaderOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static ClientHeader parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ClientHeader parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ClientHeader parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ClientHeader parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ClientHeader parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ClientHeader parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ClientHeader parseFrom(InputStream input) throws IOException
IOExceptionpublic static ClientHeader parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientHeader parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ClientHeader parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientHeader parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static ClientHeader parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ClientHeader.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static ClientHeader.Builder newBuilder()
public static ClientHeader.Builder newBuilder(ClientHeader prototype)
public ClientHeader.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected ClientHeader.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static ClientHeader getDefaultInstance()
public static Parser<ClientHeader> parser()
public Parser<ClientHeader> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public ClientHeader getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder