public static final class ServerReflectionRequest.Builder extends com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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.
|
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.
|
ServerReflectionRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFileByFilename()
Find a proto file by the file name.
|
com.google.protobuf.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.
|
com.google.protobuf.ByteString |
getFileContainingSymbolBytes()
Find the proto file that declares the given fully-qualified symbol name.
|
String |
getHost()
string host = 1; |
com.google.protobuf.ByteString |
getHostBytes()
string host = 1; |
String |
getListServices()
List the full names of registered services.
|
com.google.protobuf.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 com.google.protobuf.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(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServerReflectionRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ServerReflectionRequest.Builder |
mergeFrom(ServerReflectionRequest other) |
ServerReflectionRequest.Builder |
mergeUnknownFields(com.google.protobuf.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(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.
|
ServerReflectionRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServerReflectionRequest.Builder |
setFileByFilename(String value)
Find a proto file by the file name.
|
ServerReflectionRequest.Builder |
setFileByFilenameBytes(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.ByteString value)
string host = 1; |
ServerReflectionRequest.Builder |
setListServices(String value)
List the full names of registered services.
|
ServerReflectionRequest.Builder |
setListServicesBytes(com.google.protobuf.ByteString value)
List the full names of registered services.
|
ServerReflectionRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ServerReflectionRequest.Builder |
setUnknownFields(com.google.protobuf.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, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ServerReflectionRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ServerReflectionRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ServerReflectionRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder mergeFrom(ServerReflectionRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.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 com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.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(com.google.protobuf.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 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;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(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;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 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;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(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;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 com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public final ServerReflectionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>