Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterCertificatesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCertificatesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CertificatesServiceClient) error
- func RegisterCertificatesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCertificatesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CertificatesServiceServer) error
- func RegisterCertificatesServiceServer(s grpc.ServiceRegistrar, srv CertificatesServiceServer)
- func RegisterTestAPIServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterTestAPIServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TestAPIServiceClient) error
- func RegisterTestAPIServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterTestAPIServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TestAPIServiceServer) error
- func RegisterTestAPIServiceServer(s grpc.ServiceRegistrar, srv TestAPIServiceServer)
- type AppEnv
- type AppEnvMultiError
- type AppEnvValidationError
- type AppEnv_AppEnv
- func (AppEnv_AppEnv) Descriptor() protoreflect.EnumDescriptor
- func (x AppEnv_AppEnv) Enum() *AppEnv_AppEnv
- func (AppEnv_AppEnv) EnumDescriptor() ([]byte, []int)deprecated
- func (x AppEnv_AppEnv) Number() protoreflect.EnumNumber
- func (x AppEnv_AppEnv) String() string
- func (AppEnv_AppEnv) Type() protoreflect.EnumType
- type CertificatesServiceClient
- type CertificatesServiceIssueRequest
- func (*CertificatesServiceIssueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CertificatesServiceIssueRequest) GetAcmeAccountKeyVaultResource() string
- func (x *CertificatesServiceIssueRequest) GetCertificateVaultResource() string
- func (x *CertificatesServiceIssueRequest) GetDnsProvider() string
- func (x *CertificatesServiceIssueRequest) GetDnsProviderId() string
- func (x *CertificatesServiceIssueRequest) GetDomains() []string
- func (x *CertificatesServiceIssueRequest) GetEmail() string
- func (x *CertificatesServiceIssueRequest) GetKeyAlgorithm() string
- func (x *CertificatesServiceIssueRequest) GetPrivateKeyVaultResource() string
- func (x *CertificatesServiceIssueRequest) GetRenewPrivateKey() bool
- func (x *CertificatesServiceIssueRequest) GetStaging() bool
- func (x *CertificatesServiceIssueRequest) GetTermsOfServiceAgreed() bool
- func (x *CertificatesServiceIssueRequest) GetThresholdOfDaysToExpire() int64
- func (x *CertificatesServiceIssueRequest) GetVaultProvider() CertificatesServiceIssueRequest_DNSProvider
- func (*CertificatesServiceIssueRequest) ProtoMessage()
- func (x *CertificatesServiceIssueRequest) ProtoReflect() protoreflect.Message
- func (x *CertificatesServiceIssueRequest) Reset()
- func (x *CertificatesServiceIssueRequest) String() string
- func (m *CertificatesServiceIssueRequest) Validate() error
- func (m *CertificatesServiceIssueRequest) ValidateAll() error
- type CertificatesServiceIssueRequestMultiError
- type CertificatesServiceIssueRequestValidationError
- func (e CertificatesServiceIssueRequestValidationError) Cause() error
- func (e CertificatesServiceIssueRequestValidationError) Error() string
- func (e CertificatesServiceIssueRequestValidationError) ErrorName() string
- func (e CertificatesServiceIssueRequestValidationError) Field() string
- func (e CertificatesServiceIssueRequestValidationError) Key() bool
- func (e CertificatesServiceIssueRequestValidationError) Reason() string
- type CertificatesServiceIssueRequest_DNSProvider
- func (CertificatesServiceIssueRequest_DNSProvider) Descriptor() protoreflect.EnumDescriptor
- func (x CertificatesServiceIssueRequest_DNSProvider) Enum() *CertificatesServiceIssueRequest_DNSProvider
- func (CertificatesServiceIssueRequest_DNSProvider) EnumDescriptor() ([]byte, []int)deprecated
- func (x CertificatesServiceIssueRequest_DNSProvider) Number() protoreflect.EnumNumber
- func (x CertificatesServiceIssueRequest_DNSProvider) String() string
- func (CertificatesServiceIssueRequest_DNSProvider) Type() protoreflect.EnumType
- type CertificatesServiceIssueResponse
- func (*CertificatesServiceIssueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CertificatesServiceIssueResponse) GetCertificateVaultVersionResource() string
- func (x *CertificatesServiceIssueResponse) GetPrivateKeyVaultVersionResource() string
- func (*CertificatesServiceIssueResponse) ProtoMessage()
- func (x *CertificatesServiceIssueResponse) ProtoReflect() protoreflect.Message
- func (x *CertificatesServiceIssueResponse) Reset()
- func (x *CertificatesServiceIssueResponse) String() string
- func (m *CertificatesServiceIssueResponse) Validate() error
- func (m *CertificatesServiceIssueResponse) ValidateAll() error
- type CertificatesServiceIssueResponseMultiError
- type CertificatesServiceIssueResponseValidationError
- func (e CertificatesServiceIssueResponseValidationError) Cause() error
- func (e CertificatesServiceIssueResponseValidationError) Error() string
- func (e CertificatesServiceIssueResponseValidationError) ErrorName() string
- func (e CertificatesServiceIssueResponseValidationError) Field() string
- func (e CertificatesServiceIssueResponseValidationError) Key() bool
- func (e CertificatesServiceIssueResponseValidationError) Reason() string
- type CertificatesServiceServer
- type DNSProvider
- func (*DNSProvider) Descriptor() ([]byte, []int)deprecated
- func (*DNSProvider) ProtoMessage()
- func (x *DNSProvider) ProtoReflect() protoreflect.Message
- func (x *DNSProvider) Reset()
- func (x *DNSProvider) String() string
- func (m *DNSProvider) Validate() error
- func (m *DNSProvider) ValidateAll() error
- type DNSProviderMultiError
- type DNSProviderValidationError
- func (e DNSProviderValidationError) Cause() error
- func (e DNSProviderValidationError) Error() string
- func (e DNSProviderValidationError) ErrorName() string
- func (e DNSProviderValidationError) Field() string
- func (e DNSProviderValidationError) Key() bool
- func (e DNSProviderValidationError) Reason() string
- type DNSProvider_DNSProvider
- func (DNSProvider_DNSProvider) Descriptor() protoreflect.EnumDescriptor
- func (x DNSProvider_DNSProvider) Enum() *DNSProvider_DNSProvider
- func (DNSProvider_DNSProvider) EnumDescriptor() ([]byte, []int)deprecated
- func (x DNSProvider_DNSProvider) Number() protoreflect.EnumNumber
- func (x DNSProvider_DNSProvider) String() string
- func (DNSProvider_DNSProvider) Type() protoreflect.EnumType
- type SpanExporter
- func (*SpanExporter) Descriptor() ([]byte, []int)deprecated
- func (*SpanExporter) ProtoMessage()
- func (x *SpanExporter) ProtoReflect() protoreflect.Message
- func (x *SpanExporter) Reset()
- func (x *SpanExporter) String() string
- func (m *SpanExporter) Validate() error
- func (m *SpanExporter) ValidateAll() error
- type SpanExporterMultiError
- type SpanExporterValidationError
- func (e SpanExporterValidationError) Cause() error
- func (e SpanExporterValidationError) Error() string
- func (e SpanExporterValidationError) ErrorName() string
- func (e SpanExporterValidationError) Field() string
- func (e SpanExporterValidationError) Key() bool
- func (e SpanExporterValidationError) Reason() string
- type SpanExporter_SpanExporter
- func (SpanExporter_SpanExporter) Descriptor() protoreflect.EnumDescriptor
- func (x SpanExporter_SpanExporter) Enum() *SpanExporter_SpanExporter
- func (SpanExporter_SpanExporter) EnumDescriptor() ([]byte, []int)deprecated
- func (x SpanExporter_SpanExporter) Number() protoreflect.EnumNumber
- func (x SpanExporter_SpanExporter) String() string
- func (SpanExporter_SpanExporter) Type() protoreflect.EnumType
- type TestAPIServiceClient
- type TestAPIServiceEchoErrorRequest
- func (*TestAPIServiceEchoErrorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestAPIServiceEchoErrorRequest) GetCode() uint32
- func (x *TestAPIServiceEchoErrorRequest) GetMessage() string
- func (*TestAPIServiceEchoErrorRequest) ProtoMessage()
- func (x *TestAPIServiceEchoErrorRequest) ProtoReflect() protoreflect.Message
- func (x *TestAPIServiceEchoErrorRequest) Reset()
- func (x *TestAPIServiceEchoErrorRequest) String() string
- func (m *TestAPIServiceEchoErrorRequest) Validate() error
- func (m *TestAPIServiceEchoErrorRequest) ValidateAll() error
- type TestAPIServiceEchoErrorRequestMultiError
- type TestAPIServiceEchoErrorRequestValidationError
- func (e TestAPIServiceEchoErrorRequestValidationError) Cause() error
- func (e TestAPIServiceEchoErrorRequestValidationError) Error() string
- func (e TestAPIServiceEchoErrorRequestValidationError) ErrorName() string
- func (e TestAPIServiceEchoErrorRequestValidationError) Field() string
- func (e TestAPIServiceEchoErrorRequestValidationError) Key() bool
- func (e TestAPIServiceEchoErrorRequestValidationError) Reason() string
- type TestAPIServiceEchoRequestResponse
- func (*TestAPIServiceEchoRequestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TestAPIServiceEchoRequestResponse) GetMessage() string
- func (*TestAPIServiceEchoRequestResponse) ProtoMessage()
- func (x *TestAPIServiceEchoRequestResponse) ProtoReflect() protoreflect.Message
- func (x *TestAPIServiceEchoRequestResponse) Reset()
- func (x *TestAPIServiceEchoRequestResponse) String() string
- func (m *TestAPIServiceEchoRequestResponse) Validate() error
- func (m *TestAPIServiceEchoRequestResponse) ValidateAll() error
- type TestAPIServiceEchoRequestResponseMultiError
- type TestAPIServiceEchoRequestResponseValidationError
- func (e TestAPIServiceEchoRequestResponseValidationError) Cause() error
- func (e TestAPIServiceEchoRequestResponseValidationError) Error() string
- func (e TestAPIServiceEchoRequestResponseValidationError) ErrorName() string
- func (e TestAPIServiceEchoRequestResponseValidationError) Field() string
- func (e TestAPIServiceEchoRequestResponseValidationError) Key() bool
- func (e TestAPIServiceEchoRequestResponseValidationError) Reason() string
- type TestAPIServiceServer
- type UnimplementedCertificatesServiceServer
- type UnimplementedTestAPIServiceServer
- type UnsafeCertificatesServiceServer
- type UnsafeTestAPIServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( DNSProvider_DNSProvider_name = map[int32]string{ 0: "DNS_PROVIDER_UNSPECIFIED", 1: "gcloud", } DNSProvider_DNSProvider_value = map[string]int32{ "DNS_PROVIDER_UNSPECIFIED": 0, "gcloud": 1, } )
Enum value maps for DNSProvider_DNSProvider.
var ( CertificatesServiceIssueRequest_DNSProvider_name = map[int32]string{ 0: "DNS_PROVIDER_UNSPECIFIED", 1: "gcloud", } CertificatesServiceIssueRequest_DNSProvider_value = map[string]int32{ "DNS_PROVIDER_UNSPECIFIED": 0, "gcloud": 1, } )
Enum value maps for CertificatesServiceIssueRequest_DNSProvider.
var ( AppEnv_AppEnv_name = map[int32]string{ 0: "APP_ENV_UNSPECIFIED", 1: "local", 2: "development", 3: "staging", 4: "production", } AppEnv_AppEnv_value = map[string]int32{ "APP_ENV_UNSPECIFIED": 0, "local": 1, "development": 2, "staging": 3, "production": 4, } )
Enum value maps for AppEnv_AppEnv.
var ( SpanExporter_SpanExporter_name = map[int32]string{ 0: "noop", 1: "stdout", 2: "gcloud", } SpanExporter_SpanExporter_value = map[string]int32{ "noop": 0, "stdout": 1, "gcloud": 2, } )
Enum value maps for SpanExporter_SpanExporter.
var CertificatesService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "certcounter.v1.CertificatesService", HandlerType: (*CertificatesServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Issue", Handler: _CertificatesService_Issue_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "certcounter/v1/certificates.proto", }
CertificatesService_ServiceDesc is the grpc.ServiceDesc for CertificatesService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_certcounter_v1_certificates_proto protoreflect.FileDescriptor
var File_certcounter_v1_enum_proto protoreflect.FileDescriptor
var File_certcounter_v1_testapi_proto protoreflect.FileDescriptor
var TestAPIService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "certcounter.v1.TestAPIService", HandlerType: (*TestAPIServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Echo", Handler: _TestAPIService_Echo_Handler, }, { MethodName: "EchoError", Handler: _TestAPIService_EchoError_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "certcounter/v1/testapi.proto", }
TestAPIService_ServiceDesc is the grpc.ServiceDesc for TestAPIService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterCertificatesServiceHandler ¶
func RegisterCertificatesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterCertificatesServiceHandler registers the http handlers for service CertificatesService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCertificatesServiceHandlerClient ¶
func RegisterCertificatesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CertificatesServiceClient) error
RegisterCertificatesServiceHandlerClient registers the http handlers for service CertificatesService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CertificatesServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CertificatesServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CertificatesServiceClient" to call the correct interceptors.
func RegisterCertificatesServiceHandlerFromEndpoint ¶
func RegisterCertificatesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCertificatesServiceHandlerFromEndpoint is same as RegisterCertificatesServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCertificatesServiceHandlerServer ¶
func RegisterCertificatesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CertificatesServiceServer) error
RegisterCertificatesServiceHandlerServer registers the http handlers for service CertificatesService to "mux". UnaryRPC :call CertificatesServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterCertificatesServiceHandlerFromEndpoint instead.
func RegisterCertificatesServiceServer ¶
func RegisterCertificatesServiceServer(s grpc.ServiceRegistrar, srv CertificatesServiceServer)
func RegisterTestAPIServiceHandler ¶
func RegisterTestAPIServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterTestAPIServiceHandler registers the http handlers for service TestAPIService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterTestAPIServiceHandlerClient ¶
func RegisterTestAPIServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TestAPIServiceClient) error
RegisterTestAPIServiceHandlerClient registers the http handlers for service TestAPIService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TestAPIServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TestAPIServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TestAPIServiceClient" to call the correct interceptors.
func RegisterTestAPIServiceHandlerFromEndpoint ¶
func RegisterTestAPIServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterTestAPIServiceHandlerFromEndpoint is same as RegisterTestAPIServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterTestAPIServiceHandlerServer ¶
func RegisterTestAPIServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TestAPIServiceServer) error
RegisterTestAPIServiceHandlerServer registers the http handlers for service TestAPIService to "mux". UnaryRPC :call TestAPIServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTestAPIServiceHandlerFromEndpoint instead.
func RegisterTestAPIServiceServer ¶
func RegisterTestAPIServiceServer(s grpc.ServiceRegistrar, srv TestAPIServiceServer)
Types ¶
type AppEnv ¶
type AppEnv struct {
// contains filtered or unexported fields
}
func (*AppEnv) Descriptor
deprecated
func (*AppEnv) ProtoMessage ¶
func (*AppEnv) ProtoMessage()
func (*AppEnv) ProtoReflect ¶
func (x *AppEnv) ProtoReflect() protoreflect.Message
func (*AppEnv) Validate ¶
Validate checks the field values on AppEnv with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AppEnv) ValidateAll ¶
ValidateAll checks the field values on AppEnv with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AppEnvMultiError, or nil if none found.
type AppEnvMultiError ¶
type AppEnvMultiError []error
AppEnvMultiError is an error wrapping multiple validation errors returned by AppEnv.ValidateAll() if the designated constraints aren't met.
func (AppEnvMultiError) AllErrors ¶
func (m AppEnvMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AppEnvMultiError) Error ¶
func (m AppEnvMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AppEnvValidationError ¶
type AppEnvValidationError struct {
// contains filtered or unexported fields
}
AppEnvValidationError is the validation error returned by AppEnv.Validate if the designated constraints aren't met.
func (AppEnvValidationError) Cause ¶
func (e AppEnvValidationError) Cause() error
Cause function returns cause value.
func (AppEnvValidationError) Error ¶
func (e AppEnvValidationError) Error() string
Error satisfies the builtin error interface
func (AppEnvValidationError) ErrorName ¶
func (e AppEnvValidationError) ErrorName() string
ErrorName returns error name.
func (AppEnvValidationError) Field ¶
func (e AppEnvValidationError) Field() string
Field function returns field value.
func (AppEnvValidationError) Key ¶
func (e AppEnvValidationError) Key() bool
Key function returns key value.
func (AppEnvValidationError) Reason ¶
func (e AppEnvValidationError) Reason() string
Reason function returns reason value.
type AppEnv_AppEnv ¶
type AppEnv_AppEnv int32
buf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE buf:lint:ignore ENUM_VALUE_PREFIX
const ( AppEnv_APP_ENV_UNSPECIFIED AppEnv_AppEnv = 0 AppEnv_local AppEnv_AppEnv = 1 AppEnv_development AppEnv_AppEnv = 2 AppEnv_staging AppEnv_AppEnv = 3 AppEnv_production AppEnv_AppEnv = 4 )
func (AppEnv_AppEnv) Descriptor ¶
func (AppEnv_AppEnv) Descriptor() protoreflect.EnumDescriptor
func (AppEnv_AppEnv) Enum ¶
func (x AppEnv_AppEnv) Enum() *AppEnv_AppEnv
func (AppEnv_AppEnv) EnumDescriptor
deprecated
func (AppEnv_AppEnv) EnumDescriptor() ([]byte, []int)
Deprecated: Use AppEnv_AppEnv.Descriptor instead.
func (AppEnv_AppEnv) Number ¶
func (x AppEnv_AppEnv) Number() protoreflect.EnumNumber
func (AppEnv_AppEnv) String ¶
func (x AppEnv_AppEnv) String() string
func (AppEnv_AppEnv) Type ¶
func (AppEnv_AppEnv) Type() protoreflect.EnumType
type CertificatesServiceClient ¶
type CertificatesServiceClient interface {
Issue(ctx context.Context, in *CertificatesServiceIssueRequest, opts ...grpc.CallOption) (*CertificatesServiceIssueResponse, error)
}
CertificatesServiceClient is the client API for CertificatesService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCertificatesServiceClient ¶
func NewCertificatesServiceClient(cc grpc.ClientConnInterface) CertificatesServiceClient
type CertificatesServiceIssueRequest ¶
type CertificatesServiceIssueRequest struct { VaultProvider CertificatesServiceIssueRequest_DNSProvider `` /* 165-byte string literal not displayed */ AcmeAccountKeyVaultResource string `` /* 148-byte string literal not displayed */ PrivateKeyVaultResource string `` /* 134-byte string literal not displayed */ CertificateVaultResource string `` /* 135-byte string literal not displayed */ RenewPrivateKey bool `protobuf:"varint,5,opt,name=renew_private_key,json=renewPrivateKey,proto3" json:"renew_private_key,omitempty"` KeyAlgorithm string `protobuf:"bytes,6,opt,name=key_algorithm,json=keyAlgorithm,proto3" json:"key_algorithm,omitempty"` DnsProvider string `protobuf:"bytes,7,opt,name=dns_provider,json=dnsProvider,proto3" json:"dns_provider,omitempty"` DnsProviderId string `protobuf:"bytes,8,opt,name=dns_provider_id,json=dnsProviderId,proto3" json:"dns_provider_id,omitempty"` TermsOfServiceAgreed bool `` /* 126-byte string literal not displayed */ Email string `protobuf:"bytes,10,opt,name=email,proto3" json:"email,omitempty"` ThresholdOfDaysToExpire int64 `` /* 138-byte string literal not displayed */ Domains []string `protobuf:"bytes,12,rep,name=domains,proto3" json:"domains,omitempty"` Staging bool `protobuf:"varint,13,opt,name=staging,proto3" json:"staging,omitempty"` // contains filtered or unexported fields }
func (*CertificatesServiceIssueRequest) Descriptor
deprecated
func (*CertificatesServiceIssueRequest) Descriptor() ([]byte, []int)
Deprecated: Use CertificatesServiceIssueRequest.ProtoReflect.Descriptor instead.
func (*CertificatesServiceIssueRequest) GetAcmeAccountKeyVaultResource ¶
func (x *CertificatesServiceIssueRequest) GetAcmeAccountKeyVaultResource() string
func (*CertificatesServiceIssueRequest) GetCertificateVaultResource ¶
func (x *CertificatesServiceIssueRequest) GetCertificateVaultResource() string
func (*CertificatesServiceIssueRequest) GetDnsProvider ¶
func (x *CertificatesServiceIssueRequest) GetDnsProvider() string
func (*CertificatesServiceIssueRequest) GetDnsProviderId ¶
func (x *CertificatesServiceIssueRequest) GetDnsProviderId() string
func (*CertificatesServiceIssueRequest) GetDomains ¶
func (x *CertificatesServiceIssueRequest) GetDomains() []string
func (*CertificatesServiceIssueRequest) GetEmail ¶
func (x *CertificatesServiceIssueRequest) GetEmail() string
func (*CertificatesServiceIssueRequest) GetKeyAlgorithm ¶
func (x *CertificatesServiceIssueRequest) GetKeyAlgorithm() string
func (*CertificatesServiceIssueRequest) GetPrivateKeyVaultResource ¶
func (x *CertificatesServiceIssueRequest) GetPrivateKeyVaultResource() string
func (*CertificatesServiceIssueRequest) GetRenewPrivateKey ¶
func (x *CertificatesServiceIssueRequest) GetRenewPrivateKey() bool
func (*CertificatesServiceIssueRequest) GetStaging ¶
func (x *CertificatesServiceIssueRequest) GetStaging() bool
func (*CertificatesServiceIssueRequest) GetTermsOfServiceAgreed ¶
func (x *CertificatesServiceIssueRequest) GetTermsOfServiceAgreed() bool
func (*CertificatesServiceIssueRequest) GetThresholdOfDaysToExpire ¶
func (x *CertificatesServiceIssueRequest) GetThresholdOfDaysToExpire() int64
func (*CertificatesServiceIssueRequest) GetVaultProvider ¶
func (x *CertificatesServiceIssueRequest) GetVaultProvider() CertificatesServiceIssueRequest_DNSProvider
func (*CertificatesServiceIssueRequest) ProtoMessage ¶
func (*CertificatesServiceIssueRequest) ProtoMessage()
func (*CertificatesServiceIssueRequest) ProtoReflect ¶
func (x *CertificatesServiceIssueRequest) ProtoReflect() protoreflect.Message
func (*CertificatesServiceIssueRequest) Reset ¶
func (x *CertificatesServiceIssueRequest) Reset()
func (*CertificatesServiceIssueRequest) String ¶
func (x *CertificatesServiceIssueRequest) String() string
func (*CertificatesServiceIssueRequest) Validate ¶
func (m *CertificatesServiceIssueRequest) Validate() error
Validate checks the field values on CertificatesServiceIssueRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CertificatesServiceIssueRequest) ValidateAll ¶
func (m *CertificatesServiceIssueRequest) ValidateAll() error
ValidateAll checks the field values on CertificatesServiceIssueRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CertificatesServiceIssueRequestMultiError, or nil if none found.
type CertificatesServiceIssueRequestMultiError ¶
type CertificatesServiceIssueRequestMultiError []error
CertificatesServiceIssueRequestMultiError is an error wrapping multiple validation errors returned by CertificatesServiceIssueRequest.ValidateAll() if the designated constraints aren't met.
func (CertificatesServiceIssueRequestMultiError) AllErrors ¶
func (m CertificatesServiceIssueRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CertificatesServiceIssueRequestMultiError) Error ¶
func (m CertificatesServiceIssueRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CertificatesServiceIssueRequestValidationError ¶
type CertificatesServiceIssueRequestValidationError struct {
// contains filtered or unexported fields
}
CertificatesServiceIssueRequestValidationError is the validation error returned by CertificatesServiceIssueRequest.Validate if the designated constraints aren't met.
func (CertificatesServiceIssueRequestValidationError) Cause ¶
func (e CertificatesServiceIssueRequestValidationError) Cause() error
Cause function returns cause value.
func (CertificatesServiceIssueRequestValidationError) Error ¶
func (e CertificatesServiceIssueRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CertificatesServiceIssueRequestValidationError) ErrorName ¶
func (e CertificatesServiceIssueRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CertificatesServiceIssueRequestValidationError) Field ¶
func (e CertificatesServiceIssueRequestValidationError) Field() string
Field function returns field value.
func (CertificatesServiceIssueRequestValidationError) Key ¶
func (e CertificatesServiceIssueRequestValidationError) Key() bool
Key function returns key value.
func (CertificatesServiceIssueRequestValidationError) Reason ¶
func (e CertificatesServiceIssueRequestValidationError) Reason() string
Reason function returns reason value.
type CertificatesServiceIssueRequest_DNSProvider ¶
type CertificatesServiceIssueRequest_DNSProvider int32
buf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE buf:lint:ignore ENUM_VALUE_PREFIX
const ( CertificatesServiceIssueRequest_DNS_PROVIDER_UNSPECIFIED CertificatesServiceIssueRequest_DNSProvider = 0 CertificatesServiceIssueRequest_gcloud CertificatesServiceIssueRequest_DNSProvider = 1 )
func (CertificatesServiceIssueRequest_DNSProvider) Descriptor ¶
func (CertificatesServiceIssueRequest_DNSProvider) Descriptor() protoreflect.EnumDescriptor
func (CertificatesServiceIssueRequest_DNSProvider) EnumDescriptor
deprecated
func (CertificatesServiceIssueRequest_DNSProvider) EnumDescriptor() ([]byte, []int)
Deprecated: Use CertificatesServiceIssueRequest_DNSProvider.Descriptor instead.
func (CertificatesServiceIssueRequest_DNSProvider) Number ¶
func (x CertificatesServiceIssueRequest_DNSProvider) Number() protoreflect.EnumNumber
func (CertificatesServiceIssueRequest_DNSProvider) String ¶
func (x CertificatesServiceIssueRequest_DNSProvider) String() string
func (CertificatesServiceIssueRequest_DNSProvider) Type ¶
func (CertificatesServiceIssueRequest_DNSProvider) Type() protoreflect.EnumType
type CertificatesServiceIssueResponse ¶
type CertificatesServiceIssueResponse struct { PrivateKeyVaultVersionResource string `` /* 157-byte string literal not displayed */ CertificateVaultVersionResource string `` /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CertificatesServiceIssueResponse) Descriptor
deprecated
func (*CertificatesServiceIssueResponse) Descriptor() ([]byte, []int)
Deprecated: Use CertificatesServiceIssueResponse.ProtoReflect.Descriptor instead.
func (*CertificatesServiceIssueResponse) GetCertificateVaultVersionResource ¶
func (x *CertificatesServiceIssueResponse) GetCertificateVaultVersionResource() string
func (*CertificatesServiceIssueResponse) GetPrivateKeyVaultVersionResource ¶
func (x *CertificatesServiceIssueResponse) GetPrivateKeyVaultVersionResource() string
func (*CertificatesServiceIssueResponse) ProtoMessage ¶
func (*CertificatesServiceIssueResponse) ProtoMessage()
func (*CertificatesServiceIssueResponse) ProtoReflect ¶
func (x *CertificatesServiceIssueResponse) ProtoReflect() protoreflect.Message
func (*CertificatesServiceIssueResponse) Reset ¶
func (x *CertificatesServiceIssueResponse) Reset()
func (*CertificatesServiceIssueResponse) String ¶
func (x *CertificatesServiceIssueResponse) String() string
func (*CertificatesServiceIssueResponse) Validate ¶
func (m *CertificatesServiceIssueResponse) Validate() error
Validate checks the field values on CertificatesServiceIssueResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CertificatesServiceIssueResponse) ValidateAll ¶
func (m *CertificatesServiceIssueResponse) ValidateAll() error
ValidateAll checks the field values on CertificatesServiceIssueResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CertificatesServiceIssueResponseMultiError, or nil if none found.
type CertificatesServiceIssueResponseMultiError ¶
type CertificatesServiceIssueResponseMultiError []error
CertificatesServiceIssueResponseMultiError is an error wrapping multiple validation errors returned by CertificatesServiceIssueResponse.ValidateAll() if the designated constraints aren't met.
func (CertificatesServiceIssueResponseMultiError) AllErrors ¶
func (m CertificatesServiceIssueResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CertificatesServiceIssueResponseMultiError) Error ¶
func (m CertificatesServiceIssueResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CertificatesServiceIssueResponseValidationError ¶
type CertificatesServiceIssueResponseValidationError struct {
// contains filtered or unexported fields
}
CertificatesServiceIssueResponseValidationError is the validation error returned by CertificatesServiceIssueResponse.Validate if the designated constraints aren't met.
func (CertificatesServiceIssueResponseValidationError) Cause ¶
func (e CertificatesServiceIssueResponseValidationError) Cause() error
Cause function returns cause value.
func (CertificatesServiceIssueResponseValidationError) Error ¶
func (e CertificatesServiceIssueResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CertificatesServiceIssueResponseValidationError) ErrorName ¶
func (e CertificatesServiceIssueResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CertificatesServiceIssueResponseValidationError) Field ¶
func (e CertificatesServiceIssueResponseValidationError) Field() string
Field function returns field value.
func (CertificatesServiceIssueResponseValidationError) Key ¶
func (e CertificatesServiceIssueResponseValidationError) Key() bool
Key function returns key value.
func (CertificatesServiceIssueResponseValidationError) Reason ¶
func (e CertificatesServiceIssueResponseValidationError) Reason() string
Reason function returns reason value.
type CertificatesServiceServer ¶
type CertificatesServiceServer interface { Issue(context.Context, *CertificatesServiceIssueRequest) (*CertificatesServiceIssueResponse, error) // contains filtered or unexported methods }
CertificatesServiceServer is the server API for CertificatesService service. All implementations must embed UnimplementedCertificatesServiceServer for forward compatibility
type DNSProvider ¶
type DNSProvider struct {
// contains filtered or unexported fields
}
func (*DNSProvider) Descriptor
deprecated
func (*DNSProvider) Descriptor() ([]byte, []int)
Deprecated: Use DNSProvider.ProtoReflect.Descriptor instead.
func (*DNSProvider) ProtoMessage ¶
func (*DNSProvider) ProtoMessage()
func (*DNSProvider) ProtoReflect ¶
func (x *DNSProvider) ProtoReflect() protoreflect.Message
func (*DNSProvider) Reset ¶
func (x *DNSProvider) Reset()
func (*DNSProvider) String ¶
func (x *DNSProvider) String() string
func (*DNSProvider) Validate ¶
func (m *DNSProvider) Validate() error
Validate checks the field values on DNSProvider with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DNSProvider) ValidateAll ¶
func (m *DNSProvider) ValidateAll() error
ValidateAll checks the field values on DNSProvider with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DNSProviderMultiError, or nil if none found.
type DNSProviderMultiError ¶
type DNSProviderMultiError []error
DNSProviderMultiError is an error wrapping multiple validation errors returned by DNSProvider.ValidateAll() if the designated constraints aren't met.
func (DNSProviderMultiError) AllErrors ¶
func (m DNSProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DNSProviderMultiError) Error ¶
func (m DNSProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DNSProviderValidationError ¶
type DNSProviderValidationError struct {
// contains filtered or unexported fields
}
DNSProviderValidationError is the validation error returned by DNSProvider.Validate if the designated constraints aren't met.
func (DNSProviderValidationError) Cause ¶
func (e DNSProviderValidationError) Cause() error
Cause function returns cause value.
func (DNSProviderValidationError) Error ¶
func (e DNSProviderValidationError) Error() string
Error satisfies the builtin error interface
func (DNSProviderValidationError) ErrorName ¶
func (e DNSProviderValidationError) ErrorName() string
ErrorName returns error name.
func (DNSProviderValidationError) Field ¶
func (e DNSProviderValidationError) Field() string
Field function returns field value.
func (DNSProviderValidationError) Key ¶
func (e DNSProviderValidationError) Key() bool
Key function returns key value.
func (DNSProviderValidationError) Reason ¶
func (e DNSProviderValidationError) Reason() string
Reason function returns reason value.
type DNSProvider_DNSProvider ¶
type DNSProvider_DNSProvider int32
buf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE buf:lint:ignore ENUM_VALUE_PREFIX
const ( DNSProvider_DNS_PROVIDER_UNSPECIFIED DNSProvider_DNSProvider = 0 DNSProvider_gcloud DNSProvider_DNSProvider = 1 )
func (DNSProvider_DNSProvider) Descriptor ¶
func (DNSProvider_DNSProvider) Descriptor() protoreflect.EnumDescriptor
func (DNSProvider_DNSProvider) Enum ¶
func (x DNSProvider_DNSProvider) Enum() *DNSProvider_DNSProvider
func (DNSProvider_DNSProvider) EnumDescriptor
deprecated
func (DNSProvider_DNSProvider) EnumDescriptor() ([]byte, []int)
Deprecated: Use DNSProvider_DNSProvider.Descriptor instead.
func (DNSProvider_DNSProvider) Number ¶
func (x DNSProvider_DNSProvider) Number() protoreflect.EnumNumber
func (DNSProvider_DNSProvider) String ¶
func (x DNSProvider_DNSProvider) String() string
func (DNSProvider_DNSProvider) Type ¶
func (DNSProvider_DNSProvider) Type() protoreflect.EnumType
type SpanExporter ¶
type SpanExporter struct {
// contains filtered or unexported fields
}
func (*SpanExporter) Descriptor
deprecated
func (*SpanExporter) Descriptor() ([]byte, []int)
Deprecated: Use SpanExporter.ProtoReflect.Descriptor instead.
func (*SpanExporter) ProtoMessage ¶
func (*SpanExporter) ProtoMessage()
func (*SpanExporter) ProtoReflect ¶
func (x *SpanExporter) ProtoReflect() protoreflect.Message
func (*SpanExporter) Reset ¶
func (x *SpanExporter) Reset()
func (*SpanExporter) String ¶
func (x *SpanExporter) String() string
func (*SpanExporter) Validate ¶
func (m *SpanExporter) Validate() error
Validate checks the field values on SpanExporter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SpanExporter) ValidateAll ¶
func (m *SpanExporter) ValidateAll() error
ValidateAll checks the field values on SpanExporter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SpanExporterMultiError, or nil if none found.
type SpanExporterMultiError ¶
type SpanExporterMultiError []error
SpanExporterMultiError is an error wrapping multiple validation errors returned by SpanExporter.ValidateAll() if the designated constraints aren't met.
func (SpanExporterMultiError) AllErrors ¶
func (m SpanExporterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SpanExporterMultiError) Error ¶
func (m SpanExporterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SpanExporterValidationError ¶
type SpanExporterValidationError struct {
// contains filtered or unexported fields
}
SpanExporterValidationError is the validation error returned by SpanExporter.Validate if the designated constraints aren't met.
func (SpanExporterValidationError) Cause ¶
func (e SpanExporterValidationError) Cause() error
Cause function returns cause value.
func (SpanExporterValidationError) Error ¶
func (e SpanExporterValidationError) Error() string
Error satisfies the builtin error interface
func (SpanExporterValidationError) ErrorName ¶
func (e SpanExporterValidationError) ErrorName() string
ErrorName returns error name.
func (SpanExporterValidationError) Field ¶
func (e SpanExporterValidationError) Field() string
Field function returns field value.
func (SpanExporterValidationError) Key ¶
func (e SpanExporterValidationError) Key() bool
Key function returns key value.
func (SpanExporterValidationError) Reason ¶
func (e SpanExporterValidationError) Reason() string
Reason function returns reason value.
type SpanExporter_SpanExporter ¶
type SpanExporter_SpanExporter int32
buf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE buf:lint:ignore ENUM_VALUE_PREFIX buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
const ( SpanExporter_noop SpanExporter_SpanExporter = 0 SpanExporter_stdout SpanExporter_SpanExporter = 1 SpanExporter_gcloud SpanExporter_SpanExporter = 2 )
func (SpanExporter_SpanExporter) Descriptor ¶
func (SpanExporter_SpanExporter) Descriptor() protoreflect.EnumDescriptor
func (SpanExporter_SpanExporter) Enum ¶
func (x SpanExporter_SpanExporter) Enum() *SpanExporter_SpanExporter
func (SpanExporter_SpanExporter) EnumDescriptor
deprecated
func (SpanExporter_SpanExporter) EnumDescriptor() ([]byte, []int)
Deprecated: Use SpanExporter_SpanExporter.Descriptor instead.
func (SpanExporter_SpanExporter) Number ¶
func (x SpanExporter_SpanExporter) Number() protoreflect.EnumNumber
func (SpanExporter_SpanExporter) String ¶
func (x SpanExporter_SpanExporter) String() string
func (SpanExporter_SpanExporter) Type ¶
func (SpanExporter_SpanExporter) Type() protoreflect.EnumType
type TestAPIServiceClient ¶
type TestAPIServiceClient interface { // Echo は受け取った message を返却します // // buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE // buf:lint:ignore RPC_REQUEST_STANDARD_NAME // buf:lint:ignore RPC_RESPONSE_STANDARD_NAME Echo(ctx context.Context, in *TestAPIServiceEchoRequestResponse, opts ...grpc.CallOption) (*TestAPIServiceEchoRequestResponse, error) // EchoError は意図的にエラーを発生させます EchoError(ctx context.Context, in *TestAPIServiceEchoErrorRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
TestAPIServiceClient is the client API for TestAPIService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTestAPIServiceClient ¶
func NewTestAPIServiceClient(cc grpc.ClientConnInterface) TestAPIServiceClient
type TestAPIServiceEchoErrorRequest ¶
type TestAPIServiceEchoErrorRequest struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*TestAPIServiceEchoErrorRequest) Descriptor
deprecated
func (*TestAPIServiceEchoErrorRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestAPIServiceEchoErrorRequest.ProtoReflect.Descriptor instead.
func (*TestAPIServiceEchoErrorRequest) GetCode ¶
func (x *TestAPIServiceEchoErrorRequest) GetCode() uint32
func (*TestAPIServiceEchoErrorRequest) GetMessage ¶
func (x *TestAPIServiceEchoErrorRequest) GetMessage() string
func (*TestAPIServiceEchoErrorRequest) ProtoMessage ¶
func (*TestAPIServiceEchoErrorRequest) ProtoMessage()
func (*TestAPIServiceEchoErrorRequest) ProtoReflect ¶
func (x *TestAPIServiceEchoErrorRequest) ProtoReflect() protoreflect.Message
func (*TestAPIServiceEchoErrorRequest) Reset ¶
func (x *TestAPIServiceEchoErrorRequest) Reset()
func (*TestAPIServiceEchoErrorRequest) String ¶
func (x *TestAPIServiceEchoErrorRequest) String() string
func (*TestAPIServiceEchoErrorRequest) Validate ¶
func (m *TestAPIServiceEchoErrorRequest) Validate() error
Validate checks the field values on TestAPIServiceEchoErrorRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TestAPIServiceEchoErrorRequest) ValidateAll ¶
func (m *TestAPIServiceEchoErrorRequest) ValidateAll() error
ValidateAll checks the field values on TestAPIServiceEchoErrorRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TestAPIServiceEchoErrorRequestMultiError, or nil if none found.
type TestAPIServiceEchoErrorRequestMultiError ¶
type TestAPIServiceEchoErrorRequestMultiError []error
TestAPIServiceEchoErrorRequestMultiError is an error wrapping multiple validation errors returned by TestAPIServiceEchoErrorRequest.ValidateAll() if the designated constraints aren't met.
func (TestAPIServiceEchoErrorRequestMultiError) AllErrors ¶
func (m TestAPIServiceEchoErrorRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TestAPIServiceEchoErrorRequestMultiError) Error ¶
func (m TestAPIServiceEchoErrorRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TestAPIServiceEchoErrorRequestValidationError ¶
type TestAPIServiceEchoErrorRequestValidationError struct {
// contains filtered or unexported fields
}
TestAPIServiceEchoErrorRequestValidationError is the validation error returned by TestAPIServiceEchoErrorRequest.Validate if the designated constraints aren't met.
func (TestAPIServiceEchoErrorRequestValidationError) Cause ¶
func (e TestAPIServiceEchoErrorRequestValidationError) Cause() error
Cause function returns cause value.
func (TestAPIServiceEchoErrorRequestValidationError) Error ¶
func (e TestAPIServiceEchoErrorRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TestAPIServiceEchoErrorRequestValidationError) ErrorName ¶
func (e TestAPIServiceEchoErrorRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TestAPIServiceEchoErrorRequestValidationError) Field ¶
func (e TestAPIServiceEchoErrorRequestValidationError) Field() string
Field function returns field value.
func (TestAPIServiceEchoErrorRequestValidationError) Key ¶
func (e TestAPIServiceEchoErrorRequestValidationError) Key() bool
Key function returns key value.
func (TestAPIServiceEchoErrorRequestValidationError) Reason ¶
func (e TestAPIServiceEchoErrorRequestValidationError) Reason() string
Reason function returns reason value.
type TestAPIServiceEchoRequestResponse ¶
type TestAPIServiceEchoRequestResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*TestAPIServiceEchoRequestResponse) Descriptor
deprecated
func (*TestAPIServiceEchoRequestResponse) Descriptor() ([]byte, []int)
Deprecated: Use TestAPIServiceEchoRequestResponse.ProtoReflect.Descriptor instead.
func (*TestAPIServiceEchoRequestResponse) GetMessage ¶
func (x *TestAPIServiceEchoRequestResponse) GetMessage() string
func (*TestAPIServiceEchoRequestResponse) ProtoMessage ¶
func (*TestAPIServiceEchoRequestResponse) ProtoMessage()
func (*TestAPIServiceEchoRequestResponse) ProtoReflect ¶
func (x *TestAPIServiceEchoRequestResponse) ProtoReflect() protoreflect.Message
func (*TestAPIServiceEchoRequestResponse) Reset ¶
func (x *TestAPIServiceEchoRequestResponse) Reset()
func (*TestAPIServiceEchoRequestResponse) String ¶
func (x *TestAPIServiceEchoRequestResponse) String() string
func (*TestAPIServiceEchoRequestResponse) Validate ¶
func (m *TestAPIServiceEchoRequestResponse) Validate() error
Validate checks the field values on TestAPIServiceEchoRequestResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TestAPIServiceEchoRequestResponse) ValidateAll ¶
func (m *TestAPIServiceEchoRequestResponse) ValidateAll() error
ValidateAll checks the field values on TestAPIServiceEchoRequestResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TestAPIServiceEchoRequestResponseMultiError, or nil if none found.
type TestAPIServiceEchoRequestResponseMultiError ¶
type TestAPIServiceEchoRequestResponseMultiError []error
TestAPIServiceEchoRequestResponseMultiError is an error wrapping multiple validation errors returned by TestAPIServiceEchoRequestResponse.ValidateAll() if the designated constraints aren't met.
func (TestAPIServiceEchoRequestResponseMultiError) AllErrors ¶
func (m TestAPIServiceEchoRequestResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TestAPIServiceEchoRequestResponseMultiError) Error ¶
func (m TestAPIServiceEchoRequestResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TestAPIServiceEchoRequestResponseValidationError ¶
type TestAPIServiceEchoRequestResponseValidationError struct {
// contains filtered or unexported fields
}
TestAPIServiceEchoRequestResponseValidationError is the validation error returned by TestAPIServiceEchoRequestResponse.Validate if the designated constraints aren't met.
func (TestAPIServiceEchoRequestResponseValidationError) Cause ¶
func (e TestAPIServiceEchoRequestResponseValidationError) Cause() error
Cause function returns cause value.
func (TestAPIServiceEchoRequestResponseValidationError) Error ¶
func (e TestAPIServiceEchoRequestResponseValidationError) Error() string
Error satisfies the builtin error interface
func (TestAPIServiceEchoRequestResponseValidationError) ErrorName ¶
func (e TestAPIServiceEchoRequestResponseValidationError) ErrorName() string
ErrorName returns error name.
func (TestAPIServiceEchoRequestResponseValidationError) Field ¶
func (e TestAPIServiceEchoRequestResponseValidationError) Field() string
Field function returns field value.
func (TestAPIServiceEchoRequestResponseValidationError) Key ¶
func (e TestAPIServiceEchoRequestResponseValidationError) Key() bool
Key function returns key value.
func (TestAPIServiceEchoRequestResponseValidationError) Reason ¶
func (e TestAPIServiceEchoRequestResponseValidationError) Reason() string
Reason function returns reason value.
type TestAPIServiceServer ¶
type TestAPIServiceServer interface { // Echo は受け取った message を返却します // // buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE // buf:lint:ignore RPC_REQUEST_STANDARD_NAME // buf:lint:ignore RPC_RESPONSE_STANDARD_NAME Echo(context.Context, *TestAPIServiceEchoRequestResponse) (*TestAPIServiceEchoRequestResponse, error) // EchoError は意図的にエラーを発生させます EchoError(context.Context, *TestAPIServiceEchoErrorRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
TestAPIServiceServer is the server API for TestAPIService service. All implementations must embed UnimplementedTestAPIServiceServer for forward compatibility
type UnimplementedCertificatesServiceServer ¶
type UnimplementedCertificatesServiceServer struct { }
UnimplementedCertificatesServiceServer must be embedded to have forward compatible implementations.
type UnimplementedTestAPIServiceServer ¶
type UnimplementedTestAPIServiceServer struct { }
UnimplementedTestAPIServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTestAPIServiceServer) EchoError ¶
func (UnimplementedTestAPIServiceServer) EchoError(context.Context, *TestAPIServiceEchoErrorRequest) (*emptypb.Empty, error)
type UnsafeCertificatesServiceServer ¶
type UnsafeCertificatesServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCertificatesServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CertificatesServiceServer will result in compilation errors.
type UnsafeTestAPIServiceServer ¶
type UnsafeTestAPIServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTestAPIServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TestAPIServiceServer will result in compilation errors.