Package io.vertx.grpc.reflection.v1
Class ServerReflectionRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<ServerReflectionRequest.Builder>
-
- io.vertx.grpc.reflection.v1.ServerReflectionRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ServerReflectionRequestOrBuilder,Cloneable
- Enclosing class:
- ServerReflectionRequest
public static final class ServerReflectionRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ServerReflectionRequest.Builder> implements ServerReflectionRequestOrBuilder
The message sent by the client when calling ServerReflectionInfo method.
Protobuf typegrpc.reflection.v1.ServerReflectionRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerReflectionRequestbuild()ServerReflectionRequestbuildPartial()ServerReflectionRequest.Builderclear()ServerReflectionRequest.BuilderclearAllExtensionNumbersOfType()Finds the tag numbers used by all known extensions of the given message type, and appends them to ExtensionNumberResponse in an undefined order.ServerReflectionRequest.BuilderclearFileByFilename()Find a proto file by the file name.ServerReflectionRequest.BuilderclearFileContainingExtension()Find the proto file which defines an extension extending the given message type with the given field number.ServerReflectionRequest.BuilderclearFileContainingSymbol()Find the proto file that declares the given fully-qualified symbol name.ServerReflectionRequest.BuilderclearHost()string host = 1;ServerReflectionRequest.BuilderclearListServices()List the full names of registered services.ServerReflectionRequest.BuilderclearMessageRequest()StringgetAllExtensionNumbersOfType()Finds the tag numbers used by all known extensions of the given message type, and appends them to ExtensionNumberResponse in an undefined order.com.google.protobuf.ByteStringgetAllExtensionNumbersOfTypeBytes()Finds the tag numbers used by all known extensions of the given message type, and appends them to ExtensionNumberResponse in an undefined order.ServerReflectionRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFileByFilename()Find a proto file by the file name.com.google.protobuf.ByteStringgetFileByFilenameBytes()Find a proto file by the file name.ExtensionRequestgetFileContainingExtension()Find the proto file which defines an extension extending the given message type with the given field number.ExtensionRequest.BuildergetFileContainingExtensionBuilder()Find the proto file which defines an extension extending the given message type with the given field number.ExtensionRequestOrBuildergetFileContainingExtensionOrBuilder()Find the proto file which defines an extension extending the given message type with the given field number.StringgetFileContainingSymbol()Find the proto file that declares the given fully-qualified symbol name.com.google.protobuf.ByteStringgetFileContainingSymbolBytes()Find the proto file that declares the given fully-qualified symbol name.StringgetHost()string host = 1;com.google.protobuf.ByteStringgetHostBytes()string host = 1;StringgetListServices()List the full names of registered services.com.google.protobuf.ByteStringgetListServicesBytes()List the full names of registered services.ServerReflectionRequest.MessageRequestCasegetMessageRequestCase()booleanhasAllExtensionNumbersOfType()Finds the tag numbers used by all known extensions of the given message type, and appends them to ExtensionNumberResponse in an undefined order.booleanhasFileByFilename()Find a proto file by the file name.booleanhasFileContainingExtension()Find the proto file which defines an extension extending the given message type with the given field number.booleanhasFileContainingSymbol()Find the proto file that declares the given fully-qualified symbol name.booleanhasListServices()List the full names of registered services.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ServerReflectionRequest.BuildermergeFileContainingExtension(ExtensionRequest value)Find the proto file which defines an extension extending the given message type with the given field number.ServerReflectionRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ServerReflectionRequest.BuildermergeFrom(com.google.protobuf.Message other)ServerReflectionRequest.BuildermergeFrom(ServerReflectionRequest other)ServerReflectionRequest.BuildersetAllExtensionNumbersOfType(String value)Finds the tag numbers used by all known extensions of the given message type, and appends them to ExtensionNumberResponse in an undefined order.ServerReflectionRequest.BuildersetAllExtensionNumbersOfTypeBytes(com.google.protobuf.ByteString value)Finds the tag numbers used by all known extensions of the given message type, and appends them to ExtensionNumberResponse in an undefined order.ServerReflectionRequest.BuildersetFileByFilename(String value)Find a proto file by the file name.ServerReflectionRequest.BuildersetFileByFilenameBytes(com.google.protobuf.ByteString value)Find a proto file by the file name.ServerReflectionRequest.BuildersetFileContainingExtension(ExtensionRequest value)Find the proto file which defines an extension extending the given message type with the given field number.ServerReflectionRequest.BuildersetFileContainingExtension(ExtensionRequest.Builder builderForValue)Find the proto file which defines an extension extending the given message type with the given field number.ServerReflectionRequest.BuildersetFileContainingSymbol(String value)Find the proto file that declares the given fully-qualified symbol name.ServerReflectionRequest.BuildersetFileContainingSymbolBytes(com.google.protobuf.ByteString value)Find the proto file that declares the given fully-qualified symbol name.ServerReflectionRequest.BuildersetHost(String value)string host = 1;ServerReflectionRequest.BuildersetHostBytes(com.google.protobuf.ByteString value)string host = 1;ServerReflectionRequest.BuildersetListServices(String value)List the full names of registered services.ServerReflectionRequest.BuildersetListServicesBytes(com.google.protobuf.ByteString value)List the full names of registered services.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
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.Builder<ServerReflectionRequest.Builder>
-
clear
public ServerReflectionRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ServerReflectionRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ServerReflectionRequest.Builder>
-
getDefaultInstanceForType
public ServerReflectionRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ServerReflectionRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ServerReflectionRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ServerReflectionRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServerReflectionRequest.Builder>
-
mergeFrom
public ServerReflectionRequest.Builder mergeFrom(ServerReflectionRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ServerReflectionRequest.Builder>
-
mergeFrom
public ServerReflectionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServerReflectionRequest.Builder>- Throws:
IOException
-
getMessageRequestCase
public ServerReflectionRequest.MessageRequestCase getMessageRequestCase()
- Specified by:
getMessageRequestCasein interfaceServerReflectionRequestOrBuilder
-
clearMessageRequest
public ServerReflectionRequest.Builder clearMessageRequest()
-
getHost
public String getHost()
string host = 1;- Specified by:
getHostin interfaceServerReflectionRequestOrBuilder- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()
string host = 1;- Specified by:
getHostBytesin interfaceServerReflectionRequestOrBuilder- Returns:
- The bytes for host.
-
setHost
public ServerReflectionRequest.Builder setHost(String value)
string host = 1;- Parameters:
value- The host to set.- Returns:
- This builder for chaining.
-
clearHost
public ServerReflectionRequest.Builder clearHost()
string host = 1;- Returns:
- This builder for chaining.
-
setHostBytes
public ServerReflectionRequest.Builder setHostBytes(com.google.protobuf.ByteString value)
string host = 1;- 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;- Specified by:
hasFileByFilenamein interfaceServerReflectionRequestOrBuilder- Returns:
- Whether the fileByFilename field is set.
-
getFileByFilename
public String getFileByFilename()
Find a proto file by the file name.
string file_by_filename = 3;- Specified by:
getFileByFilenamein interfaceServerReflectionRequestOrBuilder- Returns:
- The fileByFilename.
-
getFileByFilenameBytes
public com.google.protobuf.ByteString getFileByFilenameBytes()
Find a proto file by the file name.
string file_by_filename = 3;- Specified by:
getFileByFilenameBytesin interfaceServerReflectionRequestOrBuilder- Returns:
- The bytes for fileByFilename.
-
setFileByFilename
public ServerReflectionRequest.Builder setFileByFilename(String value)
Find a proto file by the file name.
string file_by_filename = 3;- Parameters:
value- The fileByFilename to set.- Returns:
- This builder for chaining.
-
clearFileByFilename
public ServerReflectionRequest.Builder clearFileByFilename()
Find a proto file by the file name.
string file_by_filename = 3;- Returns:
- This builder for chaining.
-
setFileByFilenameBytes
public ServerReflectionRequest.Builder setFileByFilenameBytes(com.google.protobuf.ByteString value)
Find a proto file by the file name.
string file_by_filename = 3;- 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;- Specified by:
hasFileContainingSymbolin interfaceServerReflectionRequestOrBuilder- Returns:
- Whether the fileContainingSymbol field is set.
-
getFileContainingSymbol
public String 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;- Specified by:
getFileContainingSymbolin 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;- Specified by:
getFileContainingSymbolBytesin interfaceServerReflectionRequestOrBuilder- Returns:
- The bytes for fileContainingSymbol.
-
setFileContainingSymbol
public ServerReflectionRequest.Builder setFileContainingSymbol(String 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;- Parameters:
value- The fileContainingSymbol to set.- Returns:
- This builder for chaining.
-
clearFileContainingSymbol
public ServerReflectionRequest.Builder 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;- 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;- 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.v1.ExtensionRequest file_containing_extension = 5;- Specified by:
hasFileContainingExtensionin interfaceServerReflectionRequestOrBuilder- Returns:
- Whether the fileContainingExtension field is set.
-
getFileContainingExtension
public ExtensionRequest getFileContainingExtension()
Find the proto file which defines an extension extending the given message type with the given field number.
.grpc.reflection.v1.ExtensionRequest file_containing_extension = 5;- Specified by:
getFileContainingExtensionin interfaceServerReflectionRequestOrBuilder- Returns:
- The fileContainingExtension.
-
setFileContainingExtension
public ServerReflectionRequest.Builder setFileContainingExtension(ExtensionRequest value)
Find the proto file which defines an extension extending the given message type with the given field number.
.grpc.reflection.v1.ExtensionRequest file_containing_extension = 5;
-
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.v1.ExtensionRequest file_containing_extension = 5;
-
mergeFileContainingExtension
public ServerReflectionRequest.Builder mergeFileContainingExtension(ExtensionRequest value)
Find the proto file which defines an extension extending the given message type with the given field number.
.grpc.reflection.v1.ExtensionRequest file_containing_extension = 5;
-
clearFileContainingExtension
public ServerReflectionRequest.Builder clearFileContainingExtension()
Find the proto file which defines an extension extending the given message type with the given field number.
.grpc.reflection.v1.ExtensionRequest file_containing_extension = 5;
-
getFileContainingExtensionBuilder
public ExtensionRequest.Builder getFileContainingExtensionBuilder()
Find the proto file which defines an extension extending the given message type with the given field number.
.grpc.reflection.v1.ExtensionRequest file_containing_extension = 5;
-
getFileContainingExtensionOrBuilder
public ExtensionRequestOrBuilder getFileContainingExtensionOrBuilder()
Find the proto file which defines an extension extending the given message type with the given field number.
.grpc.reflection.v1.ExtensionRequest file_containing_extension = 5;- Specified by:
getFileContainingExtensionOrBuilderin interfaceServerReflectionRequestOrBuilder
-
hasAllExtensionNumbersOfType
public boolean hasAllExtensionNumbersOfType()
Finds the tag numbers used by all known extensions of the given message 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;- Specified by:
hasAllExtensionNumbersOfTypein interfaceServerReflectionRequestOrBuilder- Returns:
- Whether the allExtensionNumbersOfType field is set.
-
getAllExtensionNumbersOfType
public String getAllExtensionNumbersOfType()
Finds the tag numbers used by all known extensions of the given message 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;- Specified by:
getAllExtensionNumbersOfTypein interfaceServerReflectionRequestOrBuilder- Returns:
- The allExtensionNumbersOfType.
-
getAllExtensionNumbersOfTypeBytes
public com.google.protobuf.ByteString getAllExtensionNumbersOfTypeBytes()
Finds the tag numbers used by all known extensions of the given message 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;- Specified by:
getAllExtensionNumbersOfTypeBytesin interfaceServerReflectionRequestOrBuilder- Returns:
- The bytes for allExtensionNumbersOfType.
-
setAllExtensionNumbersOfType
public ServerReflectionRequest.Builder setAllExtensionNumbersOfType(String value)
Finds the tag numbers used by all known extensions of the given message 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;- Parameters:
value- The allExtensionNumbersOfType to set.- Returns:
- This builder for chaining.
-
clearAllExtensionNumbersOfType
public ServerReflectionRequest.Builder clearAllExtensionNumbersOfType()
Finds the tag numbers used by all known extensions of the given message 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;- 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 the given message 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;- 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;- Specified by:
hasListServicesin interfaceServerReflectionRequestOrBuilder- Returns:
- Whether the listServices field is set.
-
getListServices
public String getListServices()
List the full names of registered services. The content will not be checked.
string list_services = 7;- Specified by:
getListServicesin 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;- Specified by:
getListServicesBytesin interfaceServerReflectionRequestOrBuilder- Returns:
- The bytes for listServices.
-
setListServices
public ServerReflectionRequest.Builder setListServices(String value)
List the full names of registered services. The content will not be checked.
string list_services = 7;- Parameters:
value- The listServices to set.- Returns:
- This builder for chaining.
-
clearListServices
public ServerReflectionRequest.Builder clearListServices()
List the full names of registered services. The content will not be checked.
string list_services = 7;- Returns:
- This builder for chaining.
-
setListServicesBytes
public ServerReflectionRequest.Builder setListServicesBytes(com.google.protobuf.ByteString value)
List the full names of registered services. The content will not be checked.
string list_services = 7;- Parameters:
value- The bytes for listServices to set.- Returns:
- This builder for chaining.
-
-