Package io.vertx.grpc.reflection.v1
Class ServerReflectionResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.vertx.grpc.reflection.v1.ServerReflectionResponse
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ServerReflectionResponseOrBuilder,Serializable
public final class ServerReflectionResponse extends com.google.protobuf.GeneratedMessage implements ServerReflectionResponseOrBuilder
The message sent by the server to answer ServerReflectionInfo method.
Protobuf typegrpc.reflection.v1.ServerReflectionResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServerReflectionResponse.BuilderThe message sent by the server to answer ServerReflectionInfo method.static classServerReflectionResponse.MessageResponseCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.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)ExtensionNumberResponsegetAllExtensionNumbersResponse()This message is used to answer all_extension_numbers_of_type requests.ExtensionNumberResponseOrBuildergetAllExtensionNumbersResponseOrBuilder()This message is used to answer all_extension_numbers_of_type requests.static ServerReflectionResponsegetDefaultInstance()ServerReflectionResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()ErrorResponsegetErrorResponse()This message is used when an error occurs.ErrorResponseOrBuildergetErrorResponseOrBuilder()This message is used when an error occurs.FileDescriptorResponsegetFileDescriptorResponse()This message is used to answer file_by_filename, file_containing_symbol, file_containing_extension requests with transitive dependencies.FileDescriptorResponseOrBuildergetFileDescriptorResponseOrBuilder()This message is used to answer file_by_filename, file_containing_symbol, file_containing_extension requests with transitive dependencies.ListServiceResponsegetListServicesResponse()This message is used to answer list_services requests.ListServiceResponseOrBuildergetListServicesResponseOrBuilder()This message is used to answer list_services requests.ServerReflectionResponse.MessageResponseCasegetMessageResponseCase()ServerReflectionRequestgetOriginalRequest().grpc.reflection.v1.ServerReflectionRequest original_request = 2;ServerReflectionRequestOrBuildergetOriginalRequestOrBuilder().grpc.reflection.v1.ServerReflectionRequest original_request = 2;com.google.protobuf.Parser<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 requests.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 requests.booleanhasOriginalRequest().grpc.reflection.v1.ServerReflectionRequest original_request = 2;protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ServerReflectionResponse.BuildernewBuilder()static ServerReflectionResponse.BuildernewBuilder(ServerReflectionResponse prototype)ServerReflectionResponse.BuildernewBuilderForType()protected ServerReflectionResponse.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static ServerReflectionResponseparseDelimitedFrom(InputStream input)static ServerReflectionResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServerReflectionResponseparseFrom(byte[] data)static ServerReflectionResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServerReflectionResponseparseFrom(com.google.protobuf.ByteString data)static ServerReflectionResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServerReflectionResponseparseFrom(com.google.protobuf.CodedInputStream input)static ServerReflectionResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServerReflectionResponseparseFrom(InputStream input)static ServerReflectionResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServerReflectionResponseparseFrom(ByteBuffer data)static ServerReflectionResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ServerReflectionResponse>parser()ServerReflectionResponse.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, 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, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
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
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getMessageResponseCase
public ServerReflectionResponse.MessageResponseCase getMessageResponseCase()
- Specified by:
getMessageResponseCasein interfaceServerReflectionResponseOrBuilder
-
getValidHost
public String getValidHost()
string valid_host = 1;- Specified by:
getValidHostin interfaceServerReflectionResponseOrBuilder- Returns:
- The validHost.
-
getValidHostBytes
public com.google.protobuf.ByteString getValidHostBytes()
string valid_host = 1;- Specified by:
getValidHostBytesin interfaceServerReflectionResponseOrBuilder- Returns:
- The bytes for validHost.
-
hasOriginalRequest
public boolean hasOriginalRequest()
.grpc.reflection.v1.ServerReflectionRequest original_request = 2;- Specified by:
hasOriginalRequestin interfaceServerReflectionResponseOrBuilder- Returns:
- Whether the originalRequest field is set.
-
getOriginalRequest
public ServerReflectionRequest getOriginalRequest()
.grpc.reflection.v1.ServerReflectionRequest original_request = 2;- Specified by:
getOriginalRequestin interfaceServerReflectionResponseOrBuilder- Returns:
- The originalRequest.
-
getOriginalRequestOrBuilder
public ServerReflectionRequestOrBuilder getOriginalRequestOrBuilder()
.grpc.reflection.v1.ServerReflectionRequest original_request = 2;- Specified by:
getOriginalRequestOrBuilderin interfaceServerReflectionResponseOrBuilder
-
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.v1.FileDescriptorResponse file_descriptor_response = 4;- Specified by:
hasFileDescriptorResponsein interfaceServerReflectionResponseOrBuilder- Returns:
- Whether the fileDescriptorResponse field is set.
-
getFileDescriptorResponse
public 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.v1.FileDescriptorResponse file_descriptor_response = 4;- Specified by:
getFileDescriptorResponsein interfaceServerReflectionResponseOrBuilder- Returns:
- The fileDescriptorResponse.
-
getFileDescriptorResponseOrBuilder
public 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.v1.FileDescriptorResponse file_descriptor_response = 4;- Specified by:
getFileDescriptorResponseOrBuilderin interfaceServerReflectionResponseOrBuilder
-
hasAllExtensionNumbersResponse
public boolean hasAllExtensionNumbersResponse()
This message is used to answer all_extension_numbers_of_type requests.
.grpc.reflection.v1.ExtensionNumberResponse all_extension_numbers_response = 5;- Specified by:
hasAllExtensionNumbersResponsein interfaceServerReflectionResponseOrBuilder- Returns:
- Whether the allExtensionNumbersResponse field is set.
-
getAllExtensionNumbersResponse
public ExtensionNumberResponse getAllExtensionNumbersResponse()
This message is used to answer all_extension_numbers_of_type requests.
.grpc.reflection.v1.ExtensionNumberResponse all_extension_numbers_response = 5;- Specified by:
getAllExtensionNumbersResponsein interfaceServerReflectionResponseOrBuilder- Returns:
- The allExtensionNumbersResponse.
-
getAllExtensionNumbersResponseOrBuilder
public ExtensionNumberResponseOrBuilder getAllExtensionNumbersResponseOrBuilder()
This message is used to answer all_extension_numbers_of_type requests.
.grpc.reflection.v1.ExtensionNumberResponse all_extension_numbers_response = 5;- Specified by:
getAllExtensionNumbersResponseOrBuilderin interfaceServerReflectionResponseOrBuilder
-
hasListServicesResponse
public boolean hasListServicesResponse()
This message is used to answer list_services requests.
.grpc.reflection.v1.ListServiceResponse list_services_response = 6;- Specified by:
hasListServicesResponsein interfaceServerReflectionResponseOrBuilder- Returns:
- Whether the listServicesResponse field is set.
-
getListServicesResponse
public ListServiceResponse getListServicesResponse()
This message is used to answer list_services requests.
.grpc.reflection.v1.ListServiceResponse list_services_response = 6;- Specified by:
getListServicesResponsein interfaceServerReflectionResponseOrBuilder- Returns:
- The listServicesResponse.
-
getListServicesResponseOrBuilder
public ListServiceResponseOrBuilder getListServicesResponseOrBuilder()
This message is used to answer list_services requests.
.grpc.reflection.v1.ListServiceResponse list_services_response = 6;- Specified by:
getListServicesResponseOrBuilderin interfaceServerReflectionResponseOrBuilder
-
hasErrorResponse
public boolean hasErrorResponse()
This message is used when an error occurs.
.grpc.reflection.v1.ErrorResponse error_response = 7;- Specified by:
hasErrorResponsein interfaceServerReflectionResponseOrBuilder- Returns:
- Whether the errorResponse field is set.
-
getErrorResponse
public ErrorResponse getErrorResponse()
This message is used when an error occurs.
.grpc.reflection.v1.ErrorResponse error_response = 7;- Specified by:
getErrorResponsein interfaceServerReflectionResponseOrBuilder- Returns:
- The errorResponse.
-
getErrorResponseOrBuilder
public ErrorResponseOrBuilder getErrorResponseOrBuilder()
This message is used when an error occurs.
.grpc.reflection.v1.ErrorResponse error_response = 7;- Specified by:
getErrorResponseOrBuilderin interfaceServerReflectionResponseOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
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 ServerReflectionResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerReflectionResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerReflectionResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static 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 ServerReflectionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerReflectionResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerReflectionResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ServerReflectionResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ServerReflectionResponse parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ServerReflectionResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ServerReflectionResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ServerReflectionResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ServerReflectionResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ServerReflectionResponse.Builder newBuilder()
-
newBuilder
public static ServerReflectionResponse.Builder newBuilder(ServerReflectionResponse prototype)
-
toBuilder
public ServerReflectionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ServerReflectionResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static ServerReflectionResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ServerReflectionResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<ServerReflectionResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public ServerReflectionResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-