public static final class ServerReflectionRequest.Builder extends GeneratedMessageV3.Builder<ServerReflectionRequest.Builder> implements ServerReflectionRequestOrBuilder
The message sent by the client when calling ServerReflectionInfo method.Protobuf type
grpc.reflection.v1alpha.ServerReflectionRequest| Modifier and Type | Method and Description |
|---|---|
ServerReflectionRequest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
ServerReflectionRequest |
build() |
ServerReflectionRequest |
buildPartial() |
ServerReflectionRequest.Builder |
clear() |
ServerReflectionRequest.Builder |
clearAllExtensionNumbersOfType()
Finds the tag numbers used by all known extensions of extendee_type, and
appends them to ExtensionNumberResponse in an undefined order.
|
ServerReflectionRequest.Builder |
clearField(Descriptors.FieldDescriptor field) |
ServerReflectionRequest.Builder |
clearFileByFilename()
Find a proto file by the file name.
|
ServerReflectionRequest.Builder |
clearFileContainingExtension()
Find the proto file which defines an extension extending the given
message type with the given field number.
|
ServerReflectionRequest.Builder |
clearFileContainingSymbol()
Find the proto file that declares the given fully-qualified symbol name.
|
ServerReflectionRequest.Builder |
clearHost()
string host = 1; |
ServerReflectionRequest.Builder |
clearListServices()
List the full names of registered services.
|
ServerReflectionRequest.Builder |
clearMessageRequest() |
ServerReflectionRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ServerReflectionRequest.Builder |
clone() |
String |
getAllExtensionNumbersOfType()
Finds the tag numbers used by all known extensions of extendee_type, and
appends them to ExtensionNumberResponse in an undefined order.
|
ByteString |
getAllExtensionNumbersOfTypeBytes()
Finds the tag numbers used by all known extensions of extendee_type, and
appends them to ExtensionNumberResponse in an undefined order.
|
ServerReflectionRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
String |
getFileByFilename()
Find a proto file by the file name.
|
ByteString |
getFileByFilenameBytes()
Find a proto file by the file name.
|
ExtensionRequest |
getFileContainingExtension()
Find the proto file which defines an extension extending the given
message type with the given field number.
|
ExtensionRequest.Builder |
getFileContainingExtensionBuilder()
Find the proto file which defines an extension extending the given
message type with the given field number.
|
ExtensionRequestOrBuilder |
getFileContainingExtensionOrBuilder()
Find the proto file which defines an extension extending the given
message type with the given field number.
|
String |
getFileContainingSymbol()
Find the proto file that declares the given fully-qualified symbol name.
|
ByteString |
getFileContainingSymbolBytes()
Find the proto file that declares the given fully-qualified symbol name.
|
String |
getHost()
string host = 1; |
ByteString |
getHostBytes()
string host = 1; |
String |
getListServices()
List the full names of registered services.
|
ByteString |
getListServicesBytes()
List the full names of registered services.
|
ServerReflectionRequest.MessageRequestCase |
getMessageRequestCase() |
boolean |
hasAllExtensionNumbersOfType()
Finds the tag numbers used by all known extensions of extendee_type, and
appends them to ExtensionNumberResponse in an undefined order.
|
boolean |
hasFileByFilename()
Find a proto file by the file name.
|
boolean |
hasFileContainingExtension()
Find the proto file which defines an extension extending the given
message type with the given field number.
|
boolean |
hasFileContainingSymbol()
Find the proto file that declares the given fully-qualified symbol name.
|
boolean |
hasListServices()
List the full names of registered services.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ServerReflectionRequest.Builder |
mergeFileContainingExtension(ExtensionRequest value)
Find the proto file which defines an extension extending the given
message type with the given field number.
|
ServerReflectionRequest.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ServerReflectionRequest.Builder |
mergeFrom(Message other) |
ServerReflectionRequest.Builder |
mergeFrom(ServerReflectionRequest other) |
ServerReflectionRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ServerReflectionRequest.Builder |
setAllExtensionNumbersOfType(String value)
Finds the tag numbers used by all known extensions of extendee_type, and
appends them to ExtensionNumberResponse in an undefined order.
|
ServerReflectionRequest.Builder |
setAllExtensionNumbersOfTypeBytes(ByteString value)
Finds the tag numbers used by all known extensions of extendee_type, and
appends them to ExtensionNumberResponse in an undefined order.
|
ServerReflectionRequest.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
ServerReflectionRequest.Builder |
setFileByFilename(String value)
Find a proto file by the file name.
|
ServerReflectionRequest.Builder |
setFileByFilenameBytes(ByteString value)
Find a proto file by the file name.
|
ServerReflectionRequest.Builder |
setFileContainingExtension(ExtensionRequest.Builder builderForValue)
Find the proto file which defines an extension extending the given
message type with the given field number.
|
ServerReflectionRequest.Builder |
setFileContainingExtension(ExtensionRequest value)
Find the proto file which defines an extension extending the given
message type with the given field number.
|
ServerReflectionRequest.Builder |
setFileContainingSymbol(String value)
Find the proto file that declares the given fully-qualified symbol name.
|
ServerReflectionRequest.Builder |
setFileContainingSymbolBytes(ByteString value)
Find the proto file that declares the given fully-qualified symbol name.
|
ServerReflectionRequest.Builder |
setHost(String value)
string host = 1; |
ServerReflectionRequest.Builder |
setHostBytes(ByteString value)
string host = 1; |
ServerReflectionRequest.Builder |
setListServices(String value)
List the full names of registered services.
|
ServerReflectionRequest.Builder |
setListServicesBytes(ByteString value)
List the full names of registered services.
|
ServerReflectionRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
ServerReflectionRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeDelimitedFrom, mergeDelimitedFrommergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic ServerReflectionRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic ServerReflectionRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic ServerReflectionRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder mergeFrom(ServerReflectionRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<ServerReflectionRequest.Builder>IOExceptionpublic ServerReflectionRequest.MessageRequestCase getMessageRequestCase()
getMessageRequestCase in interface ServerReflectionRequestOrBuilderpublic ServerReflectionRequest.Builder clearMessageRequest()
public String getHost()
string host = 1;getHost in interface ServerReflectionRequestOrBuilderpublic ByteString getHostBytes()
string host = 1;getHostBytes in interface ServerReflectionRequestOrBuilderpublic ServerReflectionRequest.Builder setHost(String value)
string host = 1;value - The host to set.public ServerReflectionRequest.Builder clearHost()
string host = 1;public ServerReflectionRequest.Builder setHostBytes(ByteString value)
string host = 1;value - The bytes for host to set.public boolean hasFileByFilename()
Find a proto file by the file name.
string file_by_filename = 3;hasFileByFilename in interface ServerReflectionRequestOrBuilderpublic String getFileByFilename()
Find a proto file by the file name.
string file_by_filename = 3;getFileByFilename in interface ServerReflectionRequestOrBuilderpublic ByteString getFileByFilenameBytes()
Find a proto file by the file name.
string file_by_filename = 3;getFileByFilenameBytes in interface ServerReflectionRequestOrBuilderpublic ServerReflectionRequest.Builder setFileByFilename(String value)
Find a proto file by the file name.
string file_by_filename = 3;value - The fileByFilename to set.public ServerReflectionRequest.Builder clearFileByFilename()
Find a proto file by the file name.
string file_by_filename = 3;public ServerReflectionRequest.Builder setFileByFilenameBytes(ByteString value)
Find a proto file by the file name.
string file_by_filename = 3;value - The bytes for fileByFilename to set.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;hasFileContainingSymbol in interface ServerReflectionRequestOrBuilderpublic 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;getFileContainingSymbol in interface ServerReflectionRequestOrBuilderpublic 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;getFileContainingSymbolBytes in interface ServerReflectionRequestOrBuilderpublic 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;value - The fileContainingSymbol to set.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;public ServerReflectionRequest.Builder setFileContainingSymbolBytes(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;value - The bytes for fileContainingSymbol to set.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;hasFileContainingExtension in interface ServerReflectionRequestOrBuilderpublic ExtensionRequest 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;getFileContainingExtension in interface ServerReflectionRequestOrBuilderpublic 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.v1alpha.ExtensionRequest file_containing_extension = 5;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;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.v1alpha.ExtensionRequest file_containing_extension = 5;public ServerReflectionRequest.Builder 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;public ExtensionRequest.Builder getFileContainingExtensionBuilder()
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;public ExtensionRequestOrBuilder getFileContainingExtensionOrBuilder()
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;getFileContainingExtensionOrBuilder in interface ServerReflectionRequestOrBuilderpublic 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;hasAllExtensionNumbersOfType in interface ServerReflectionRequestOrBuilderpublic String 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;getAllExtensionNumbersOfType in interface ServerReflectionRequestOrBuilderpublic 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;getAllExtensionNumbersOfTypeBytes in interface ServerReflectionRequestOrBuilderpublic ServerReflectionRequest.Builder setAllExtensionNumbersOfType(String 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;value - The allExtensionNumbersOfType to set.public ServerReflectionRequest.Builder 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;public ServerReflectionRequest.Builder setAllExtensionNumbersOfTypeBytes(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;value - The bytes for allExtensionNumbersOfType to set.public boolean hasListServices()
List the full names of registered services. The content will not be checked.
string list_services = 7;hasListServices in interface ServerReflectionRequestOrBuilderpublic String getListServices()
List the full names of registered services. The content will not be checked.
string list_services = 7;getListServices in interface ServerReflectionRequestOrBuilderpublic ByteString getListServicesBytes()
List the full names of registered services. The content will not be checked.
string list_services = 7;getListServicesBytes in interface ServerReflectionRequestOrBuilderpublic ServerReflectionRequest.Builder setListServices(String value)
List the full names of registered services. The content will not be checked.
string list_services = 7;value - The listServices to set.public ServerReflectionRequest.Builder clearListServices()
List the full names of registered services. The content will not be checked.
string list_services = 7;public ServerReflectionRequest.Builder setListServicesBytes(ByteString value)
List the full names of registered services. The content will not be checked.
string list_services = 7;value - The bytes for listServices to set.public final ServerReflectionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public final ServerReflectionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>