Class ServerReflectionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<ServerReflectionRequest,ServerReflectionRequest.Builder>
com.viam.sdk.core.rpc.reflectionv1alpha.ServerReflectionRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,ServerReflectionRequestOrBuilder
,Cloneable
- Enclosing class:
- ServerReflectionRequest
public static final class ServerReflectionRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ServerReflectionRequest,ServerReflectionRequest.Builder>
implements ServerReflectionRequestOrBuilder
The message sent by the client when calling ServerReflectionInfo method.
Protobuf type grpc.reflection.v1alpha.ServerReflectionRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionFinds the tag numbers used by all known extensions of extendee_type, and appends them to ExtensionNumberResponse in an undefined order.Find a proto file by the file name.Find the proto file which defines an extension extending the given message type with the given field number.Find the proto file that declares the given fully-qualified symbol name.string host = 1 [json_name = "host"];
List the full names of registered services.Finds the tag numbers used by all known extensions of extendee_type, and appends them to ExtensionNumberResponse in an undefined order.com.google.protobuf.ByteString
Finds the tag numbers used by all known extensions of extendee_type, and appends them to ExtensionNumberResponse in an undefined order.Find a proto file by the file name.com.google.protobuf.ByteString
Find a proto file by the file name.Find the proto file which defines an extension extending the given message type with the given field number.Find the proto file that declares the given fully-qualified symbol name.com.google.protobuf.ByteString
Find the proto file that declares the given fully-qualified symbol name.getHost()
string host = 1 [json_name = "host"];
com.google.protobuf.ByteString
string host = 1 [json_name = "host"];
List the full names of registered services.com.google.protobuf.ByteString
List the full names of registered services.boolean
Finds the tag numbers used by all known extensions of extendee_type, and appends them to ExtensionNumberResponse in an undefined order.boolean
Find a proto file by the file name.boolean
Find the proto file which defines an extension extending the given message type with the given field number.boolean
Find the proto file that declares the given fully-qualified symbol name.boolean
List the full names of registered services.Find the proto file which defines an extension extending the given message type with the given field number.Finds the tag numbers used by all known extensions of extendee_type, and appends them to ExtensionNumberResponse in an undefined order.setAllExtensionNumbersOfTypeBytes
(com.google.protobuf.ByteString value) Finds the tag numbers used by all known extensions of extendee_type, and appends them to ExtensionNumberResponse in an undefined order.setFileByFilename
(String value) Find a proto file by the file name.setFileByFilenameBytes
(com.google.protobuf.ByteString value) Find a proto file by the file name.Find the proto file which defines an extension extending the given message type with the given field number.setFileContainingExtension
(ExtensionRequest.Builder builderForValue) Find the proto file which defines an extension extending the given message type with the given field number.setFileContainingSymbol
(String value) Find the proto file that declares the given fully-qualified symbol name.setFileContainingSymbolBytes
(com.google.protobuf.ByteString value) Find the proto file that declares the given fully-qualified symbol name.string host = 1 [json_name = "host"];
setHostBytes
(com.google.protobuf.ByteString value) string host = 1 [json_name = "host"];
setListServices
(String value) List the full names of registered services.setListServicesBytes
(com.google.protobuf.ByteString value) List the full names of registered services.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
-
getMessageRequestCase
- Specified by:
getMessageRequestCase
in interfaceServerReflectionRequestOrBuilder
-
clearMessageRequest
-
getHost
string host = 1 [json_name = "host"];
- Specified by:
getHost
in interfaceServerReflectionRequestOrBuilder
- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()string host = 1 [json_name = "host"];
- Specified by:
getHostBytes
in interfaceServerReflectionRequestOrBuilder
- Returns:
- The bytes for host.
-
setHost
string host = 1 [json_name = "host"];
- Parameters:
value
- The host to set.- Returns:
- This builder for chaining.
-
clearHost
string host = 1 [json_name = "host"];
- Returns:
- This builder for chaining.
-
setHostBytes
string host = 1 [json_name = "host"];
- Parameters:
value
- The bytes for host to set.- Returns:
- This builder for chaining.
-
hasFileByFilename
public boolean hasFileByFilename()Find a proto file by the file name.
string file_by_filename = 3 [json_name = "fileByFilename"];
- Specified by:
hasFileByFilename
in interfaceServerReflectionRequestOrBuilder
- Returns:
- Whether the fileByFilename field is set.
-
getFileByFilename
Find a proto file by the file name.
string file_by_filename = 3 [json_name = "fileByFilename"];
- Specified by:
getFileByFilename
in interfaceServerReflectionRequestOrBuilder
- Returns:
- The fileByFilename.
-
getFileByFilenameBytes
public com.google.protobuf.ByteString getFileByFilenameBytes()Find a proto file by the file name.
string file_by_filename = 3 [json_name = "fileByFilename"];
- Specified by:
getFileByFilenameBytes
in interfaceServerReflectionRequestOrBuilder
- Returns:
- The bytes for fileByFilename.
-
setFileByFilename
Find a proto file by the file name.
string file_by_filename = 3 [json_name = "fileByFilename"];
- Parameters:
value
- The fileByFilename to set.- Returns:
- This builder for chaining.
-
clearFileByFilename
Find a proto file by the file name.
string file_by_filename = 3 [json_name = "fileByFilename"];
- Returns:
- This builder for chaining.
-
setFileByFilenameBytes
Find a proto file by the file name.
string file_by_filename = 3 [json_name = "fileByFilename"];
- Parameters:
value
- The bytes for fileByFilename to set.- Returns:
- This builder for chaining.
-
hasFileContainingSymbol
public boolean hasFileContainingSymbol()Find the proto file that declares the given fully-qualified symbol name. This field should be a fully-qualified symbol name (e.g. <package>.<service>[.<method>] or <package>.<type>).
string file_containing_symbol = 4 [json_name = "fileContainingSymbol"];
- Specified by:
hasFileContainingSymbol
in interfaceServerReflectionRequestOrBuilder
- Returns:
- Whether the fileContainingSymbol field is set.
-
getFileContainingSymbol
Find the proto file that declares the given fully-qualified symbol name. This field should be a fully-qualified symbol name (e.g. <package>.<service>[.<method>] or <package>.<type>).
string file_containing_symbol = 4 [json_name = "fileContainingSymbol"];
- Specified by:
getFileContainingSymbol
in interfaceServerReflectionRequestOrBuilder
- Returns:
- The fileContainingSymbol.
-
getFileContainingSymbolBytes
public com.google.protobuf.ByteString getFileContainingSymbolBytes()Find the proto file that declares the given fully-qualified symbol name. This field should be a fully-qualified symbol name (e.g. <package>.<service>[.<method>] or <package>.<type>).
string file_containing_symbol = 4 [json_name = "fileContainingSymbol"];
- Specified by:
getFileContainingSymbolBytes
in interfaceServerReflectionRequestOrBuilder
- Returns:
- The bytes for fileContainingSymbol.
-
setFileContainingSymbol
Find the proto file that declares the given fully-qualified symbol name. This field should be a fully-qualified symbol name (e.g. <package>.<service>[.<method>] or <package>.<type>).
string file_containing_symbol = 4 [json_name = "fileContainingSymbol"];
- Parameters:
value
- The fileContainingSymbol to set.- Returns:
- This builder for chaining.
-
clearFileContainingSymbol
Find the proto file that declares the given fully-qualified symbol name. This field should be a fully-qualified symbol name (e.g. <package>.<service>[.<method>] or <package>.<type>).
string file_containing_symbol = 4 [json_name = "fileContainingSymbol"];
- Returns:
- This builder for chaining.
-
setFileContainingSymbolBytes
public ServerReflectionRequest.Builder setFileContainingSymbolBytes(com.google.protobuf.ByteString value) Find the proto file that declares the given fully-qualified symbol name. This field should be a fully-qualified symbol name (e.g. <package>.<service>[.<method>] or <package>.<type>).
string file_containing_symbol = 4 [json_name = "fileContainingSymbol"];
- Parameters:
value
- The bytes for fileContainingSymbol to set.- Returns:
- This builder for chaining.
-
hasFileContainingExtension
public boolean hasFileContainingExtension()Find the proto file which defines an extension extending the given message type with the given field number.
.grpc.reflection.v1alpha.ExtensionRequest file_containing_extension = 5 [json_name = "fileContainingExtension"];
- Specified by:
hasFileContainingExtension
in interfaceServerReflectionRequestOrBuilder
- Returns:
- Whether the fileContainingExtension field is set.
-
getFileContainingExtension
Find the proto file which defines an extension extending the given message type with the given field number.
.grpc.reflection.v1alpha.ExtensionRequest file_containing_extension = 5 [json_name = "fileContainingExtension"];
- Specified by:
getFileContainingExtension
in interfaceServerReflectionRequestOrBuilder
- Returns:
- The fileContainingExtension.
-
setFileContainingExtension
Find the proto file which defines an extension extending the given message type with the given field number.
.grpc.reflection.v1alpha.ExtensionRequest file_containing_extension = 5 [json_name = "fileContainingExtension"];
-
setFileContainingExtension
public ServerReflectionRequest.Builder setFileContainingExtension(ExtensionRequest.Builder builderForValue) Find the proto file which defines an extension extending the given message type with the given field number.
.grpc.reflection.v1alpha.ExtensionRequest file_containing_extension = 5 [json_name = "fileContainingExtension"];
-
mergeFileContainingExtension
Find the proto file which defines an extension extending the given message type with the given field number.
.grpc.reflection.v1alpha.ExtensionRequest file_containing_extension = 5 [json_name = "fileContainingExtension"];
-
clearFileContainingExtension
Find the proto file which defines an extension extending the given message type with the given field number.
.grpc.reflection.v1alpha.ExtensionRequest file_containing_extension = 5 [json_name = "fileContainingExtension"];
-
hasAllExtensionNumbersOfType
public boolean hasAllExtensionNumbersOfType()Finds the tag numbers used by all known extensions of extendee_type, and appends them to ExtensionNumberResponse in an undefined order. Its corresponding method is best-effort: it's not guaranteed that the reflection service will implement this method, and it's not guaranteed that this method will provide all extensions. Returns StatusCode::UNIMPLEMENTED if it's not implemented. This field should be a fully-qualified type name. The format is <package>.<type>
string all_extension_numbers_of_type = 6 [json_name = "allExtensionNumbersOfType"];
- Specified by:
hasAllExtensionNumbersOfType
in interfaceServerReflectionRequestOrBuilder
- Returns:
- Whether the allExtensionNumbersOfType field is set.
-
getAllExtensionNumbersOfType
Finds the tag numbers used by all known extensions of extendee_type, and appends them to ExtensionNumberResponse in an undefined order. Its corresponding method is best-effort: it's not guaranteed that the reflection service will implement this method, and it's not guaranteed that this method will provide all extensions. Returns StatusCode::UNIMPLEMENTED if it's not implemented. This field should be a fully-qualified type name. The format is <package>.<type>
string all_extension_numbers_of_type = 6 [json_name = "allExtensionNumbersOfType"];
- Specified by:
getAllExtensionNumbersOfType
in interfaceServerReflectionRequestOrBuilder
- Returns:
- The allExtensionNumbersOfType.
-
getAllExtensionNumbersOfTypeBytes
public com.google.protobuf.ByteString getAllExtensionNumbersOfTypeBytes()Finds the tag numbers used by all known extensions of extendee_type, and appends them to ExtensionNumberResponse in an undefined order. Its corresponding method is best-effort: it's not guaranteed that the reflection service will implement this method, and it's not guaranteed that this method will provide all extensions. Returns StatusCode::UNIMPLEMENTED if it's not implemented. This field should be a fully-qualified type name. The format is <package>.<type>
string all_extension_numbers_of_type = 6 [json_name = "allExtensionNumbersOfType"];
- Specified by:
getAllExtensionNumbersOfTypeBytes
in interfaceServerReflectionRequestOrBuilder
- Returns:
- The bytes for allExtensionNumbersOfType.
-
setAllExtensionNumbersOfType
Finds the tag numbers used by all known extensions of extendee_type, and appends them to ExtensionNumberResponse in an undefined order. Its corresponding method is best-effort: it's not guaranteed that the reflection service will implement this method, and it's not guaranteed that this method will provide all extensions. Returns StatusCode::UNIMPLEMENTED if it's not implemented. This field should be a fully-qualified type name. The format is <package>.<type>
string all_extension_numbers_of_type = 6 [json_name = "allExtensionNumbersOfType"];
- Parameters:
value
- The allExtensionNumbersOfType to set.- Returns:
- This builder for chaining.
-
clearAllExtensionNumbersOfType
Finds the tag numbers used by all known extensions of extendee_type, and appends them to ExtensionNumberResponse in an undefined order. Its corresponding method is best-effort: it's not guaranteed that the reflection service will implement this method, and it's not guaranteed that this method will provide all extensions. Returns StatusCode::UNIMPLEMENTED if it's not implemented. This field should be a fully-qualified type name. The format is <package>.<type>
string all_extension_numbers_of_type = 6 [json_name = "allExtensionNumbersOfType"];
- Returns:
- This builder for chaining.
-
setAllExtensionNumbersOfTypeBytes
public ServerReflectionRequest.Builder setAllExtensionNumbersOfTypeBytes(com.google.protobuf.ByteString value) Finds the tag numbers used by all known extensions of extendee_type, and appends them to ExtensionNumberResponse in an undefined order. Its corresponding method is best-effort: it's not guaranteed that the reflection service will implement this method, and it's not guaranteed that this method will provide all extensions. Returns StatusCode::UNIMPLEMENTED if it's not implemented. This field should be a fully-qualified type name. The format is <package>.<type>
string all_extension_numbers_of_type = 6 [json_name = "allExtensionNumbersOfType"];
- Parameters:
value
- The bytes for allExtensionNumbersOfType to set.- Returns:
- This builder for chaining.
-
hasListServices
public boolean hasListServices()List the full names of registered services. The content will not be checked.
string list_services = 7 [json_name = "listServices"];
- Specified by:
hasListServices
in interfaceServerReflectionRequestOrBuilder
- Returns:
- Whether the listServices field is set.
-
getListServices
List the full names of registered services. The content will not be checked.
string list_services = 7 [json_name = "listServices"];
- Specified by:
getListServices
in interfaceServerReflectionRequestOrBuilder
- Returns:
- The listServices.
-
getListServicesBytes
public com.google.protobuf.ByteString getListServicesBytes()List the full names of registered services. The content will not be checked.
string list_services = 7 [json_name = "listServices"];
- Specified by:
getListServicesBytes
in interfaceServerReflectionRequestOrBuilder
- Returns:
- The bytes for listServices.
-
setListServices
List the full names of registered services. The content will not be checked.
string list_services = 7 [json_name = "listServices"];
- Parameters:
value
- The listServices to set.- Returns:
- This builder for chaining.
-
clearListServices
List the full names of registered services. The content will not be checked.
string list_services = 7 [json_name = "listServices"];
- Returns:
- This builder for chaining.
-
setListServicesBytes
List the full names of registered services. The content will not be checked.
string list_services = 7 [json_name = "listServices"];
- Parameters:
value
- The bytes for listServices to set.- Returns:
- This builder for chaining.
-