Interface ServerReflectionResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
ServerReflectionResponse
,ServerReflectionResponse.Builder
public interface ServerReflectionResponseOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThis message is used to answer all_extension_numbers_of_type requst.This message is used when an error occurs.This message is used to answer file_by_filename, file_containing_symbol, file_containing_extension requests with transitive dependencies.This message is used to answer list_services request..grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];
string valid_host = 1 [json_name = "validHost"];
com.google.protobuf.ByteString
string valid_host = 1 [json_name = "validHost"];
boolean
This message is used to answer all_extension_numbers_of_type requst.boolean
This message is used when an error occurs.boolean
This message is used to answer file_by_filename, file_containing_symbol, file_containing_extension requests with transitive dependencies.boolean
This message is used to answer list_services request.boolean
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getValidHost
String getValidHost()string valid_host = 1 [json_name = "validHost"];
- Returns:
- The validHost.
-
getValidHostBytes
com.google.protobuf.ByteString getValidHostBytes()string valid_host = 1 [json_name = "validHost"];
- Returns:
- The bytes for validHost.
-
hasOriginalRequest
boolean hasOriginalRequest().grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];
- Returns:
- Whether the originalRequest field is set.
-
getOriginalRequest
ServerReflectionRequest getOriginalRequest().grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];
- Returns:
- The originalRequest.
-
hasFileDescriptorResponse
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 [json_name = "fileDescriptorResponse"];
- Returns:
- Whether the fileDescriptorResponse field is set.
-
getFileDescriptorResponse
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 [json_name = "fileDescriptorResponse"];
- Returns:
- The fileDescriptorResponse.
-
hasAllExtensionNumbersResponse
boolean hasAllExtensionNumbersResponse()This message is used to answer all_extension_numbers_of_type requst.
.grpc.reflection.v1alpha.ExtensionNumberResponse all_extension_numbers_response = 5 [json_name = "allExtensionNumbersResponse"];
- Returns:
- Whether the allExtensionNumbersResponse field is set.
-
getAllExtensionNumbersResponse
ExtensionNumberResponse getAllExtensionNumbersResponse()This message is used to answer all_extension_numbers_of_type requst.
.grpc.reflection.v1alpha.ExtensionNumberResponse all_extension_numbers_response = 5 [json_name = "allExtensionNumbersResponse"];
- Returns:
- The allExtensionNumbersResponse.
-
hasListServicesResponse
boolean hasListServicesResponse()This message is used to answer list_services request.
.grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6 [json_name = "listServicesResponse"];
- Returns:
- Whether the listServicesResponse field is set.
-
getListServicesResponse
ListServiceResponse getListServicesResponse()This message is used to answer list_services request.
.grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6 [json_name = "listServicesResponse"];
- Returns:
- The listServicesResponse.
-
hasErrorResponse
boolean hasErrorResponse()This message is used when an error occurs.
.grpc.reflection.v1alpha.ErrorResponse error_response = 7 [json_name = "errorResponse"];
- Returns:
- Whether the errorResponse field is set.
-
getErrorResponse
ErrorResponse getErrorResponse()This message is used when an error occurs.
.grpc.reflection.v1alpha.ErrorResponse error_response = 7 [json_name = "errorResponse"];
- Returns:
- The errorResponse.
-
getMessageResponseCase
ServerReflectionResponse.MessageResponseCase getMessageResponseCase()
-