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| 限定符和类型 | 方法和说明 |
|---|---|
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 |
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() |
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.
|
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 |
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 |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField, setField, setRepeatedFieldfindInitializationErrors, getInitializationErrorString, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toStringmergeDelimitedFrom, mergeDelimitedFrom, mergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public ServerReflectionRequest.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic ServerReflectionRequest build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic ServerReflectionRequest buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic ServerReflectionRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder mergeFrom(ServerReflectionRequest other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public ServerReflectionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<ServerReflectionRequest.Builder>IOExceptionpublic ServerReflectionRequest.MessageRequestCase getMessageRequestCase()
public ServerReflectionRequest.Builder clearMessageRequest()
public String getHost()
string host = 1;getHost 在接口中 ServerReflectionRequestOrBuilderpublic com.google.protobuf.ByteString getHostBytes()
string host = 1;getHostBytes 在接口中 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 在接口中 ServerReflectionRequestOrBuilderpublic String getFileByFilename()
Find a proto file by the file name.
string file_by_filename = 3;getFileByFilename 在接口中 ServerReflectionRequestOrBuilderpublic com.google.protobuf.ByteString getFileByFilenameBytes()
Find a proto file by the file name.
string file_by_filename = 3;getFileByFilenameBytes 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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;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;hasAllExtensionNumbersOfType 在接口中 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 在接口中 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 在接口中 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 在接口中 ServerReflectionRequestOrBuilderpublic String getListServices()
List the full names of registered services. The content will not be checked.
string list_services = 7;getListServices 在接口中 ServerReflectionRequestOrBuilderpublic com.google.protobuf.ByteString getListServicesBytes()
List the full names of registered services. The content will not be checked.
string list_services = 7;getListServicesBytes 在接口中 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 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>public final ServerReflectionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ServerReflectionRequest.Builder>Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.