Package org.apache.pinot.common.proto
Class Server.ServerRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.apache.pinot.common.proto.Server.ServerRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Server.ServerRequestOrBuilder
- Enclosing class:
- Server
public static final class Server.ServerRequest extends com.google.protobuf.GeneratedMessageV3 implements Server.ServerRequestOrBuilder
Protobuf typeorg.apache.pinot.common.proto.ServerRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServer.ServerRequest.BuilderProtobuf typeorg.apache.pinot.common.proto.ServerRequest-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intMETADATA_FIELD_NUMBERstatic intPAYLOAD_FIELD_NUMBERstatic intSEGMENTS_FIELD_NUMBERstatic intSQL_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description booleancontainsMetadata(String key)map<string, string> metadata = 1;booleanequals(Object obj)static Server.ServerRequestgetDefaultInstance()Server.ServerRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Map<String,String>getMetadata()Deprecated.intgetMetadataCount()map<string, string> metadata = 1;Map<String,String>getMetadataMap()map<string, string> metadata = 1;StringgetMetadataOrDefault(String key, String defaultValue)map<string, string> metadata = 1;StringgetMetadataOrThrow(String key)map<string, string> metadata = 1;com.google.protobuf.Parser<Server.ServerRequest>getParserForType()com.google.protobuf.ByteStringgetPayload()bytes payload = 4;StringgetSegments(int index)repeated string segments = 3;com.google.protobuf.ByteStringgetSegmentsBytes(int index)repeated string segments = 3;intgetSegmentsCount()repeated string segments = 3;com.google.protobuf.ProtocolStringListgetSegmentsList()repeated string segments = 3;intgetSerializedSize()StringgetSql()string sql = 2;com.google.protobuf.ByteStringgetSqlBytes()string sql = 2;com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Server.ServerRequest.BuildernewBuilder()static Server.ServerRequest.BuildernewBuilder(Server.ServerRequest prototype)Server.ServerRequest.BuildernewBuilderForType()protected Server.ServerRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Server.ServerRequestparseDelimitedFrom(InputStream input)static Server.ServerRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Server.ServerRequestparseFrom(byte[] data)static Server.ServerRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Server.ServerRequestparseFrom(com.google.protobuf.ByteString data)static Server.ServerRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Server.ServerRequestparseFrom(com.google.protobuf.CodedInputStream input)static Server.ServerRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Server.ServerRequestparseFrom(InputStream input)static Server.ServerRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Server.ServerRequestparseFrom(ByteBuffer data)static Server.ServerRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Server.ServerRequest>parser()Server.ServerRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SQL_FIELD_NUMBER
public static final int SQL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEGMENTS_FIELD_NUMBER
public static final int SEGMENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getMetadataCount
public int getMetadataCount()
Description copied from interface:Server.ServerRequestOrBuildermap<string, string> metadata = 1;- Specified by:
getMetadataCountin interfaceServer.ServerRequestOrBuilder
-
containsMetadata
public boolean containsMetadata(String key)
map<string, string> metadata = 1;- Specified by:
containsMetadatain interfaceServer.ServerRequestOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceServer.ServerRequestOrBuilder
-
getMetadataMap
public Map<String,String> getMetadataMap()
map<string, string> metadata = 1;- Specified by:
getMetadataMapin interfaceServer.ServerRequestOrBuilder
-
getMetadataOrDefault
public String getMetadataOrDefault(String key, String defaultValue)
map<string, string> metadata = 1;- Specified by:
getMetadataOrDefaultin interfaceServer.ServerRequestOrBuilder
-
getMetadataOrThrow
public String getMetadataOrThrow(String key)
map<string, string> metadata = 1;- Specified by:
getMetadataOrThrowin interfaceServer.ServerRequestOrBuilder
-
getSql
public String getSql()
string sql = 2;- Specified by:
getSqlin interfaceServer.ServerRequestOrBuilder- Returns:
- The sql.
-
getSqlBytes
public com.google.protobuf.ByteString getSqlBytes()
string sql = 2;- Specified by:
getSqlBytesin interfaceServer.ServerRequestOrBuilder- Returns:
- The bytes for sql.
-
getSegmentsList
public com.google.protobuf.ProtocolStringList getSegmentsList()
repeated string segments = 3;- Specified by:
getSegmentsListin interfaceServer.ServerRequestOrBuilder- Returns:
- A list containing the segments.
-
getSegmentsCount
public int getSegmentsCount()
repeated string segments = 3;- Specified by:
getSegmentsCountin interfaceServer.ServerRequestOrBuilder- Returns:
- The count of segments.
-
getSegments
public String getSegments(int index)
repeated string segments = 3;- Specified by:
getSegmentsin interfaceServer.ServerRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The segments at the given index.
-
getSegmentsBytes
public com.google.protobuf.ByteString getSegmentsBytes(int index)
repeated string segments = 3;- Specified by:
getSegmentsBytesin interfaceServer.ServerRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the segments at the given index.
-
getPayload
public com.google.protobuf.ByteString getPayload()
bytes payload = 4;- Specified by:
getPayloadin interfaceServer.ServerRequestOrBuilder- Returns:
- The payload.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Server.ServerRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Server.ServerRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Server.ServerRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Server.ServerRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Server.ServerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Server.ServerRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Server.ServerRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Server.ServerRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Server.ServerRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Server.ServerRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Server.ServerRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Server.ServerRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Server.ServerRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Server.ServerRequest.Builder newBuilder()
-
newBuilder
public static Server.ServerRequest.Builder newBuilder(Server.ServerRequest prototype)
-
toBuilder
public Server.ServerRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Server.ServerRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Server.ServerRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Server.ServerRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<Server.ServerRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Server.ServerRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-