Package grpc.reflection.v1alpha
Class Reflection.ServerReflectionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Reflection.ServerReflectionRequest.Builder>
grpc.reflection.v1alpha.Reflection.ServerReflectionRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Reflection.ServerReflectionRequestOrBuilder,Cloneable
- Enclosing class:
- Reflection.ServerReflectionRequest
public static final class Reflection.ServerReflectionRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Reflection.ServerReflectionRequest.Builder>
implements Reflection.ServerReflectionRequestOrBuilder
The message sent by the client when calling ServerReflectionInfo method.Protobuf type
grpc.reflection.v1alpha.ServerReflectionRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Finds the tag numbers used by all known extensions of the given message type, and appends them to ExtensionNumberResponse in an undefined order.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) 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;List the full names of registered services.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()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.ByteStringFinds the tag numbers used by all known extensions of the given message type, and appends them to ExtensionNumberResponse in an undefined order.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorFind a proto file by the file name.com.google.protobuf.ByteStringFind 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 which defines an extension extending the given message type with the given field number.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.ByteStringFind the proto file that declares the given fully-qualified symbol name.getHost()string host = 1;com.google.protobuf.ByteStringstring host = 1;List the full names of registered services.com.google.protobuf.ByteStringList the full names of registered services.booleanFinds the tag numbers used by all known extensions of the given message type, and appends them to ExtensionNumberResponse in an undefined order.booleanFind a proto file by the file name.booleanFind the proto file which defines an extension extending the given message type with the given field number.booleanFind the proto file that declares the given fully-qualified symbol name.booleanList the full names of registered services.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanFind the proto file which defines an extension extending the given message type with the given field number.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Finds the tag numbers used by all known extensions of the given message 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 the given message 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(Reflection.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;setHostBytes(com.google.protobuf.ByteString value) string host = 1;setListServices(String value) List the full names of registered services.setListServicesBytes(com.google.protobuf.ByteString value) List the full names of registered services.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Reflection.ServerReflectionRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Reflection.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.GeneratedMessageV3.Builder<Reflection.ServerReflectionRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Reflection.ServerReflectionRequest.Builder>
-
setField
public Reflection.ServerReflectionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Reflection.ServerReflectionRequest.Builder>
-
clearField
public Reflection.ServerReflectionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Reflection.ServerReflectionRequest.Builder>
-
clearOneof
public Reflection.ServerReflectionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Reflection.ServerReflectionRequest.Builder>
-
setRepeatedField
public Reflection.ServerReflectionRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Reflection.ServerReflectionRequest.Builder>
-
addRepeatedField
public Reflection.ServerReflectionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Reflection.ServerReflectionRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Reflection.ServerReflectionRequest.Builder>
-
mergeFrom
public Reflection.ServerReflectionRequest.Builder mergeFrom(Reflection.ServerReflectionRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Reflection.ServerReflectionRequest.Builder>
-
mergeFrom
public Reflection.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<Reflection.ServerReflectionRequest.Builder>- Throws:
IOException
-
getMessageRequestCase
- Specified by:
getMessageRequestCasein interfaceReflection.ServerReflectionRequestOrBuilder
-
clearMessageRequest
-
getHost
string host = 1;- Specified by:
getHostin interfaceReflection.ServerReflectionRequestOrBuilder- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()string host = 1;- Specified by:
getHostBytesin interfaceReflection.ServerReflectionRequestOrBuilder- Returns:
- The bytes for host.
-
setHost
string host = 1;- Parameters:
value- The host to set.- Returns:
- This builder for chaining.
-
clearHost
string host = 1;- Returns:
- This builder for chaining.
-
setHostBytes
public Reflection.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 interfaceReflection.ServerReflectionRequestOrBuilder- Returns:
- Whether the fileByFilename field is set.
-
getFileByFilename
Find a proto file by the file name.
string file_by_filename = 3;- Specified by:
getFileByFilenamein interfaceReflection.ServerReflectionRequestOrBuilder- 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 interfaceReflection.ServerReflectionRequestOrBuilder- Returns:
- The bytes for fileByFilename.
-
setFileByFilename
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
Find a proto file by the file name.
string file_by_filename = 3;- Returns:
- This builder for chaining.
-
setFileByFilenameBytes
public Reflection.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 interfaceReflection.ServerReflectionRequestOrBuilder- 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;- Specified by:
getFileContainingSymbolin interfaceReflection.ServerReflectionRequestOrBuilder- 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 interfaceReflection.ServerReflectionRequestOrBuilder- 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;- 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;- Returns:
- This builder for chaining.
-
setFileContainingSymbolBytes
public Reflection.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.v1alpha.ExtensionRequest file_containing_extension = 5;- Specified by:
hasFileContainingExtensionin interfaceReflection.ServerReflectionRequestOrBuilder- 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;- Specified by:
getFileContainingExtensionin interfaceReflection.ServerReflectionRequestOrBuilder- Returns:
- The fileContainingExtension.
-
setFileContainingExtension
public Reflection.ServerReflectionRequest.Builder setFileContainingExtension(Reflection.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; -
setFileContainingExtension
public Reflection.ServerReflectionRequest.Builder setFileContainingExtension(Reflection.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; -
mergeFileContainingExtension
public Reflection.ServerReflectionRequest.Builder mergeFileContainingExtension(Reflection.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; -
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; -
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; -
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;- Specified by:
getFileContainingExtensionOrBuilderin interfaceReflection.ServerReflectionRequestOrBuilder
-
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 interfaceReflection.ServerReflectionRequestOrBuilder- Returns:
- Whether the allExtensionNumbersOfType field is set.
-
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 interfaceReflection.ServerReflectionRequestOrBuilder- 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 interfaceReflection.ServerReflectionRequestOrBuilder- Returns:
- The bytes for allExtensionNumbersOfType.
-
setAllExtensionNumbersOfType
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
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 Reflection.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 interfaceReflection.ServerReflectionRequestOrBuilder- 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;- Specified by:
getListServicesin interfaceReflection.ServerReflectionRequestOrBuilder- 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 interfaceReflection.ServerReflectionRequestOrBuilder- Returns:
- The bytes for listServices.
-
setListServices
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
List the full names of registered services. The content will not be checked.
string list_services = 7;- Returns:
- This builder for chaining.
-
setListServicesBytes
public Reflection.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.
-
setUnknownFields
public final Reflection.ServerReflectionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Reflection.ServerReflectionRequest.Builder>
-
mergeUnknownFields
public final Reflection.ServerReflectionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Reflection.ServerReflectionRequest.Builder>
-