Package io.grpc.binarylog.v1
Class GrpcLogEntry.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GrpcLogEntry.Builder>
-
- io.grpc.binarylog.v1.GrpcLogEntry.Builder
-
- All Implemented Interfaces:
Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,GrpcLogEntryOrBuilder
,Cloneable
- Enclosing class:
- GrpcLogEntry
public static final class GrpcLogEntry.Builder extends GeneratedMessageV3.Builder<GrpcLogEntry.Builder> implements GrpcLogEntryOrBuilder
Log entry we store in binary logs
Protobuf typegrpc.binarylog.v1.GrpcLogEntry
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GrpcLogEntry.Builder
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
GrpcLogEntry
build()
GrpcLogEntry
buildPartial()
GrpcLogEntry.Builder
clear()
GrpcLogEntry.Builder
clearCallId()
Uniquely identifies a call.GrpcLogEntry.Builder
clearClientHeader()
.grpc.binarylog.v1.ClientHeader client_header = 6;
GrpcLogEntry.Builder
clearField(Descriptors.FieldDescriptor field)
GrpcLogEntry.Builder
clearLogger()
One of the above Logger enumGrpcLogEntry.Builder
clearMessage()
Used by EVENT_TYPE_CLIENT_MESSAGE, EVENT_TYPE_SERVER_MESSAGEGrpcLogEntry.Builder
clearOneof(Descriptors.OneofDescriptor oneof)
GrpcLogEntry.Builder
clearPayload()
GrpcLogEntry.Builder
clearPayloadTruncated()
true if payload does not represent the full message or metadata.GrpcLogEntry.Builder
clearPeer()
Peer address information, will only be recorded on the first incoming event.GrpcLogEntry.Builder
clearSequenceIdWithinCall()
The entry sequence id for this call.GrpcLogEntry.Builder
clearServerHeader()
.grpc.binarylog.v1.ServerHeader server_header = 7;
GrpcLogEntry.Builder
clearTimestamp()
The timestamp of the binary log messageGrpcLogEntry.Builder
clearTrailer()
.grpc.binarylog.v1.Trailer trailer = 9;
GrpcLogEntry.Builder
clearType()
.grpc.binarylog.v1.GrpcLogEntry.EventType type = 4;
GrpcLogEntry.Builder
clone()
long
getCallId()
Uniquely identifies a call.ClientHeader
getClientHeader()
.grpc.binarylog.v1.ClientHeader client_header = 6;
ClientHeader.Builder
getClientHeaderBuilder()
.grpc.binarylog.v1.ClientHeader client_header = 6;
ClientHeaderOrBuilder
getClientHeaderOrBuilder()
.grpc.binarylog.v1.ClientHeader client_header = 6;
GrpcLogEntry
getDefaultInstanceForType()
static Descriptors.Descriptor
getDescriptor()
Descriptors.Descriptor
getDescriptorForType()
GrpcLogEntry.Logger
getLogger()
One of the above Logger enumint
getLoggerValue()
One of the above Logger enumMessage
getMessage()
Used by EVENT_TYPE_CLIENT_MESSAGE, EVENT_TYPE_SERVER_MESSAGEMessage.Builder
getMessageBuilder()
Used by EVENT_TYPE_CLIENT_MESSAGE, EVENT_TYPE_SERVER_MESSAGEMessageOrBuilder
getMessageOrBuilder()
Used by EVENT_TYPE_CLIENT_MESSAGE, EVENT_TYPE_SERVER_MESSAGEGrpcLogEntry.PayloadCase
getPayloadCase()
boolean
getPayloadTruncated()
true if payload does not represent the full message or metadata.Address
getPeer()
Peer address information, will only be recorded on the first incoming event.Address.Builder
getPeerBuilder()
Peer address information, will only be recorded on the first incoming event.AddressOrBuilder
getPeerOrBuilder()
Peer address information, will only be recorded on the first incoming event.long
getSequenceIdWithinCall()
The entry sequence id for this call.ServerHeader
getServerHeader()
.grpc.binarylog.v1.ServerHeader server_header = 7;
ServerHeader.Builder
getServerHeaderBuilder()
.grpc.binarylog.v1.ServerHeader server_header = 7;
ServerHeaderOrBuilder
getServerHeaderOrBuilder()
.grpc.binarylog.v1.ServerHeader server_header = 7;
Timestamp
getTimestamp()
The timestamp of the binary log messageTimestamp.Builder
getTimestampBuilder()
The timestamp of the binary log messageTimestampOrBuilder
getTimestampOrBuilder()
The timestamp of the binary log messageTrailer
getTrailer()
.grpc.binarylog.v1.Trailer trailer = 9;
Trailer.Builder
getTrailerBuilder()
.grpc.binarylog.v1.Trailer trailer = 9;
TrailerOrBuilder
getTrailerOrBuilder()
.grpc.binarylog.v1.Trailer trailer = 9;
GrpcLogEntry.EventType
getType()
.grpc.binarylog.v1.GrpcLogEntry.EventType type = 4;
int
getTypeValue()
.grpc.binarylog.v1.GrpcLogEntry.EventType type = 4;
boolean
hasClientHeader()
.grpc.binarylog.v1.ClientHeader client_header = 6;
boolean
hasMessage()
Used by EVENT_TYPE_CLIENT_MESSAGE, EVENT_TYPE_SERVER_MESSAGEboolean
hasPeer()
Peer address information, will only be recorded on the first incoming event.boolean
hasServerHeader()
.grpc.binarylog.v1.ServerHeader server_header = 7;
boolean
hasTimestamp()
The timestamp of the binary log messageboolean
hasTrailer()
.grpc.binarylog.v1.Trailer trailer = 9;
protected GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GrpcLogEntry.Builder
mergeClientHeader(ClientHeader value)
.grpc.binarylog.v1.ClientHeader client_header = 6;
GrpcLogEntry.Builder
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
GrpcLogEntry.Builder
mergeFrom(Message other)
GrpcLogEntry.Builder
mergeFrom(GrpcLogEntry other)
GrpcLogEntry.Builder
mergeMessage(Message value)
Used by EVENT_TYPE_CLIENT_MESSAGE, EVENT_TYPE_SERVER_MESSAGEGrpcLogEntry.Builder
mergePeer(Address value)
Peer address information, will only be recorded on the first incoming event.GrpcLogEntry.Builder
mergeServerHeader(ServerHeader value)
.grpc.binarylog.v1.ServerHeader server_header = 7;
GrpcLogEntry.Builder
mergeTimestamp(Timestamp value)
The timestamp of the binary log messageGrpcLogEntry.Builder
mergeTrailer(Trailer value)
.grpc.binarylog.v1.Trailer trailer = 9;
GrpcLogEntry.Builder
mergeUnknownFields(UnknownFieldSet unknownFields)
GrpcLogEntry.Builder
setCallId(long value)
Uniquely identifies a call.GrpcLogEntry.Builder
setClientHeader(ClientHeader value)
.grpc.binarylog.v1.ClientHeader client_header = 6;
GrpcLogEntry.Builder
setClientHeader(ClientHeader.Builder builderForValue)
.grpc.binarylog.v1.ClientHeader client_header = 6;
GrpcLogEntry.Builder
setField(Descriptors.FieldDescriptor field, Object value)
GrpcLogEntry.Builder
setLogger(GrpcLogEntry.Logger value)
One of the above Logger enumGrpcLogEntry.Builder
setLoggerValue(int value)
One of the above Logger enumGrpcLogEntry.Builder
setMessage(Message value)
Used by EVENT_TYPE_CLIENT_MESSAGE, EVENT_TYPE_SERVER_MESSAGEGrpcLogEntry.Builder
setMessage(Message.Builder builderForValue)
Used by EVENT_TYPE_CLIENT_MESSAGE, EVENT_TYPE_SERVER_MESSAGEGrpcLogEntry.Builder
setPayloadTruncated(boolean value)
true if payload does not represent the full message or metadata.GrpcLogEntry.Builder
setPeer(Address value)
Peer address information, will only be recorded on the first incoming event.GrpcLogEntry.Builder
setPeer(Address.Builder builderForValue)
Peer address information, will only be recorded on the first incoming event.GrpcLogEntry.Builder
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
GrpcLogEntry.Builder
setSequenceIdWithinCall(long value)
The entry sequence id for this call.GrpcLogEntry.Builder
setServerHeader(ServerHeader value)
.grpc.binarylog.v1.ServerHeader server_header = 7;
GrpcLogEntry.Builder
setServerHeader(ServerHeader.Builder builderForValue)
.grpc.binarylog.v1.ServerHeader server_header = 7;
GrpcLogEntry.Builder
setTimestamp(Timestamp value)
The timestamp of the binary log messageGrpcLogEntry.Builder
setTimestamp(Timestamp.Builder builderForValue)
The timestamp of the binary log messageGrpcLogEntry.Builder
setTrailer(Trailer value)
.grpc.binarylog.v1.Trailer trailer = 9;
GrpcLogEntry.Builder
setTrailer(Trailer.Builder builderForValue)
.grpc.binarylog.v1.Trailer trailer = 9;
GrpcLogEntry.Builder
setType(GrpcLogEntry.EventType value)
.grpc.binarylog.v1.GrpcLogEntry.EventType type = 4;
GrpcLogEntry.Builder
setTypeValue(int value)
.grpc.binarylog.v1.GrpcLogEntry.EventType type = 4;
GrpcLogEntry.Builder
setUnknownFields(UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
-
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3.Builder<GrpcLogEntry.Builder>
-
clear
public GrpcLogEntry.Builder clear()
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<GrpcLogEntry.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<GrpcLogEntry.Builder>
-
getDefaultInstanceForType
public GrpcLogEntry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
public GrpcLogEntry build()
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
public GrpcLogEntry buildPartial()
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
public GrpcLogEntry.Builder clone()
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<GrpcLogEntry.Builder>
-
setField
public GrpcLogEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<GrpcLogEntry.Builder>
-
clearField
public GrpcLogEntry.Builder clearField(Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<GrpcLogEntry.Builder>
-
clearOneof
public GrpcLogEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<GrpcLogEntry.Builder>
-
setRepeatedField
public GrpcLogEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<GrpcLogEntry.Builder>
-
addRepeatedField
public GrpcLogEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<GrpcLogEntry.Builder>
-
mergeFrom
public GrpcLogEntry.Builder mergeFrom(Message other)
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<GrpcLogEntry.Builder>
-
mergeFrom
public GrpcLogEntry.Builder mergeFrom(GrpcLogEntry other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<GrpcLogEntry.Builder>
-
mergeFrom
public GrpcLogEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<GrpcLogEntry.Builder>
- Throws:
IOException
-
getPayloadCase
public GrpcLogEntry.PayloadCase getPayloadCase()
- Specified by:
getPayloadCase
in interfaceGrpcLogEntryOrBuilder
-
clearPayload
public GrpcLogEntry.Builder clearPayload()
-
hasTimestamp
public boolean hasTimestamp()
The timestamp of the binary log message
.google.protobuf.Timestamp timestamp = 1;
- Specified by:
hasTimestamp
in interfaceGrpcLogEntryOrBuilder
- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public Timestamp getTimestamp()
The timestamp of the binary log message
.google.protobuf.Timestamp timestamp = 1;
- Specified by:
getTimestamp
in interfaceGrpcLogEntryOrBuilder
- Returns:
- The timestamp.
-
setTimestamp
public GrpcLogEntry.Builder setTimestamp(Timestamp value)
The timestamp of the binary log message
.google.protobuf.Timestamp timestamp = 1;
-
setTimestamp
public GrpcLogEntry.Builder setTimestamp(Timestamp.Builder builderForValue)
The timestamp of the binary log message
.google.protobuf.Timestamp timestamp = 1;
-
mergeTimestamp
public GrpcLogEntry.Builder mergeTimestamp(Timestamp value)
The timestamp of the binary log message
.google.protobuf.Timestamp timestamp = 1;
-
clearTimestamp
public GrpcLogEntry.Builder clearTimestamp()
The timestamp of the binary log message
.google.protobuf.Timestamp timestamp = 1;
-
getTimestampBuilder
public Timestamp.Builder getTimestampBuilder()
The timestamp of the binary log message
.google.protobuf.Timestamp timestamp = 1;
-
getTimestampOrBuilder
public TimestampOrBuilder getTimestampOrBuilder()
The timestamp of the binary log message
.google.protobuf.Timestamp timestamp = 1;
- Specified by:
getTimestampOrBuilder
in interfaceGrpcLogEntryOrBuilder
-
getCallId
public long getCallId()
Uniquely identifies a call. The value must not be 0 in order to disambiguate from an unset value. Each call may have several log entries, they will all have the same call_id. Nothing is guaranteed about their value other than they are unique across different RPCs in the same gRPC process.
uint64 call_id = 2;
- Specified by:
getCallId
in interfaceGrpcLogEntryOrBuilder
- Returns:
- The callId.
-
setCallId
public GrpcLogEntry.Builder setCallId(long value)
Uniquely identifies a call. The value must not be 0 in order to disambiguate from an unset value. Each call may have several log entries, they will all have the same call_id. Nothing is guaranteed about their value other than they are unique across different RPCs in the same gRPC process.
uint64 call_id = 2;
- Parameters:
value
- The callId to set.- Returns:
- This builder for chaining.
-
clearCallId
public GrpcLogEntry.Builder clearCallId()
Uniquely identifies a call. The value must not be 0 in order to disambiguate from an unset value. Each call may have several log entries, they will all have the same call_id. Nothing is guaranteed about their value other than they are unique across different RPCs in the same gRPC process.
uint64 call_id = 2;
- Returns:
- This builder for chaining.
-
getSequenceIdWithinCall
public long getSequenceIdWithinCall()
The entry sequence id for this call. The first GrpcLogEntry has a value of 1, to disambiguate from an unset value. The purpose of this field is to detect missing entries in environments where durability or ordering is not guaranteed.
uint64 sequence_id_within_call = 3;
- Specified by:
getSequenceIdWithinCall
in interfaceGrpcLogEntryOrBuilder
- Returns:
- The sequenceIdWithinCall.
-
setSequenceIdWithinCall
public GrpcLogEntry.Builder setSequenceIdWithinCall(long value)
The entry sequence id for this call. The first GrpcLogEntry has a value of 1, to disambiguate from an unset value. The purpose of this field is to detect missing entries in environments where durability or ordering is not guaranteed.
uint64 sequence_id_within_call = 3;
- Parameters:
value
- The sequenceIdWithinCall to set.- Returns:
- This builder for chaining.
-
clearSequenceIdWithinCall
public GrpcLogEntry.Builder clearSequenceIdWithinCall()
The entry sequence id for this call. The first GrpcLogEntry has a value of 1, to disambiguate from an unset value. The purpose of this field is to detect missing entries in environments where durability or ordering is not guaranteed.
uint64 sequence_id_within_call = 3;
- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
.grpc.binarylog.v1.GrpcLogEntry.EventType type = 4;
- Specified by:
getTypeValue
in interfaceGrpcLogEntryOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public GrpcLogEntry.Builder setTypeValue(int value)
.grpc.binarylog.v1.GrpcLogEntry.EventType type = 4;
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public GrpcLogEntry.EventType getType()
.grpc.binarylog.v1.GrpcLogEntry.EventType type = 4;
- Specified by:
getType
in interfaceGrpcLogEntryOrBuilder
- Returns:
- The type.
-
setType
public GrpcLogEntry.Builder setType(GrpcLogEntry.EventType value)
.grpc.binarylog.v1.GrpcLogEntry.EventType type = 4;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public GrpcLogEntry.Builder clearType()
.grpc.binarylog.v1.GrpcLogEntry.EventType type = 4;
- Returns:
- This builder for chaining.
-
getLoggerValue
public int getLoggerValue()
One of the above Logger enum
.grpc.binarylog.v1.GrpcLogEntry.Logger logger = 5;
- Specified by:
getLoggerValue
in interfaceGrpcLogEntryOrBuilder
- Returns:
- The enum numeric value on the wire for logger.
-
setLoggerValue
public GrpcLogEntry.Builder setLoggerValue(int value)
One of the above Logger enum
.grpc.binarylog.v1.GrpcLogEntry.Logger logger = 5;
- Parameters:
value
- The enum numeric value on the wire for logger to set.- Returns:
- This builder for chaining.
-
getLogger
public GrpcLogEntry.Logger getLogger()
One of the above Logger enum
.grpc.binarylog.v1.GrpcLogEntry.Logger logger = 5;
- Specified by:
getLogger
in interfaceGrpcLogEntryOrBuilder
- Returns:
- The logger.
-
setLogger
public GrpcLogEntry.Builder setLogger(GrpcLogEntry.Logger value)
One of the above Logger enum
.grpc.binarylog.v1.GrpcLogEntry.Logger logger = 5;
- Parameters:
value
- The logger to set.- Returns:
- This builder for chaining.
-
clearLogger
public GrpcLogEntry.Builder clearLogger()
One of the above Logger enum
.grpc.binarylog.v1.GrpcLogEntry.Logger logger = 5;
- Returns:
- This builder for chaining.
-
hasClientHeader
public boolean hasClientHeader()
.grpc.binarylog.v1.ClientHeader client_header = 6;
- Specified by:
hasClientHeader
in interfaceGrpcLogEntryOrBuilder
- Returns:
- Whether the clientHeader field is set.
-
getClientHeader
public ClientHeader getClientHeader()
.grpc.binarylog.v1.ClientHeader client_header = 6;
- Specified by:
getClientHeader
in interfaceGrpcLogEntryOrBuilder
- Returns:
- The clientHeader.
-
setClientHeader
public GrpcLogEntry.Builder setClientHeader(ClientHeader value)
.grpc.binarylog.v1.ClientHeader client_header = 6;
-
setClientHeader
public GrpcLogEntry.Builder setClientHeader(ClientHeader.Builder builderForValue)
.grpc.binarylog.v1.ClientHeader client_header = 6;
-
mergeClientHeader
public GrpcLogEntry.Builder mergeClientHeader(ClientHeader value)
.grpc.binarylog.v1.ClientHeader client_header = 6;
-
clearClientHeader
public GrpcLogEntry.Builder clearClientHeader()
.grpc.binarylog.v1.ClientHeader client_header = 6;
-
getClientHeaderBuilder
public ClientHeader.Builder getClientHeaderBuilder()
.grpc.binarylog.v1.ClientHeader client_header = 6;
-
getClientHeaderOrBuilder
public ClientHeaderOrBuilder getClientHeaderOrBuilder()
.grpc.binarylog.v1.ClientHeader client_header = 6;
- Specified by:
getClientHeaderOrBuilder
in interfaceGrpcLogEntryOrBuilder
-
hasServerHeader
public boolean hasServerHeader()
.grpc.binarylog.v1.ServerHeader server_header = 7;
- Specified by:
hasServerHeader
in interfaceGrpcLogEntryOrBuilder
- Returns:
- Whether the serverHeader field is set.
-
getServerHeader
public ServerHeader getServerHeader()
.grpc.binarylog.v1.ServerHeader server_header = 7;
- Specified by:
getServerHeader
in interfaceGrpcLogEntryOrBuilder
- Returns:
- The serverHeader.
-
setServerHeader
public GrpcLogEntry.Builder setServerHeader(ServerHeader value)
.grpc.binarylog.v1.ServerHeader server_header = 7;
-
setServerHeader
public GrpcLogEntry.Builder setServerHeader(ServerHeader.Builder builderForValue)
.grpc.binarylog.v1.ServerHeader server_header = 7;
-
mergeServerHeader
public GrpcLogEntry.Builder mergeServerHeader(ServerHeader value)
.grpc.binarylog.v1.ServerHeader server_header = 7;
-
clearServerHeader
public GrpcLogEntry.Builder clearServerHeader()
.grpc.binarylog.v1.ServerHeader server_header = 7;
-
getServerHeaderBuilder
public ServerHeader.Builder getServerHeaderBuilder()
.grpc.binarylog.v1.ServerHeader server_header = 7;
-
getServerHeaderOrBuilder
public ServerHeaderOrBuilder getServerHeaderOrBuilder()
.grpc.binarylog.v1.ServerHeader server_header = 7;
- Specified by:
getServerHeaderOrBuilder
in interfaceGrpcLogEntryOrBuilder
-
hasMessage
public boolean hasMessage()
Used by EVENT_TYPE_CLIENT_MESSAGE, EVENT_TYPE_SERVER_MESSAGE
.grpc.binarylog.v1.Message message = 8;
- Specified by:
hasMessage
in interfaceGrpcLogEntryOrBuilder
- Returns:
- Whether the message field is set.
-
getMessage
public Message getMessage()
Used by EVENT_TYPE_CLIENT_MESSAGE, EVENT_TYPE_SERVER_MESSAGE
.grpc.binarylog.v1.Message message = 8;
- Specified by:
getMessage
in interfaceGrpcLogEntryOrBuilder
- Returns:
- The message.
-
setMessage
public GrpcLogEntry.Builder setMessage(Message value)
Used by EVENT_TYPE_CLIENT_MESSAGE, EVENT_TYPE_SERVER_MESSAGE
.grpc.binarylog.v1.Message message = 8;
-
setMessage
public GrpcLogEntry.Builder setMessage(Message.Builder builderForValue)
Used by EVENT_TYPE_CLIENT_MESSAGE, EVENT_TYPE_SERVER_MESSAGE
.grpc.binarylog.v1.Message message = 8;
-
mergeMessage
public GrpcLogEntry.Builder mergeMessage(Message value)
Used by EVENT_TYPE_CLIENT_MESSAGE, EVENT_TYPE_SERVER_MESSAGE
.grpc.binarylog.v1.Message message = 8;
-
clearMessage
public GrpcLogEntry.Builder clearMessage()
Used by EVENT_TYPE_CLIENT_MESSAGE, EVENT_TYPE_SERVER_MESSAGE
.grpc.binarylog.v1.Message message = 8;
-
getMessageBuilder
public Message.Builder getMessageBuilder()
Used by EVENT_TYPE_CLIENT_MESSAGE, EVENT_TYPE_SERVER_MESSAGE
.grpc.binarylog.v1.Message message = 8;
-
getMessageOrBuilder
public MessageOrBuilder getMessageOrBuilder()
Used by EVENT_TYPE_CLIENT_MESSAGE, EVENT_TYPE_SERVER_MESSAGE
.grpc.binarylog.v1.Message message = 8;
- Specified by:
getMessageOrBuilder
in interfaceGrpcLogEntryOrBuilder
-
hasTrailer
public boolean hasTrailer()
.grpc.binarylog.v1.Trailer trailer = 9;
- Specified by:
hasTrailer
in interfaceGrpcLogEntryOrBuilder
- Returns:
- Whether the trailer field is set.
-
getTrailer
public Trailer getTrailer()
.grpc.binarylog.v1.Trailer trailer = 9;
- Specified by:
getTrailer
in interfaceGrpcLogEntryOrBuilder
- Returns:
- The trailer.
-
setTrailer
public GrpcLogEntry.Builder setTrailer(Trailer value)
.grpc.binarylog.v1.Trailer trailer = 9;
-
setTrailer
public GrpcLogEntry.Builder setTrailer(Trailer.Builder builderForValue)
.grpc.binarylog.v1.Trailer trailer = 9;
-
mergeTrailer
public GrpcLogEntry.Builder mergeTrailer(Trailer value)
.grpc.binarylog.v1.Trailer trailer = 9;
-
clearTrailer
public GrpcLogEntry.Builder clearTrailer()
.grpc.binarylog.v1.Trailer trailer = 9;
-
getTrailerBuilder
public Trailer.Builder getTrailerBuilder()
.grpc.binarylog.v1.Trailer trailer = 9;
-
getTrailerOrBuilder
public TrailerOrBuilder getTrailerOrBuilder()
.grpc.binarylog.v1.Trailer trailer = 9;
- Specified by:
getTrailerOrBuilder
in interfaceGrpcLogEntryOrBuilder
-
getPayloadTruncated
public boolean getPayloadTruncated()
true if payload does not represent the full message or metadata.
bool payload_truncated = 10;
- Specified by:
getPayloadTruncated
in interfaceGrpcLogEntryOrBuilder
- Returns:
- The payloadTruncated.
-
setPayloadTruncated
public GrpcLogEntry.Builder setPayloadTruncated(boolean value)
true if payload does not represent the full message or metadata.
bool payload_truncated = 10;
- Parameters:
value
- The payloadTruncated to set.- Returns:
- This builder for chaining.
-
clearPayloadTruncated
public GrpcLogEntry.Builder clearPayloadTruncated()
true if payload does not represent the full message or metadata.
bool payload_truncated = 10;
- Returns:
- This builder for chaining.
-
hasPeer
public boolean hasPeer()
Peer address information, will only be recorded on the first incoming event. On client side, peer is logged on EVENT_TYPE_SERVER_HEADER normally or EVENT_TYPE_SERVER_TRAILER in the case of trailers-only. On server side, peer is always logged on EVENT_TYPE_CLIENT_HEADER.
.grpc.binarylog.v1.Address peer = 11;
- Specified by:
hasPeer
in interfaceGrpcLogEntryOrBuilder
- Returns:
- Whether the peer field is set.
-
getPeer
public Address getPeer()
Peer address information, will only be recorded on the first incoming event. On client side, peer is logged on EVENT_TYPE_SERVER_HEADER normally or EVENT_TYPE_SERVER_TRAILER in the case of trailers-only. On server side, peer is always logged on EVENT_TYPE_CLIENT_HEADER.
.grpc.binarylog.v1.Address peer = 11;
- Specified by:
getPeer
in interfaceGrpcLogEntryOrBuilder
- Returns:
- The peer.
-
setPeer
public GrpcLogEntry.Builder setPeer(Address value)
Peer address information, will only be recorded on the first incoming event. On client side, peer is logged on EVENT_TYPE_SERVER_HEADER normally or EVENT_TYPE_SERVER_TRAILER in the case of trailers-only. On server side, peer is always logged on EVENT_TYPE_CLIENT_HEADER.
.grpc.binarylog.v1.Address peer = 11;
-
setPeer
public GrpcLogEntry.Builder setPeer(Address.Builder builderForValue)
Peer address information, will only be recorded on the first incoming event. On client side, peer is logged on EVENT_TYPE_SERVER_HEADER normally or EVENT_TYPE_SERVER_TRAILER in the case of trailers-only. On server side, peer is always logged on EVENT_TYPE_CLIENT_HEADER.
.grpc.binarylog.v1.Address peer = 11;
-
mergePeer
public GrpcLogEntry.Builder mergePeer(Address value)
Peer address information, will only be recorded on the first incoming event. On client side, peer is logged on EVENT_TYPE_SERVER_HEADER normally or EVENT_TYPE_SERVER_TRAILER in the case of trailers-only. On server side, peer is always logged on EVENT_TYPE_CLIENT_HEADER.
.grpc.binarylog.v1.Address peer = 11;
-
clearPeer
public GrpcLogEntry.Builder clearPeer()
Peer address information, will only be recorded on the first incoming event. On client side, peer is logged on EVENT_TYPE_SERVER_HEADER normally or EVENT_TYPE_SERVER_TRAILER in the case of trailers-only. On server side, peer is always logged on EVENT_TYPE_CLIENT_HEADER.
.grpc.binarylog.v1.Address peer = 11;
-
getPeerBuilder
public Address.Builder getPeerBuilder()
Peer address information, will only be recorded on the first incoming event. On client side, peer is logged on EVENT_TYPE_SERVER_HEADER normally or EVENT_TYPE_SERVER_TRAILER in the case of trailers-only. On server side, peer is always logged on EVENT_TYPE_CLIENT_HEADER.
.grpc.binarylog.v1.Address peer = 11;
-
getPeerOrBuilder
public AddressOrBuilder getPeerOrBuilder()
Peer address information, will only be recorded on the first incoming event. On client side, peer is logged on EVENT_TYPE_SERVER_HEADER normally or EVENT_TYPE_SERVER_TRAILER in the case of trailers-only. On server side, peer is always logged on EVENT_TYPE_CLIENT_HEADER.
.grpc.binarylog.v1.Address peer = 11;
- Specified by:
getPeerOrBuilder
in interfaceGrpcLogEntryOrBuilder
-
setUnknownFields
public final GrpcLogEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<GrpcLogEntry.Builder>
-
mergeUnknownFields
public final GrpcLogEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<GrpcLogEntry.Builder>
-
-