Module io.helidon.webclient.grpc
Package io.helidon.webclient.grpc
Class GrpcServiceDescriptor.BuilderBase.GrpcServiceDescriptorImpl
java.lang.Object
io.helidon.webclient.grpc.GrpcServiceDescriptor.BuilderBase.GrpcServiceDescriptorImpl
- All Implemented Interfaces:
Prototype.Api
,GrpcServiceDescriptor
- Enclosing class:
GrpcServiceDescriptor.BuilderBase<BUILDER extends GrpcServiceDescriptor.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends GrpcServiceDescriptor>
protected static class GrpcServiceDescriptor.BuilderBase.GrpcServiceDescriptorImpl
extends Object
implements GrpcServiceDescriptor
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.webclient.grpc.GrpcServiceDescriptor
GrpcServiceDescriptor.Builder, GrpcServiceDescriptor.BuilderBase<BUILDER extends GrpcServiceDescriptor.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends GrpcServiceDescriptor> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GrpcServiceDescriptorImpl
(GrpcServiceDescriptor.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionOptional
<io.grpc.CallCredentials> Credentials for this call, if any.boolean
int
hashCode()
List
<io.grpc.ClientInterceptor> Ordered list of method interceptors.default GrpcClientMethodDescriptor
Descriptor for a given method.methods()
Map of names to gRPC method descriptors.Service name.toString()
-
Constructor Details
-
GrpcServiceDescriptorImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
serviceName
Description copied from interface:GrpcServiceDescriptor
Service name.- Specified by:
serviceName
in interfaceGrpcServiceDescriptor
- Returns:
- the server name
-
methods
Description copied from interface:GrpcServiceDescriptor
Map of names to gRPC method descriptors.- Specified by:
methods
in interfaceGrpcServiceDescriptor
- Returns:
- method map
-
interceptors
Description copied from interface:GrpcServiceDescriptor
Ordered list of method interceptors.- Specified by:
interceptors
in interfaceGrpcServiceDescriptor
- Returns:
- list of interceptors
-
callCredentials
Description copied from interface:GrpcServiceDescriptor
Credentials for this call, if any.- Specified by:
callCredentials
in interfaceGrpcServiceDescriptor
- Returns:
- optional credentials
-
toString
-
equals
-
hashCode
public int hashCode() -
method
Descriptor for a given method.- Parameters:
name
- method name- Returns:
- method descriptor
- Throws:
NoSuchElementException
- if not found
-