public static final class ClientHeader.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ClientHeader.Builder> implements ClientHeaderOrBuilder
grpc.binarylog.v1.ClientHeader| Modifier and Type | Method and Description |
|---|---|
ClientHeader.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ClientHeader |
build() |
ClientHeader |
buildPartial() |
ClientHeader.Builder |
clear() |
ClientHeader.Builder |
clearAuthority()
A single process may be used to run multiple virtual
servers with different identities.
|
ClientHeader.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ClientHeader.Builder |
clearMetadata()
This contains only the metadata from the application.
|
ClientHeader.Builder |
clearMethodName()
The name of the RPC method, which looks something like:
/<service>/<method>
Note the leading "/" character.
|
ClientHeader.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ClientHeader.Builder |
clearTimeout()
the RPC timeout
|
ClientHeader.Builder |
clone() |
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.
|
ClientHeader |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Metadata |
getMetadata()
This contains only the metadata from the application.
|
Metadata.Builder |
getMetadataBuilder()
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.
|
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.Duration.Builder |
getTimeoutBuilder()
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
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ClientHeader.Builder |
mergeFrom(ClientHeader other) |
ClientHeader.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientHeader.Builder |
mergeFrom(com.google.protobuf.Message other) |
ClientHeader.Builder |
mergeMetadata(Metadata value)
This contains only the metadata from the application.
|
ClientHeader.Builder |
mergeTimeout(com.google.protobuf.Duration value)
the RPC timeout
|
ClientHeader.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ClientHeader.Builder |
setAuthority(String value)
A single process may be used to run multiple virtual
servers with different identities.
|
ClientHeader.Builder |
setAuthorityBytes(com.google.protobuf.ByteString value)
A single process may be used to run multiple virtual
servers with different identities.
|
ClientHeader.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ClientHeader.Builder |
setMetadata(Metadata.Builder builderForValue)
This contains only the metadata from the application.
|
ClientHeader.Builder |
setMetadata(Metadata value)
This contains only the metadata from the application.
|
ClientHeader.Builder |
setMethodName(String value)
The name of the RPC method, which looks something like:
/<service>/<method>
Note the leading "/" character.
|
ClientHeader.Builder |
setMethodNameBytes(com.google.protobuf.ByteString value)
The name of the RPC method, which looks something like:
/<service>/<method>
Note the leading "/" character.
|
ClientHeader.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ClientHeader.Builder |
setTimeout(com.google.protobuf.Duration.Builder builderForValue)
the RPC timeout
|
ClientHeader.Builder |
setTimeout(com.google.protobuf.Duration value)
the RPC timeout
|
ClientHeader.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ClientHeader.Builder>public ClientHeader.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ClientHeader.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ClientHeader.Builder>public ClientHeader getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ClientHeader build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ClientHeader buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ClientHeader.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ClientHeader.Builder>public ClientHeader.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ClientHeader.Builder>public ClientHeader.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ClientHeader.Builder>public ClientHeader.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ClientHeader.Builder>public ClientHeader.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ClientHeader.Builder>public ClientHeader.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ClientHeader.Builder>public ClientHeader.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClientHeader.Builder>public ClientHeader.Builder mergeFrom(ClientHeader other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ClientHeader.Builder>public ClientHeader.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClientHeader.Builder>IOExceptionpublic 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 ClientHeader.Builder setMetadata(Metadata value)
This contains only the metadata from the application.
.grpc.binarylog.v1.Metadata metadata = 1;public ClientHeader.Builder setMetadata(Metadata.Builder builderForValue)
This contains only the metadata from the application.
.grpc.binarylog.v1.Metadata metadata = 1;public ClientHeader.Builder mergeMetadata(Metadata value)
This contains only the metadata from the application.
.grpc.binarylog.v1.Metadata metadata = 1;public ClientHeader.Builder clearMetadata()
This contains only the metadata from the application.
.grpc.binarylog.v1.Metadata metadata = 1;public Metadata.Builder getMetadataBuilder()
This contains only the metadata from the application.
.grpc.binarylog.v1.Metadata metadata = 1;public 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 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;getMethodNameBytes in interface ClientHeaderOrBuilderpublic ClientHeader.Builder setMethodName(String value)
The name of the RPC method, which looks something like: /<service>/<method> Note the leading "/" character.
string method_name = 2;value - The methodName to set.public ClientHeader.Builder clearMethodName()
The name of the RPC method, which looks something like: /<service>/<method> Note the leading "/" character.
string method_name = 2;public ClientHeader.Builder setMethodNameBytes(com.google.protobuf.ByteString value)
The name of the RPC method, which looks something like: /<service>/<method> Note the leading "/" character.
string method_name = 2;value - The bytes for methodName to set.public 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 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;getAuthorityBytes in interface ClientHeaderOrBuilderpublic ClientHeader.Builder setAuthority(String value)
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;value - The authority to set.public ClientHeader.Builder clearAuthority()
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;public ClientHeader.Builder setAuthorityBytes(com.google.protobuf.ByteString value)
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;value - The bytes for authority to set.public boolean hasTimeout()
the RPC timeout
.google.protobuf.Duration timeout = 4;hasTimeout in interface ClientHeaderOrBuilderpublic com.google.protobuf.Duration getTimeout()
the RPC timeout
.google.protobuf.Duration timeout = 4;getTimeout in interface ClientHeaderOrBuilderpublic ClientHeader.Builder setTimeout(com.google.protobuf.Duration value)
the RPC timeout
.google.protobuf.Duration timeout = 4;public ClientHeader.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
the RPC timeout
.google.protobuf.Duration timeout = 4;public ClientHeader.Builder mergeTimeout(com.google.protobuf.Duration value)
the RPC timeout
.google.protobuf.Duration timeout = 4;public ClientHeader.Builder clearTimeout()
the RPC timeout
.google.protobuf.Duration timeout = 4;public com.google.protobuf.Duration.Builder getTimeoutBuilder()
the RPC timeout
.google.protobuf.Duration timeout = 4;public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
the RPC timeout
.google.protobuf.Duration timeout = 4;getTimeoutOrBuilder in interface ClientHeaderOrBuilderpublic final ClientHeader.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ClientHeader.Builder>public final ClientHeader.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ClientHeader.Builder>