Class ServerReflectionResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<ServerReflectionResponse,ServerReflectionResponse.Builder>
com.viam.sdk.core.rpc.reflectionv1alpha.ServerReflectionResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,ServerReflectionResponseOrBuilder
,Cloneable
- Enclosing class:
- ServerReflectionResponse
public static final class ServerReflectionResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ServerReflectionResponse,ServerReflectionResponse.Builder>
implements ServerReflectionResponseOrBuilder
The message sent by the server to answer ServerReflectionInfo method.
Protobuf type grpc.reflection.v1alpha.ServerReflectionResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
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"];
This 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"];
This message is used to answer all_extension_numbers_of_type requst.mergeErrorResponse
(ErrorResponse value) 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"];
This message is used to answer all_extension_numbers_of_type requst.setAllExtensionNumbersResponse
(ExtensionNumberResponse.Builder builderForValue) This message is used to answer all_extension_numbers_of_type requst.setErrorResponse
(ErrorResponse value) This message is used when an error occurs.setErrorResponse
(ErrorResponse.Builder builderForValue) 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.setFileDescriptorResponse
(FileDescriptorResponse.Builder builderForValue) 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.setListServicesResponse
(ListServiceResponse.Builder builderForValue) This message is used to answer list_services request..grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];
setOriginalRequest
(ServerReflectionRequest.Builder builderForValue) .grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];
setValidHost
(String value) string valid_host = 1 [json_name = "validHost"];
setValidHostBytes
(com.google.protobuf.ByteString value) string valid_host = 1 [json_name = "validHost"];
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getMessageResponseCase
- Specified by:
getMessageResponseCase
in interfaceServerReflectionResponseOrBuilder
-
clearMessageResponse
-
getValidHost
string valid_host = 1 [json_name = "validHost"];
- Specified by:
getValidHost
in interfaceServerReflectionResponseOrBuilder
- Returns:
- The validHost.
-
getValidHostBytes
public com.google.protobuf.ByteString getValidHostBytes()string valid_host = 1 [json_name = "validHost"];
- Specified by:
getValidHostBytes
in interfaceServerReflectionResponseOrBuilder
- Returns:
- The bytes for validHost.
-
setValidHost
string valid_host = 1 [json_name = "validHost"];
- Parameters:
value
- The validHost to set.- Returns:
- This builder for chaining.
-
clearValidHost
string valid_host = 1 [json_name = "validHost"];
- Returns:
- This builder for chaining.
-
setValidHostBytes
string valid_host = 1 [json_name = "validHost"];
- Parameters:
value
- The bytes for validHost to set.- Returns:
- This builder for chaining.
-
hasOriginalRequest
public boolean hasOriginalRequest().grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];
- Specified by:
hasOriginalRequest
in interfaceServerReflectionResponseOrBuilder
- Returns:
- Whether the originalRequest field is set.
-
getOriginalRequest
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];
- Specified by:
getOriginalRequest
in interfaceServerReflectionResponseOrBuilder
- Returns:
- The originalRequest.
-
setOriginalRequest
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];
-
setOriginalRequest
public ServerReflectionResponse.Builder setOriginalRequest(ServerReflectionRequest.Builder builderForValue) .grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];
-
mergeOriginalRequest
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];
-
clearOriginalRequest
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];
-
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 [json_name = "fileDescriptorResponse"];
- Specified by:
hasFileDescriptorResponse
in interfaceServerReflectionResponseOrBuilder
- Returns:
- Whether the fileDescriptorResponse field is set.
-
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"];
- Specified by:
getFileDescriptorResponse
in interfaceServerReflectionResponseOrBuilder
- Returns:
- The fileDescriptorResponse.
-
setFileDescriptorResponse
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"];
-
setFileDescriptorResponse
public ServerReflectionResponse.Builder setFileDescriptorResponse(FileDescriptorResponse.Builder builderForValue) 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"];
-
mergeFileDescriptorResponse
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"];
-
clearFileDescriptorResponse
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"];
-
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 [json_name = "allExtensionNumbersResponse"];
- Specified by:
hasAllExtensionNumbersResponse
in interfaceServerReflectionResponseOrBuilder
- Returns:
- Whether the allExtensionNumbersResponse field is set.
-
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"];
- Specified by:
getAllExtensionNumbersResponse
in interfaceServerReflectionResponseOrBuilder
- Returns:
- The allExtensionNumbersResponse.
-
setAllExtensionNumbersResponse
public ServerReflectionResponse.Builder setAllExtensionNumbersResponse(ExtensionNumberResponse value) This message is used to answer all_extension_numbers_of_type requst.
.grpc.reflection.v1alpha.ExtensionNumberResponse all_extension_numbers_response = 5 [json_name = "allExtensionNumbersResponse"];
-
setAllExtensionNumbersResponse
public ServerReflectionResponse.Builder setAllExtensionNumbersResponse(ExtensionNumberResponse.Builder builderForValue) This message is used to answer all_extension_numbers_of_type requst.
.grpc.reflection.v1alpha.ExtensionNumberResponse all_extension_numbers_response = 5 [json_name = "allExtensionNumbersResponse"];
-
mergeAllExtensionNumbersResponse
public ServerReflectionResponse.Builder mergeAllExtensionNumbersResponse(ExtensionNumberResponse value) This message is used to answer all_extension_numbers_of_type requst.
.grpc.reflection.v1alpha.ExtensionNumberResponse all_extension_numbers_response = 5 [json_name = "allExtensionNumbersResponse"];
-
clearAllExtensionNumbersResponse
This message is used to answer all_extension_numbers_of_type requst.
.grpc.reflection.v1alpha.ExtensionNumberResponse all_extension_numbers_response = 5 [json_name = "allExtensionNumbersResponse"];
-
hasListServicesResponse
public boolean hasListServicesResponse()This message is used to answer list_services request.
.grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6 [json_name = "listServicesResponse"];
- Specified by:
hasListServicesResponse
in interfaceServerReflectionResponseOrBuilder
- Returns:
- Whether the listServicesResponse field is set.
-
getListServicesResponse
This message is used to answer list_services request.
.grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6 [json_name = "listServicesResponse"];
- Specified by:
getListServicesResponse
in interfaceServerReflectionResponseOrBuilder
- Returns:
- The listServicesResponse.
-
setListServicesResponse
This message is used to answer list_services request.
.grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6 [json_name = "listServicesResponse"];
-
setListServicesResponse
public ServerReflectionResponse.Builder setListServicesResponse(ListServiceResponse.Builder builderForValue) This message is used to answer list_services request.
.grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6 [json_name = "listServicesResponse"];
-
mergeListServicesResponse
This message is used to answer list_services request.
.grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6 [json_name = "listServicesResponse"];
-
clearListServicesResponse
This message is used to answer list_services request.
.grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6 [json_name = "listServicesResponse"];
-
hasErrorResponse
public boolean hasErrorResponse()This message is used when an error occurs.
.grpc.reflection.v1alpha.ErrorResponse error_response = 7 [json_name = "errorResponse"];
- Specified by:
hasErrorResponse
in interfaceServerReflectionResponseOrBuilder
- Returns:
- Whether the errorResponse field is set.
-
getErrorResponse
This message is used when an error occurs.
.grpc.reflection.v1alpha.ErrorResponse error_response = 7 [json_name = "errorResponse"];
- Specified by:
getErrorResponse
in interfaceServerReflectionResponseOrBuilder
- Returns:
- The errorResponse.
-
setErrorResponse
This message is used when an error occurs.
.grpc.reflection.v1alpha.ErrorResponse error_response = 7 [json_name = "errorResponse"];
-
setErrorResponse
This message is used when an error occurs.
.grpc.reflection.v1alpha.ErrorResponse error_response = 7 [json_name = "errorResponse"];
-
mergeErrorResponse
This message is used when an error occurs.
.grpc.reflection.v1alpha.ErrorResponse error_response = 7 [json_name = "errorResponse"];
-
clearErrorResponse
This message is used when an error occurs.
.grpc.reflection.v1alpha.ErrorResponse error_response = 7 [json_name = "errorResponse"];
-