Package grpc.reflection.v1alpha
Class Reflection.ServerReflectionResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- grpc.reflection.v1alpha.Reflection.ServerReflectionResponse
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Reflection.ServerReflectionResponseOrBuilder,Serializable
- Enclosing class:
- Reflection
public static final class Reflection.ServerReflectionResponse extends com.google.protobuf.GeneratedMessageV3 implements Reflection.ServerReflectionResponseOrBuilder
The message sent by the server to answer ServerReflectionInfo method.
Protobuf typegrpc.reflection.v1alpha.ServerReflectionResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReflection.ServerReflectionResponse.BuilderThe message sent by the server to answer ServerReflectionInfo method.static classReflection.ServerReflectionResponse.MessageResponseCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intALL_EXTENSION_NUMBERS_RESPONSE_FIELD_NUMBERstatic intERROR_RESPONSE_FIELD_NUMBERstatic intFILE_DESCRIPTOR_RESPONSE_FIELD_NUMBERstatic intLIST_SERVICES_RESPONSE_FIELD_NUMBERstatic intORIGINAL_REQUEST_FIELD_NUMBERstatic intVALID_HOST_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Reflection.ExtensionNumberResponsegetAllExtensionNumbersResponse()This message is used to answer all_extension_numbers_of_type requst.Reflection.ExtensionNumberResponseOrBuildergetAllExtensionNumbersResponseOrBuilder()This message is used to answer all_extension_numbers_of_type requst.static Reflection.ServerReflectionResponsegetDefaultInstance()Reflection.ServerReflectionResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Reflection.ErrorResponsegetErrorResponse()This message is used when an error occurs.Reflection.ErrorResponseOrBuildergetErrorResponseOrBuilder()This message is used when an error occurs.Reflection.FileDescriptorResponsegetFileDescriptorResponse()This message is used to answer file_by_filename, file_containing_symbol, file_containing_extension requests with transitive dependencies.Reflection.FileDescriptorResponseOrBuildergetFileDescriptorResponseOrBuilder()This message is used to answer file_by_filename, file_containing_symbol, file_containing_extension requests with transitive dependencies.Reflection.ListServiceResponsegetListServicesResponse()This message is used to answer list_services request.Reflection.ListServiceResponseOrBuildergetListServicesResponseOrBuilder()This message is used to answer list_services request.Reflection.ServerReflectionResponse.MessageResponseCasegetMessageResponseCase()Reflection.ServerReflectionRequestgetOriginalRequest().grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2;Reflection.ServerReflectionRequestOrBuildergetOriginalRequestOrBuilder().grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2;com.google.protobuf.Parser<Reflection.ServerReflectionResponse>getParserForType()intgetSerializedSize()StringgetValidHost()string valid_host = 1;com.google.protobuf.ByteStringgetValidHostBytes()string valid_host = 1;booleanhasAllExtensionNumbersResponse()This message is used to answer all_extension_numbers_of_type requst.booleanhasErrorResponse()This message is used when an error occurs.booleanhasFileDescriptorResponse()This message is used to answer file_by_filename, file_containing_symbol, file_containing_extension requests with transitive dependencies.inthashCode()booleanhasListServicesResponse()This message is used to answer list_services request.booleanhasOriginalRequest().grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Reflection.ServerReflectionResponse.BuildernewBuilder()static Reflection.ServerReflectionResponse.BuildernewBuilder(Reflection.ServerReflectionResponse prototype)Reflection.ServerReflectionResponse.BuildernewBuilderForType()protected Reflection.ServerReflectionResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Reflection.ServerReflectionResponseparseDelimitedFrom(InputStream input)static Reflection.ServerReflectionResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Reflection.ServerReflectionResponseparseFrom(byte[] data)static Reflection.ServerReflectionResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Reflection.ServerReflectionResponseparseFrom(com.google.protobuf.ByteString data)static Reflection.ServerReflectionResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Reflection.ServerReflectionResponseparseFrom(com.google.protobuf.CodedInputStream input)static Reflection.ServerReflectionResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Reflection.ServerReflectionResponseparseFrom(InputStream input)static Reflection.ServerReflectionResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Reflection.ServerReflectionResponseparseFrom(ByteBuffer data)static Reflection.ServerReflectionResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Reflection.ServerReflectionResponse>parser()Reflection.ServerReflectionResponse.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, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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
-
VALID_HOST_FIELD_NUMBER
public static final int VALID_HOST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ORIGINAL_REQUEST_FIELD_NUMBER
public static final int ORIGINAL_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILE_DESCRIPTOR_RESPONSE_FIELD_NUMBER
public static final int FILE_DESCRIPTOR_RESPONSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALL_EXTENSION_NUMBERS_RESPONSE_FIELD_NUMBER
public static final int ALL_EXTENSION_NUMBERS_RESPONSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIST_SERVICES_RESPONSE_FIELD_NUMBER
public static final int LIST_SERVICES_RESPONSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_RESPONSE_FIELD_NUMBER
public static final int ERROR_RESPONSE_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
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getMessageResponseCase
public Reflection.ServerReflectionResponse.MessageResponseCase getMessageResponseCase()
- Specified by:
getMessageResponseCasein interfaceReflection.ServerReflectionResponseOrBuilder
-
getValidHost
public String getValidHost()
string valid_host = 1;- Specified by:
getValidHostin interfaceReflection.ServerReflectionResponseOrBuilder- Returns:
- The validHost.
-
getValidHostBytes
public com.google.protobuf.ByteString getValidHostBytes()
string valid_host = 1;- Specified by:
getValidHostBytesin interfaceReflection.ServerReflectionResponseOrBuilder- Returns:
- The bytes for validHost.
-
hasOriginalRequest
public boolean hasOriginalRequest()
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2;- Specified by:
hasOriginalRequestin interfaceReflection.ServerReflectionResponseOrBuilder- Returns:
- Whether the originalRequest field is set.
-
getOriginalRequest
public Reflection.ServerReflectionRequest getOriginalRequest()
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2;- Specified by:
getOriginalRequestin interfaceReflection.ServerReflectionResponseOrBuilder- Returns:
- The originalRequest.
-
getOriginalRequestOrBuilder
public Reflection.ServerReflectionRequestOrBuilder getOriginalRequestOrBuilder()
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2;- Specified by:
getOriginalRequestOrBuilderin interfaceReflection.ServerReflectionResponseOrBuilder
-
hasFileDescriptorResponse
public boolean hasFileDescriptorResponse()
This message is used to answer file_by_filename, file_containing_symbol, file_containing_extension requests with transitive dependencies. As the repeated label is not allowed in oneof fields, we use a FileDescriptorResponse message to encapsulate the repeated fields. The reflection service is allowed to avoid sending FileDescriptorProtos that were previously sent in response to earlier requests in the stream.
.grpc.reflection.v1alpha.FileDescriptorResponse file_descriptor_response = 4;- Specified by:
hasFileDescriptorResponsein interfaceReflection.ServerReflectionResponseOrBuilder- Returns:
- Whether the fileDescriptorResponse field is set.
-
getFileDescriptorResponse
public Reflection.FileDescriptorResponse getFileDescriptorResponse()
This message is used to answer file_by_filename, file_containing_symbol, file_containing_extension requests with transitive dependencies. As the repeated label is not allowed in oneof fields, we use a FileDescriptorResponse message to encapsulate the repeated fields. The reflection service is allowed to avoid sending FileDescriptorProtos that were previously sent in response to earlier requests in the stream.
.grpc.reflection.v1alpha.FileDescriptorResponse file_descriptor_response = 4;- Specified by:
getFileDescriptorResponsein interfaceReflection.ServerReflectionResponseOrBuilder- Returns:
- The fileDescriptorResponse.
-
getFileDescriptorResponseOrBuilder
public Reflection.FileDescriptorResponseOrBuilder getFileDescriptorResponseOrBuilder()
This message is used to answer file_by_filename, file_containing_symbol, file_containing_extension requests with transitive dependencies. As the repeated label is not allowed in oneof fields, we use a FileDescriptorResponse message to encapsulate the repeated fields. The reflection service is allowed to avoid sending FileDescriptorProtos that were previously sent in response to earlier requests in the stream.
.grpc.reflection.v1alpha.FileDescriptorResponse file_descriptor_response = 4;- Specified by:
getFileDescriptorResponseOrBuilderin interfaceReflection.ServerReflectionResponseOrBuilder
-
hasAllExtensionNumbersResponse
public boolean hasAllExtensionNumbersResponse()
This message is used to answer all_extension_numbers_of_type requst.
.grpc.reflection.v1alpha.ExtensionNumberResponse all_extension_numbers_response = 5;- Specified by:
hasAllExtensionNumbersResponsein interfaceReflection.ServerReflectionResponseOrBuilder- Returns:
- Whether the allExtensionNumbersResponse field is set.
-
getAllExtensionNumbersResponse
public Reflection.ExtensionNumberResponse getAllExtensionNumbersResponse()
This message is used to answer all_extension_numbers_of_type requst.
.grpc.reflection.v1alpha.ExtensionNumberResponse all_extension_numbers_response = 5;- Specified by:
getAllExtensionNumbersResponsein interfaceReflection.ServerReflectionResponseOrBuilder- Returns:
- The allExtensionNumbersResponse.
-
getAllExtensionNumbersResponseOrBuilder
public Reflection.ExtensionNumberResponseOrBuilder getAllExtensionNumbersResponseOrBuilder()
This message is used to answer all_extension_numbers_of_type requst.
.grpc.reflection.v1alpha.ExtensionNumberResponse all_extension_numbers_response = 5;- Specified by:
getAllExtensionNumbersResponseOrBuilderin interfaceReflection.ServerReflectionResponseOrBuilder
-
hasListServicesResponse
public boolean hasListServicesResponse()
This message is used to answer list_services request.
.grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6;- Specified by:
hasListServicesResponsein interfaceReflection.ServerReflectionResponseOrBuilder- Returns:
- Whether the listServicesResponse field is set.
-
getListServicesResponse
public Reflection.ListServiceResponse getListServicesResponse()
This message is used to answer list_services request.
.grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6;- Specified by:
getListServicesResponsein interfaceReflection.ServerReflectionResponseOrBuilder- Returns:
- The listServicesResponse.
-
getListServicesResponseOrBuilder
public Reflection.ListServiceResponseOrBuilder getListServicesResponseOrBuilder()
This message is used to answer list_services request.
.grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6;- Specified by:
getListServicesResponseOrBuilderin interfaceReflection.ServerReflectionResponseOrBuilder
-
hasErrorResponse
public boolean hasErrorResponse()
This message is used when an error occurs.
.grpc.reflection.v1alpha.ErrorResponse error_response = 7;- Specified by:
hasErrorResponsein interfaceReflection.ServerReflectionResponseOrBuilder- Returns:
- Whether the errorResponse field is set.
-
getErrorResponse
public Reflection.ErrorResponse getErrorResponse()
This message is used when an error occurs.
.grpc.reflection.v1alpha.ErrorResponse error_response = 7;- Specified by:
getErrorResponsein interfaceReflection.ServerReflectionResponseOrBuilder- Returns:
- The errorResponse.
-
getErrorResponseOrBuilder
public Reflection.ErrorResponseOrBuilder getErrorResponseOrBuilder()
This message is used when an error occurs.
.grpc.reflection.v1alpha.ErrorResponse error_response = 7;- Specified by:
getErrorResponseOrBuilderin interfaceReflection.ServerReflectionResponseOrBuilder
-
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 Reflection.ServerReflectionResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Reflection.ServerReflectionResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Reflection.ServerReflectionResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Reflection.ServerReflectionResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Reflection.ServerReflectionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Reflection.ServerReflectionResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Reflection.ServerReflectionResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Reflection.ServerReflectionResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Reflection.ServerReflectionResponse parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Reflection.ServerReflectionResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Reflection.ServerReflectionResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Reflection.ServerReflectionResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Reflection.ServerReflectionResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Reflection.ServerReflectionResponse.Builder newBuilder()
-
newBuilder
public static Reflection.ServerReflectionResponse.Builder newBuilder(Reflection.ServerReflectionResponse prototype)
-
toBuilder
public Reflection.ServerReflectionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Reflection.ServerReflectionResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Reflection.ServerReflectionResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Reflection.ServerReflectionResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<Reflection.ServerReflectionResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Reflection.ServerReflectionResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-