aadhaarscrapper

package
v0.0.0-...-d2a45df Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2022 License: MIT Imports: 29 Imported by: 0

Documentation

Overview

Package aadhaarscrapper is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	HealthCheckResponse_ServingStatus_name = map[int32]string{
		0: "UNKNOWN",
		1: "SERVING",
		2: "NOT_SERVING",
	}
	HealthCheckResponse_ServingStatus_value = map[string]int32{
		"UNKNOWN":     0,
		"SERVING":     1,
		"NOT_SERVING": 2,
	}
)

Enum value maps for HealthCheckResponse_ServingStatus.

View Source
var AadhaarService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "aadhaarscrapperv1.AadhaarService",
	HandlerType: (*AadhaarServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetCaptcha",
			Handler:    _AadhaarService_GetCaptcha_Handler,
		},
		{
			MethodName: "VerifyCaptcha",
			Handler:    _AadhaarService_VerifyCaptcha_Handler,
		},
		{
			MethodName: "VerifyOtpAndGetAadhaar",
			Handler:    _AadhaarService_VerifyOtpAndGetAadhaar_Handler,
		},
		{
			MethodName: "VerifyAadhaarNumber",
			Handler:    _AadhaarService_VerifyAadhaarNumber_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "aadhaar_service.proto",
}

AadhaarService_ServiceDesc is the grpc.ServiceDesc for AadhaarService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_aadhaar_service_proto protoreflect.FileDescriptor

Functions

func RegisterAadhaarServiceHandler

func RegisterAadhaarServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterAadhaarServiceHandler registers the http handlers for service AadhaarService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterAadhaarServiceHandlerClient

func RegisterAadhaarServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AadhaarServiceClient) error

RegisterAadhaarServiceHandlerClient registers the http handlers for service AadhaarService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AadhaarServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AadhaarServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AadhaarServiceClient" to call the correct interceptors.

func RegisterAadhaarServiceHandlerFromEndpoint

func RegisterAadhaarServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterAadhaarServiceHandlerFromEndpoint is same as RegisterAadhaarServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterAadhaarServiceHandlerServer

func RegisterAadhaarServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AadhaarServiceServer) error

RegisterAadhaarServiceHandlerServer registers the http handlers for service AadhaarService to "mux". UnaryRPC :call AadhaarServiceServer 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 RegisterAadhaarServiceHandlerFromEndpoint instead.

func RegisterAadhaarServiceServer

func RegisterAadhaarServiceServer(s grpc.ServiceRegistrar, srv AadhaarServiceServer)

Types

type AadhaarDetails

type AadhaarDetails struct {
	Poi   *AadhaarDetails_Poi `protobuf:"bytes,1,opt,name=poi,proto3" json:"poi,omitempty"`
	Poa   *AadhaarDetails_Poa `protobuf:"bytes,2,opt,name=poa,proto3" json:"poa,omitempty"`
	Photo string              `protobuf:"bytes,3,opt,name=photo,proto3" json:"photo,omitempty"`
	// contains filtered or unexported fields
}

func (*AadhaarDetails) Descriptor deprecated

func (*AadhaarDetails) Descriptor() ([]byte, []int)

Deprecated: Use AadhaarDetails.ProtoReflect.Descriptor instead.

func (*AadhaarDetails) GetPhoto

func (x *AadhaarDetails) GetPhoto() string

func (*AadhaarDetails) GetPoa

func (x *AadhaarDetails) GetPoa() *AadhaarDetails_Poa

func (*AadhaarDetails) GetPoi

func (x *AadhaarDetails) GetPoi() *AadhaarDetails_Poi

func (*AadhaarDetails) ProtoMessage

func (*AadhaarDetails) ProtoMessage()

func (*AadhaarDetails) ProtoReflect

func (x *AadhaarDetails) ProtoReflect() protoreflect.Message

func (*AadhaarDetails) Reset

func (x *AadhaarDetails) Reset()

func (*AadhaarDetails) String

func (x *AadhaarDetails) String() string

func (*AadhaarDetails) Validate

func (m *AadhaarDetails) Validate() error

Validate checks the field values on AadhaarDetails with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AadhaarDetailsValidationError

type AadhaarDetailsValidationError struct {
	// contains filtered or unexported fields
}

AadhaarDetailsValidationError is the validation error returned by AadhaarDetails.Validate if the designated constraints aren't met.

func (AadhaarDetailsValidationError) Cause

Cause function returns cause value.

func (AadhaarDetailsValidationError) Error

Error satisfies the builtin error interface

func (AadhaarDetailsValidationError) ErrorName

func (e AadhaarDetailsValidationError) ErrorName() string

ErrorName returns error name.

func (AadhaarDetailsValidationError) Field

Field function returns field value.

func (AadhaarDetailsValidationError) Key

Key function returns key value.

func (AadhaarDetailsValidationError) Reason

Reason function returns reason value.

type AadhaarDetails_Poa

type AadhaarDetails_Poa struct {
	Careof     string `protobuf:"bytes,1,opt,name=careof,proto3" json:"careof,omitempty"`
	Country    string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"`
	Dist       string `protobuf:"bytes,3,opt,name=dist,proto3" json:"dist,omitempty"`
	House      string `protobuf:"bytes,4,opt,name=house,proto3" json:"house,omitempty"`
	Landmark   string `protobuf:"bytes,5,opt,name=landmark,proto3" json:"landmark,omitempty"`
	Locality   string `protobuf:"bytes,6,opt,name=locality,proto3" json:"locality,omitempty"`
	Pincode    string `protobuf:"bytes,7,opt,name=pincode,proto3" json:"pincode,omitempty"`
	Postoffice string `protobuf:"bytes,8,opt,name=postoffice,proto3" json:"postoffice,omitempty"`
	State      string `protobuf:"bytes,9,opt,name=state,proto3" json:"state,omitempty"`
	Street     string `protobuf:"bytes,10,opt,name=street,proto3" json:"street,omitempty"`
	Subdist    string `protobuf:"bytes,11,opt,name=subdist,proto3" json:"subdist,omitempty"`
	Vtc        string `protobuf:"bytes,12,opt,name=vtc,proto3" json:"vtc,omitempty"`
	// contains filtered or unexported fields
}

func (*AadhaarDetails_Poa) Descriptor deprecated

func (*AadhaarDetails_Poa) Descriptor() ([]byte, []int)

Deprecated: Use AadhaarDetails_Poa.ProtoReflect.Descriptor instead.

func (*AadhaarDetails_Poa) GetCareof

func (x *AadhaarDetails_Poa) GetCareof() string

func (*AadhaarDetails_Poa) GetCountry

func (x *AadhaarDetails_Poa) GetCountry() string

func (*AadhaarDetails_Poa) GetDist

func (x *AadhaarDetails_Poa) GetDist() string

func (*AadhaarDetails_Poa) GetHouse

func (x *AadhaarDetails_Poa) GetHouse() string

func (*AadhaarDetails_Poa) GetLandmark

func (x *AadhaarDetails_Poa) GetLandmark() string

func (*AadhaarDetails_Poa) GetLocality

func (x *AadhaarDetails_Poa) GetLocality() string

func (*AadhaarDetails_Poa) GetPincode

func (x *AadhaarDetails_Poa) GetPincode() string

func (*AadhaarDetails_Poa) GetPostoffice

func (x *AadhaarDetails_Poa) GetPostoffice() string

func (*AadhaarDetails_Poa) GetState

func (x *AadhaarDetails_Poa) GetState() string

func (*AadhaarDetails_Poa) GetStreet

func (x *AadhaarDetails_Poa) GetStreet() string

func (*AadhaarDetails_Poa) GetSubdist

func (x *AadhaarDetails_Poa) GetSubdist() string

func (*AadhaarDetails_Poa) GetVtc

func (x *AadhaarDetails_Poa) GetVtc() string

func (*AadhaarDetails_Poa) ProtoMessage

func (*AadhaarDetails_Poa) ProtoMessage()

func (*AadhaarDetails_Poa) ProtoReflect

func (x *AadhaarDetails_Poa) ProtoReflect() protoreflect.Message

func (*AadhaarDetails_Poa) Reset

func (x *AadhaarDetails_Poa) Reset()

func (*AadhaarDetails_Poa) String

func (x *AadhaarDetails_Poa) String() string

func (*AadhaarDetails_Poa) Validate

func (m *AadhaarDetails_Poa) Validate() error

Validate checks the field values on AadhaarDetails_Poa with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AadhaarDetails_PoaValidationError

type AadhaarDetails_PoaValidationError struct {
	// contains filtered or unexported fields
}

AadhaarDetails_PoaValidationError is the validation error returned by AadhaarDetails_Poa.Validate if the designated constraints aren't met.

func (AadhaarDetails_PoaValidationError) Cause

Cause function returns cause value.

func (AadhaarDetails_PoaValidationError) Error

Error satisfies the builtin error interface

func (AadhaarDetails_PoaValidationError) ErrorName

ErrorName returns error name.

func (AadhaarDetails_PoaValidationError) Field

Field function returns field value.

func (AadhaarDetails_PoaValidationError) Key

Key function returns key value.

func (AadhaarDetails_PoaValidationError) Reason

Reason function returns reason value.

type AadhaarDetails_Poi

type AadhaarDetails_Poi struct {
	Dob        string `protobuf:"bytes,1,opt,name=dob,proto3" json:"dob,omitempty"`
	EmailHash  string `protobuf:"bytes,2,opt,name=email_hash,json=emailHash,proto3" json:"email_hash,omitempty"`
	Gender     string `protobuf:"bytes,3,opt,name=gender,proto3" json:"gender,omitempty"`
	MobileHash string `protobuf:"bytes,4,opt,name=mobile_hash,json=mobileHash,proto3" json:"mobile_hash,omitempty"`
	Name       string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*AadhaarDetails_Poi) Descriptor deprecated

func (*AadhaarDetails_Poi) Descriptor() ([]byte, []int)

Deprecated: Use AadhaarDetails_Poi.ProtoReflect.Descriptor instead.

func (*AadhaarDetails_Poi) GetDob

func (x *AadhaarDetails_Poi) GetDob() string

func (*AadhaarDetails_Poi) GetEmailHash

func (x *AadhaarDetails_Poi) GetEmailHash() string

func (*AadhaarDetails_Poi) GetGender

func (x *AadhaarDetails_Poi) GetGender() string

func (*AadhaarDetails_Poi) GetMobileHash

func (x *AadhaarDetails_Poi) GetMobileHash() string

func (*AadhaarDetails_Poi) GetName

func (x *AadhaarDetails_Poi) GetName() string

func (*AadhaarDetails_Poi) ProtoMessage

func (*AadhaarDetails_Poi) ProtoMessage()

func (*AadhaarDetails_Poi) ProtoReflect

func (x *AadhaarDetails_Poi) ProtoReflect() protoreflect.Message

func (*AadhaarDetails_Poi) Reset

func (x *AadhaarDetails_Poi) Reset()

func (*AadhaarDetails_Poi) String

func (x *AadhaarDetails_Poi) String() string

func (*AadhaarDetails_Poi) Validate

func (m *AadhaarDetails_Poi) Validate() error

Validate checks the field values on AadhaarDetails_Poi with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AadhaarDetails_PoiValidationError

type AadhaarDetails_PoiValidationError struct {
	// contains filtered or unexported fields
}

AadhaarDetails_PoiValidationError is the validation error returned by AadhaarDetails_Poi.Validate if the designated constraints aren't met.

func (AadhaarDetails_PoiValidationError) Cause

Cause function returns cause value.

func (AadhaarDetails_PoiValidationError) Error

Error satisfies the builtin error interface

func (AadhaarDetails_PoiValidationError) ErrorName

ErrorName returns error name.

func (AadhaarDetails_PoiValidationError) Field

Field function returns field value.

func (AadhaarDetails_PoiValidationError) Key

Key function returns key value.

func (AadhaarDetails_PoiValidationError) Reason

Reason function returns reason value.

type AadhaarServiceClient

type AadhaarServiceClient interface {
	// To fetch captcha and session id from UIDAI.
	GetCaptcha(ctx context.Context, in *GetCaptchaRequest, opts ...grpc.CallOption) (*GetCaptchaResponse, error)
	// Once captcha fetched, need to call this API with aadhaar number(uid_no) and
	// captcha(security_code).
	// On success user will receive an OTP on phone number associated with
	// aadhaar.
	VerifyCaptcha(ctx context.Context, in *VerifyCaptchaRequest, opts ...grpc.CallOption) (*VerifyCaptchaResponse, error)
	// download zip file from UIDAI and fetch details.
	VerifyOtpAndGetAadhaar(ctx context.Context, in *VerifyOtpAndGetAadhaarRequest, opts ...grpc.CallOption) (*VerifyOtpAndGetAadhaarResponse, error)
	VerifyAadhaarNumber(ctx context.Context, in *VerifyAadhaarNumberRequest, opts ...grpc.CallOption) (*VerifyAadhaarNumberResponse, error)
}

AadhaarServiceClient is the client API for AadhaarService 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.

type AadhaarServiceServer

type AadhaarServiceServer interface {
	// To fetch captcha and session id from UIDAI.
	GetCaptcha(context.Context, *GetCaptchaRequest) (*GetCaptchaResponse, error)
	// Once captcha fetched, need to call this API with aadhaar number(uid_no) and
	// captcha(security_code).
	// On success user will receive an OTP on phone number associated with
	// aadhaar.
	VerifyCaptcha(context.Context, *VerifyCaptchaRequest) (*VerifyCaptchaResponse, error)
	// download zip file from UIDAI and fetch details.
	VerifyOtpAndGetAadhaar(context.Context, *VerifyOtpAndGetAadhaarRequest) (*VerifyOtpAndGetAadhaarResponse, error)
	VerifyAadhaarNumber(context.Context, *VerifyAadhaarNumberRequest) (*VerifyAadhaarNumberResponse, error)
	// contains filtered or unexported methods
}

AadhaarServiceServer is the server API for AadhaarService service. All implementations must embed UnimplementedAadhaarServiceServer for forward compatibility

type DefaultSuccessResponse

type DefaultSuccessResponse struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*DefaultSuccessResponse) Descriptor deprecated

func (*DefaultSuccessResponse) Descriptor() ([]byte, []int)

Deprecated: Use DefaultSuccessResponse.ProtoReflect.Descriptor instead.

func (*DefaultSuccessResponse) GetMsg

func (x *DefaultSuccessResponse) GetMsg() string

func (*DefaultSuccessResponse) ProtoMessage

func (*DefaultSuccessResponse) ProtoMessage()

func (*DefaultSuccessResponse) ProtoReflect

func (x *DefaultSuccessResponse) ProtoReflect() protoreflect.Message

func (*DefaultSuccessResponse) Reset

func (x *DefaultSuccessResponse) Reset()

func (*DefaultSuccessResponse) String

func (x *DefaultSuccessResponse) String() string

func (*DefaultSuccessResponse) Validate

func (m *DefaultSuccessResponse) Validate() error

Validate checks the field values on DefaultSuccessResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DefaultSuccessResponseValidationError

type DefaultSuccessResponseValidationError struct {
	// contains filtered or unexported fields
}

DefaultSuccessResponseValidationError is the validation error returned by DefaultSuccessResponse.Validate if the designated constraints aren't met.

func (DefaultSuccessResponseValidationError) Cause

Cause function returns cause value.

func (DefaultSuccessResponseValidationError) Error

Error satisfies the builtin error interface

func (DefaultSuccessResponseValidationError) ErrorName

ErrorName returns error name.

func (DefaultSuccessResponseValidationError) Field

Field function returns field value.

func (DefaultSuccessResponseValidationError) Key

Key function returns key value.

func (DefaultSuccessResponseValidationError) Reason

Reason function returns reason value.

type GetCaptchaRequest

type GetCaptchaRequest struct {
	// contains filtered or unexported fields
}

func (*GetCaptchaRequest) Descriptor deprecated

func (*GetCaptchaRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCaptchaRequest.ProtoReflect.Descriptor instead.

func (*GetCaptchaRequest) ProtoMessage

func (*GetCaptchaRequest) ProtoMessage()

func (*GetCaptchaRequest) ProtoReflect

func (x *GetCaptchaRequest) ProtoReflect() protoreflect.Message

func (*GetCaptchaRequest) Reset

func (x *GetCaptchaRequest) Reset()

func (*GetCaptchaRequest) String

func (x *GetCaptchaRequest) String() string

func (*GetCaptchaRequest) Validate

func (m *GetCaptchaRequest) Validate() error

Validate checks the field values on GetCaptchaRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetCaptchaRequestValidationError

type GetCaptchaRequestValidationError struct {
	// contains filtered or unexported fields
}

GetCaptchaRequestValidationError is the validation error returned by GetCaptchaRequest.Validate if the designated constraints aren't met.

func (GetCaptchaRequestValidationError) Cause

Cause function returns cause value.

func (GetCaptchaRequestValidationError) Error

Error satisfies the builtin error interface

func (GetCaptchaRequestValidationError) ErrorName

ErrorName returns error name.

func (GetCaptchaRequestValidationError) Field

Field function returns field value.

func (GetCaptchaRequestValidationError) Key

Key function returns key value.

func (GetCaptchaRequestValidationError) Reason

Reason function returns reason value.

type GetCaptchaResponse

type GetCaptchaResponse struct {
	Status *ResponseStatus          `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Data   *GetCaptchaResponse_Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCaptchaResponse) Descriptor deprecated

func (*GetCaptchaResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetCaptchaResponse.ProtoReflect.Descriptor instead.

func (*GetCaptchaResponse) GetData

func (*GetCaptchaResponse) GetStatus

func (x *GetCaptchaResponse) GetStatus() *ResponseStatus

func (*GetCaptchaResponse) ProtoMessage

func (*GetCaptchaResponse) ProtoMessage()

func (*GetCaptchaResponse) ProtoReflect

func (x *GetCaptchaResponse) ProtoReflect() protoreflect.Message

func (*GetCaptchaResponse) Reset

func (x *GetCaptchaResponse) Reset()

func (*GetCaptchaResponse) String

func (x *GetCaptchaResponse) String() string

func (*GetCaptchaResponse) Validate

func (m *GetCaptchaResponse) Validate() error

Validate checks the field values on GetCaptchaResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetCaptchaResponseValidationError

type GetCaptchaResponseValidationError struct {
	// contains filtered or unexported fields
}

GetCaptchaResponseValidationError is the validation error returned by GetCaptchaResponse.Validate if the designated constraints aren't met.

func (GetCaptchaResponseValidationError) Cause

Cause function returns cause value.

func (GetCaptchaResponseValidationError) Error

Error satisfies the builtin error interface

func (GetCaptchaResponseValidationError) ErrorName

ErrorName returns error name.

func (GetCaptchaResponseValidationError) Field

Field function returns field value.

func (GetCaptchaResponseValidationError) Key

Key function returns key value.

func (GetCaptchaResponseValidationError) Reason

Reason function returns reason value.

type GetCaptchaResponse_Data

type GetCaptchaResponse_Data struct {
	SessionId    string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	CaptchaImage string `protobuf:"bytes,2,opt,name=captcha_image,json=captchaImage,proto3" json:"captcha_image,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCaptchaResponse_Data) Descriptor deprecated

func (*GetCaptchaResponse_Data) Descriptor() ([]byte, []int)

Deprecated: Use GetCaptchaResponse_Data.ProtoReflect.Descriptor instead.

func (*GetCaptchaResponse_Data) GetCaptchaImage

func (x *GetCaptchaResponse_Data) GetCaptchaImage() string

func (*GetCaptchaResponse_Data) GetSessionId

func (x *GetCaptchaResponse_Data) GetSessionId() string

func (*GetCaptchaResponse_Data) ProtoMessage

func (*GetCaptchaResponse_Data) ProtoMessage()

func (*GetCaptchaResponse_Data) ProtoReflect

func (x *GetCaptchaResponse_Data) ProtoReflect() protoreflect.Message

func (*GetCaptchaResponse_Data) Reset

func (x *GetCaptchaResponse_Data) Reset()

func (*GetCaptchaResponse_Data) String

func (x *GetCaptchaResponse_Data) String() string

func (*GetCaptchaResponse_Data) Validate

func (m *GetCaptchaResponse_Data) Validate() error

Validate checks the field values on GetCaptchaResponse_Data with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetCaptchaResponse_DataValidationError

type GetCaptchaResponse_DataValidationError struct {
	// contains filtered or unexported fields
}

GetCaptchaResponse_DataValidationError is the validation error returned by GetCaptchaResponse_Data.Validate if the designated constraints aren't met.

func (GetCaptchaResponse_DataValidationError) Cause

Cause function returns cause value.

func (GetCaptchaResponse_DataValidationError) Error

Error satisfies the builtin error interface

func (GetCaptchaResponse_DataValidationError) ErrorName

ErrorName returns error name.

func (GetCaptchaResponse_DataValidationError) Field

Field function returns field value.

func (GetCaptchaResponse_DataValidationError) Key

Key function returns key value.

func (GetCaptchaResponse_DataValidationError) Reason

Reason function returns reason value.

type HealthCheckRequest

type HealthCheckRequest struct {
	Service     string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	RestartCode string `protobuf:"bytes,2,opt,name=restart_code,json=restartCode,proto3" json:"restart_code,omitempty"`
	Command     string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthCheckRequest) Descriptor deprecated

func (*HealthCheckRequest) Descriptor() ([]byte, []int)

Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.

func (*HealthCheckRequest) GetCommand

func (x *HealthCheckRequest) GetCommand() string

func (*HealthCheckRequest) GetRestartCode

func (x *HealthCheckRequest) GetRestartCode() string

func (*HealthCheckRequest) GetService

func (x *HealthCheckRequest) GetService() string

func (*HealthCheckRequest) ProtoMessage

func (*HealthCheckRequest) ProtoMessage()

func (*HealthCheckRequest) ProtoReflect

func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message

func (*HealthCheckRequest) Reset

func (x *HealthCheckRequest) Reset()

func (*HealthCheckRequest) String

func (x *HealthCheckRequest) String() string

func (*HealthCheckRequest) Validate

func (m *HealthCheckRequest) Validate() error

Validate checks the field values on HealthCheckRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type HealthCheckRequestValidationError

type HealthCheckRequestValidationError struct {
	// contains filtered or unexported fields
}

HealthCheckRequestValidationError is the validation error returned by HealthCheckRequest.Validate if the designated constraints aren't met.

func (HealthCheckRequestValidationError) Cause

Cause function returns cause value.

func (HealthCheckRequestValidationError) Error

Error satisfies the builtin error interface

func (HealthCheckRequestValidationError) ErrorName

ErrorName returns error name.

func (HealthCheckRequestValidationError) Field

Field function returns field value.

func (HealthCheckRequestValidationError) Key

Key function returns key value.

func (HealthCheckRequestValidationError) Reason

Reason function returns reason value.

type HealthCheckResponse

type HealthCheckResponse struct {
	Status  HealthCheckResponse_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=aadhaarscrapperv1.HealthCheckResponse_ServingStatus" json:"status,omitempty"`
	MemStat map[string]string                 `` /* 170-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HealthCheckResponse) Descriptor deprecated

func (*HealthCheckResponse) Descriptor() ([]byte, []int)

Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.

func (*HealthCheckResponse) GetMemStat

func (x *HealthCheckResponse) GetMemStat() map[string]string

func (*HealthCheckResponse) GetStatus

func (*HealthCheckResponse) ProtoMessage

func (*HealthCheckResponse) ProtoMessage()

func (*HealthCheckResponse) ProtoReflect

func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message

func (*HealthCheckResponse) Reset

func (x *HealthCheckResponse) Reset()

func (*HealthCheckResponse) String

func (x *HealthCheckResponse) String() string

func (*HealthCheckResponse) Validate

func (m *HealthCheckResponse) Validate() error

Validate checks the field values on HealthCheckResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type HealthCheckResponseValidationError

type HealthCheckResponseValidationError struct {
	// contains filtered or unexported fields
}

HealthCheckResponseValidationError is the validation error returned by HealthCheckResponse.Validate if the designated constraints aren't met.

func (HealthCheckResponseValidationError) Cause

Cause function returns cause value.

func (HealthCheckResponseValidationError) Error

Error satisfies the builtin error interface

func (HealthCheckResponseValidationError) ErrorName

ErrorName returns error name.

func (HealthCheckResponseValidationError) Field

Field function returns field value.

func (HealthCheckResponseValidationError) Key

Key function returns key value.

func (HealthCheckResponseValidationError) Reason

Reason function returns reason value.

type HealthCheckResponse_ServingStatus

type HealthCheckResponse_ServingStatus int32
const (
	HealthCheckResponse_UNKNOWN     HealthCheckResponse_ServingStatus = 0
	HealthCheckResponse_SERVING     HealthCheckResponse_ServingStatus = 1
	HealthCheckResponse_NOT_SERVING HealthCheckResponse_ServingStatus = 2
)

func (HealthCheckResponse_ServingStatus) Descriptor

func (HealthCheckResponse_ServingStatus) Enum

func (HealthCheckResponse_ServingStatus) EnumDescriptor deprecated

func (HealthCheckResponse_ServingStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use HealthCheckResponse_ServingStatus.Descriptor instead.

func (HealthCheckResponse_ServingStatus) Number

func (HealthCheckResponse_ServingStatus) String

func (HealthCheckResponse_ServingStatus) Type

type ResponseStatus

type ResponseStatus struct {
	Code              string                                `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Message           string                                `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	ValidationDetails []*ResponseStatus_ValidationErrDetail `protobuf:"bytes,3,rep,name=validation_details,json=validationDetails,proto3" json:"validation_details,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseStatus) Descriptor deprecated

func (*ResponseStatus) Descriptor() ([]byte, []int)

Deprecated: Use ResponseStatus.ProtoReflect.Descriptor instead.

func (*ResponseStatus) GetCode

func (x *ResponseStatus) GetCode() string

func (*ResponseStatus) GetMessage

func (x *ResponseStatus) GetMessage() string

func (*ResponseStatus) GetValidationDetails

func (x *ResponseStatus) GetValidationDetails() []*ResponseStatus_ValidationErrDetail

func (*ResponseStatus) ProtoMessage

func (*ResponseStatus) ProtoMessage()

func (*ResponseStatus) ProtoReflect

func (x *ResponseStatus) ProtoReflect() protoreflect.Message

func (*ResponseStatus) Reset

func (x *ResponseStatus) Reset()

func (*ResponseStatus) String

func (x *ResponseStatus) String() string

func (*ResponseStatus) Validate

func (m *ResponseStatus) Validate() error

Validate checks the field values on ResponseStatus with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ResponseStatusValidationError

type ResponseStatusValidationError struct {
	// contains filtered or unexported fields
}

ResponseStatusValidationError is the validation error returned by ResponseStatus.Validate if the designated constraints aren't met.

func (ResponseStatusValidationError) Cause

Cause function returns cause value.

func (ResponseStatusValidationError) Error

Error satisfies the builtin error interface

func (ResponseStatusValidationError) ErrorName

func (e ResponseStatusValidationError) ErrorName() string

ErrorName returns error name.

func (ResponseStatusValidationError) Field

Field function returns field value.

func (ResponseStatusValidationError) Key

Key function returns key value.

func (ResponseStatusValidationError) Reason

Reason function returns reason value.

type ResponseStatus_ValidationErrDetail

type ResponseStatus_ValidationErrDetail struct {
	Field  string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseStatus_ValidationErrDetail) Descriptor deprecated

func (*ResponseStatus_ValidationErrDetail) Descriptor() ([]byte, []int)

Deprecated: Use ResponseStatus_ValidationErrDetail.ProtoReflect.Descriptor instead.

func (*ResponseStatus_ValidationErrDetail) GetField

func (*ResponseStatus_ValidationErrDetail) GetReason

func (*ResponseStatus_ValidationErrDetail) ProtoMessage

func (*ResponseStatus_ValidationErrDetail) ProtoMessage()

func (*ResponseStatus_ValidationErrDetail) ProtoReflect

func (*ResponseStatus_ValidationErrDetail) Reset

func (*ResponseStatus_ValidationErrDetail) String

func (*ResponseStatus_ValidationErrDetail) Validate

Validate checks the field values on ResponseStatus_ValidationErrDetail with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ResponseStatus_ValidationErrDetailValidationError

type ResponseStatus_ValidationErrDetailValidationError struct {
	// contains filtered or unexported fields
}

ResponseStatus_ValidationErrDetailValidationError is the validation error returned by ResponseStatus_ValidationErrDetail.Validate if the designated constraints aren't met.

func (ResponseStatus_ValidationErrDetailValidationError) Cause

Cause function returns cause value.

func (ResponseStatus_ValidationErrDetailValidationError) Error

Error satisfies the builtin error interface

func (ResponseStatus_ValidationErrDetailValidationError) ErrorName

ErrorName returns error name.

func (ResponseStatus_ValidationErrDetailValidationError) Field

Field function returns field value.

func (ResponseStatus_ValidationErrDetailValidationError) Key

Key function returns key value.

func (ResponseStatus_ValidationErrDetailValidationError) Reason

Reason function returns reason value.

type UnimplementedAadhaarServiceServer

type UnimplementedAadhaarServiceServer struct {
}

UnimplementedAadhaarServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAadhaarServiceServer) GetCaptcha

func (UnimplementedAadhaarServiceServer) VerifyAadhaarNumber

func (UnimplementedAadhaarServiceServer) VerifyCaptcha

type UnsafeAadhaarServiceServer

type UnsafeAadhaarServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAadhaarServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AadhaarServiceServer will result in compilation errors.

type VerifyAadhaarNumberRequest

type VerifyAadhaarNumberRequest struct {
	SessionId    string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	UidNo        string `protobuf:"bytes,2,opt,name=uid_no,json=uidNo,proto3" json:"uid_no,omitempty"`
	SecurityCode string `protobuf:"bytes,3,opt,name=security_code,json=securityCode,proto3" json:"security_code,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyAadhaarNumberRequest) Descriptor deprecated

func (*VerifyAadhaarNumberRequest) Descriptor() ([]byte, []int)

Deprecated: Use VerifyAadhaarNumberRequest.ProtoReflect.Descriptor instead.

func (*VerifyAadhaarNumberRequest) GetSecurityCode

func (x *VerifyAadhaarNumberRequest) GetSecurityCode() string

func (*VerifyAadhaarNumberRequest) GetSessionId

func (x *VerifyAadhaarNumberRequest) GetSessionId() string

func (*VerifyAadhaarNumberRequest) GetUidNo

func (x *VerifyAadhaarNumberRequest) GetUidNo() string

func (*VerifyAadhaarNumberRequest) ProtoMessage

func (*VerifyAadhaarNumberRequest) ProtoMessage()

func (*VerifyAadhaarNumberRequest) ProtoReflect

func (*VerifyAadhaarNumberRequest) Reset

func (x *VerifyAadhaarNumberRequest) Reset()

func (*VerifyAadhaarNumberRequest) String

func (x *VerifyAadhaarNumberRequest) String() string

func (*VerifyAadhaarNumberRequest) Validate

func (m *VerifyAadhaarNumberRequest) Validate() error

Validate checks the field values on VerifyAadhaarNumberRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type VerifyAadhaarNumberRequestValidationError

type VerifyAadhaarNumberRequestValidationError struct {
	// contains filtered or unexported fields
}

VerifyAadhaarNumberRequestValidationError is the validation error returned by VerifyAadhaarNumberRequest.Validate if the designated constraints aren't met.

func (VerifyAadhaarNumberRequestValidationError) Cause

Cause function returns cause value.

func (VerifyAadhaarNumberRequestValidationError) Error

Error satisfies the builtin error interface

func (VerifyAadhaarNumberRequestValidationError) ErrorName

ErrorName returns error name.

func (VerifyAadhaarNumberRequestValidationError) Field

Field function returns field value.

func (VerifyAadhaarNumberRequestValidationError) Key

Key function returns key value.

func (VerifyAadhaarNumberRequestValidationError) Reason

Reason function returns reason value.

type VerifyAadhaarNumberResponse

type VerifyAadhaarNumberResponse struct {
	Status *ResponseStatus                   `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Data   *VerifyAadhaarNumberResponse_Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyAadhaarNumberResponse) Descriptor deprecated

func (*VerifyAadhaarNumberResponse) Descriptor() ([]byte, []int)

Deprecated: Use VerifyAadhaarNumberResponse.ProtoReflect.Descriptor instead.

func (*VerifyAadhaarNumberResponse) GetData

func (*VerifyAadhaarNumberResponse) GetStatus

func (*VerifyAadhaarNumberResponse) ProtoMessage

func (*VerifyAadhaarNumberResponse) ProtoMessage()

func (*VerifyAadhaarNumberResponse) ProtoReflect

func (*VerifyAadhaarNumberResponse) Reset

func (x *VerifyAadhaarNumberResponse) Reset()

func (*VerifyAadhaarNumberResponse) String

func (x *VerifyAadhaarNumberResponse) String() string

func (*VerifyAadhaarNumberResponse) Validate

func (m *VerifyAadhaarNumberResponse) Validate() error

Validate checks the field values on VerifyAadhaarNumberResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type VerifyAadhaarNumberResponseValidationError

type VerifyAadhaarNumberResponseValidationError struct {
	// contains filtered or unexported fields
}

VerifyAadhaarNumberResponseValidationError is the validation error returned by VerifyAadhaarNumberResponse.Validate if the designated constraints aren't met.

func (VerifyAadhaarNumberResponseValidationError) Cause

Cause function returns cause value.

func (VerifyAadhaarNumberResponseValidationError) Error

Error satisfies the builtin error interface

func (VerifyAadhaarNumberResponseValidationError) ErrorName

ErrorName returns error name.

func (VerifyAadhaarNumberResponseValidationError) Field

Field function returns field value.

func (VerifyAadhaarNumberResponseValidationError) Key

Key function returns key value.

func (VerifyAadhaarNumberResponseValidationError) Reason

Reason function returns reason value.

type VerifyAadhaarNumberResponse_Data

type VerifyAadhaarNumberResponse_Data struct {
	Verified     bool   `protobuf:"varint,1,opt,name=verified,proto3" json:"verified,omitempty"`
	AgeBand      string `protobuf:"bytes,2,opt,name=age_band,json=ageBand,proto3" json:"age_band,omitempty"`
	Gender       string `protobuf:"bytes,3,opt,name=gender,proto3" json:"gender,omitempty"`
	State        string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	MobileNumber string `protobuf:"bytes,5,opt,name=mobile_number,json=mobileNumber,proto3" json:"mobile_number,omitempty"`
	Details      string `protobuf:"bytes,6,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyAadhaarNumberResponse_Data) Descriptor deprecated

func (*VerifyAadhaarNumberResponse_Data) Descriptor() ([]byte, []int)

Deprecated: Use VerifyAadhaarNumberResponse_Data.ProtoReflect.Descriptor instead.

func (*VerifyAadhaarNumberResponse_Data) GetAgeBand

func (x *VerifyAadhaarNumberResponse_Data) GetAgeBand() string

func (*VerifyAadhaarNumberResponse_Data) GetDetails

func (x *VerifyAadhaarNumberResponse_Data) GetDetails() string

func (*VerifyAadhaarNumberResponse_Data) GetGender

func (*VerifyAadhaarNumberResponse_Data) GetMobileNumber

func (x *VerifyAadhaarNumberResponse_Data) GetMobileNumber() string

func (*VerifyAadhaarNumberResponse_Data) GetState

func (*VerifyAadhaarNumberResponse_Data) GetVerified

func (x *VerifyAadhaarNumberResponse_Data) GetVerified() bool

func (*VerifyAadhaarNumberResponse_Data) ProtoMessage

func (*VerifyAadhaarNumberResponse_Data) ProtoMessage()

func (*VerifyAadhaarNumberResponse_Data) ProtoReflect

func (*VerifyAadhaarNumberResponse_Data) Reset

func (*VerifyAadhaarNumberResponse_Data) String

func (*VerifyAadhaarNumberResponse_Data) Validate

Validate checks the field values on VerifyAadhaarNumberResponse_Data with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type VerifyAadhaarNumberResponse_DataValidationError

type VerifyAadhaarNumberResponse_DataValidationError struct {
	// contains filtered or unexported fields
}

VerifyAadhaarNumberResponse_DataValidationError is the validation error returned by VerifyAadhaarNumberResponse_Data.Validate if the designated constraints aren't met.

func (VerifyAadhaarNumberResponse_DataValidationError) Cause

Cause function returns cause value.

func (VerifyAadhaarNumberResponse_DataValidationError) Error

Error satisfies the builtin error interface

func (VerifyAadhaarNumberResponse_DataValidationError) ErrorName

ErrorName returns error name.

func (VerifyAadhaarNumberResponse_DataValidationError) Field

Field function returns field value.

func (VerifyAadhaarNumberResponse_DataValidationError) Key

Key function returns key value.

func (VerifyAadhaarNumberResponse_DataValidationError) Reason

Reason function returns reason value.

type VerifyCaptchaRequest

type VerifyCaptchaRequest struct {
	SessionId    string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	UidNo        string `protobuf:"bytes,2,opt,name=uid_no,json=uidNo,proto3" json:"uid_no,omitempty"`
	SecurityCode string `protobuf:"bytes,3,opt,name=security_code,json=securityCode,proto3" json:"security_code,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyCaptchaRequest) Descriptor deprecated

func (*VerifyCaptchaRequest) Descriptor() ([]byte, []int)

Deprecated: Use VerifyCaptchaRequest.ProtoReflect.Descriptor instead.

func (*VerifyCaptchaRequest) GetSecurityCode

func (x *VerifyCaptchaRequest) GetSecurityCode() string

func (*VerifyCaptchaRequest) GetSessionId

func (x *VerifyCaptchaRequest) GetSessionId() string

func (*VerifyCaptchaRequest) GetUidNo

func (x *VerifyCaptchaRequest) GetUidNo() string

func (*VerifyCaptchaRequest) ProtoMessage

func (*VerifyCaptchaRequest) ProtoMessage()

func (*VerifyCaptchaRequest) ProtoReflect

func (x *VerifyCaptchaRequest) ProtoReflect() protoreflect.Message

func (*VerifyCaptchaRequest) Reset

func (x *VerifyCaptchaRequest) Reset()

func (*VerifyCaptchaRequest) String

func (x *VerifyCaptchaRequest) String() string

func (*VerifyCaptchaRequest) Validate

func (m *VerifyCaptchaRequest) Validate() error

Validate checks the field values on VerifyCaptchaRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type VerifyCaptchaRequestValidationError

type VerifyCaptchaRequestValidationError struct {
	// contains filtered or unexported fields
}

VerifyCaptchaRequestValidationError is the validation error returned by VerifyCaptchaRequest.Validate if the designated constraints aren't met.

func (VerifyCaptchaRequestValidationError) Cause

Cause function returns cause value.

func (VerifyCaptchaRequestValidationError) Error

Error satisfies the builtin error interface

func (VerifyCaptchaRequestValidationError) ErrorName

ErrorName returns error name.

func (VerifyCaptchaRequestValidationError) Field

Field function returns field value.

func (VerifyCaptchaRequestValidationError) Key

Key function returns key value.

func (VerifyCaptchaRequestValidationError) Reason

Reason function returns reason value.

type VerifyCaptchaResponse

type VerifyCaptchaResponse struct {
	Status *ResponseStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyCaptchaResponse) Descriptor deprecated

func (*VerifyCaptchaResponse) Descriptor() ([]byte, []int)

Deprecated: Use VerifyCaptchaResponse.ProtoReflect.Descriptor instead.

func (*VerifyCaptchaResponse) GetStatus

func (x *VerifyCaptchaResponse) GetStatus() *ResponseStatus

func (*VerifyCaptchaResponse) ProtoMessage

func (*VerifyCaptchaResponse) ProtoMessage()

func (*VerifyCaptchaResponse) ProtoReflect

func (x *VerifyCaptchaResponse) ProtoReflect() protoreflect.Message

func (*VerifyCaptchaResponse) Reset

func (x *VerifyCaptchaResponse) Reset()

func (*VerifyCaptchaResponse) String

func (x *VerifyCaptchaResponse) String() string

func (*VerifyCaptchaResponse) Validate

func (m *VerifyCaptchaResponse) Validate() error

Validate checks the field values on VerifyCaptchaResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type VerifyCaptchaResponseValidationError

type VerifyCaptchaResponseValidationError struct {
	// contains filtered or unexported fields
}

VerifyCaptchaResponseValidationError is the validation error returned by VerifyCaptchaResponse.Validate if the designated constraints aren't met.

func (VerifyCaptchaResponseValidationError) Cause

Cause function returns cause value.

func (VerifyCaptchaResponseValidationError) Error

Error satisfies the builtin error interface

func (VerifyCaptchaResponseValidationError) ErrorName

ErrorName returns error name.

func (VerifyCaptchaResponseValidationError) Field

Field function returns field value.

func (VerifyCaptchaResponseValidationError) Key

Key function returns key value.

func (VerifyCaptchaResponseValidationError) Reason

Reason function returns reason value.

type VerifyOtpAndGetAadhaarRequest

type VerifyOtpAndGetAadhaarRequest struct {
	SessionId      string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Otp            string `protobuf:"bytes,2,opt,name=otp,proto3" json:"otp,omitempty"`
	ZipCode        string `protobuf:"bytes,3,opt,name=zip_code,json=zipCode,proto3" json:"zip_code,omitempty"`
	IncludeZipFile bool   `protobuf:"varint,4,opt,name=include_zip_file,json=includeZipFile,proto3" json:"include_zip_file,omitempty"`
	IncludeXmlFile bool   `protobuf:"varint,5,opt,name=include_xml_file,json=includeXmlFile,proto3" json:"include_xml_file,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyOtpAndGetAadhaarRequest) Descriptor deprecated

func (*VerifyOtpAndGetAadhaarRequest) Descriptor() ([]byte, []int)

Deprecated: Use VerifyOtpAndGetAadhaarRequest.ProtoReflect.Descriptor instead.

func (*VerifyOtpAndGetAadhaarRequest) GetIncludeXmlFile

func (x *VerifyOtpAndGetAadhaarRequest) GetIncludeXmlFile() bool

func (*VerifyOtpAndGetAadhaarRequest) GetIncludeZipFile

func (x *VerifyOtpAndGetAadhaarRequest) GetIncludeZipFile() bool

func (*VerifyOtpAndGetAadhaarRequest) GetOtp

func (*VerifyOtpAndGetAadhaarRequest) GetSessionId

func (x *VerifyOtpAndGetAadhaarRequest) GetSessionId() string

func (*VerifyOtpAndGetAadhaarRequest) GetZipCode

func (x *VerifyOtpAndGetAadhaarRequest) GetZipCode() string

func (*VerifyOtpAndGetAadhaarRequest) ProtoMessage

func (*VerifyOtpAndGetAadhaarRequest) ProtoMessage()

func (*VerifyOtpAndGetAadhaarRequest) ProtoReflect

func (*VerifyOtpAndGetAadhaarRequest) Reset

func (x *VerifyOtpAndGetAadhaarRequest) Reset()

func (*VerifyOtpAndGetAadhaarRequest) String

func (*VerifyOtpAndGetAadhaarRequest) Validate

func (m *VerifyOtpAndGetAadhaarRequest) Validate() error

Validate checks the field values on VerifyOtpAndGetAadhaarRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type VerifyOtpAndGetAadhaarRequestValidationError

type VerifyOtpAndGetAadhaarRequestValidationError struct {
	// contains filtered or unexported fields
}

VerifyOtpAndGetAadhaarRequestValidationError is the validation error returned by VerifyOtpAndGetAadhaarRequest.Validate if the designated constraints aren't met.

func (VerifyOtpAndGetAadhaarRequestValidationError) Cause

Cause function returns cause value.

func (VerifyOtpAndGetAadhaarRequestValidationError) Error

Error satisfies the builtin error interface

func (VerifyOtpAndGetAadhaarRequestValidationError) ErrorName

ErrorName returns error name.

func (VerifyOtpAndGetAadhaarRequestValidationError) Field

Field function returns field value.

func (VerifyOtpAndGetAadhaarRequestValidationError) Key

Key function returns key value.

func (VerifyOtpAndGetAadhaarRequestValidationError) Reason

Reason function returns reason value.

type VerifyOtpAndGetAadhaarResponse

type VerifyOtpAndGetAadhaarResponse struct {
	Status *ResponseStatus                      `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Data   *VerifyOtpAndGetAadhaarResponse_Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyOtpAndGetAadhaarResponse) Descriptor deprecated

func (*VerifyOtpAndGetAadhaarResponse) Descriptor() ([]byte, []int)

Deprecated: Use VerifyOtpAndGetAadhaarResponse.ProtoReflect.Descriptor instead.

func (*VerifyOtpAndGetAadhaarResponse) GetData

func (*VerifyOtpAndGetAadhaarResponse) GetStatus

func (*VerifyOtpAndGetAadhaarResponse) ProtoMessage

func (*VerifyOtpAndGetAadhaarResponse) ProtoMessage()

func (*VerifyOtpAndGetAadhaarResponse) ProtoReflect

func (*VerifyOtpAndGetAadhaarResponse) Reset

func (x *VerifyOtpAndGetAadhaarResponse) Reset()

func (*VerifyOtpAndGetAadhaarResponse) String

func (*VerifyOtpAndGetAadhaarResponse) Validate

func (m *VerifyOtpAndGetAadhaarResponse) Validate() error

Validate checks the field values on VerifyOtpAndGetAadhaarResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type VerifyOtpAndGetAadhaarResponseValidationError

type VerifyOtpAndGetAadhaarResponseValidationError struct {
	// contains filtered or unexported fields
}

VerifyOtpAndGetAadhaarResponseValidationError is the validation error returned by VerifyOtpAndGetAadhaarResponse.Validate if the designated constraints aren't met.

func (VerifyOtpAndGetAadhaarResponseValidationError) Cause

Cause function returns cause value.

func (VerifyOtpAndGetAadhaarResponseValidationError) Error

Error satisfies the builtin error interface

func (VerifyOtpAndGetAadhaarResponseValidationError) ErrorName

ErrorName returns error name.

func (VerifyOtpAndGetAadhaarResponseValidationError) Field

Field function returns field value.

func (VerifyOtpAndGetAadhaarResponseValidationError) Key

Key function returns key value.

func (VerifyOtpAndGetAadhaarResponseValidationError) Reason

Reason function returns reason value.

type VerifyOtpAndGetAadhaarResponse_Data

type VerifyOtpAndGetAadhaarResponse_Data struct {
	Details *AadhaarDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	ZipFile string          `protobuf:"bytes,2,opt,name=zip_file,json=zipFile,proto3" json:"zip_file,omitempty"` // base64 encoded, optional fields, need to pass
	// additional fields if required
	XmlFile string `protobuf:"bytes,3,opt,name=xml_file,json=xmlFile,proto3" json:"xml_file,omitempty"` // base64 encoded, optional fields, need to pass
	// additional fields if required
	XmlSignatureValidated bool `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*VerifyOtpAndGetAadhaarResponse_Data) Descriptor deprecated

func (*VerifyOtpAndGetAadhaarResponse_Data) Descriptor() ([]byte, []int)

Deprecated: Use VerifyOtpAndGetAadhaarResponse_Data.ProtoReflect.Descriptor instead.

func (*VerifyOtpAndGetAadhaarResponse_Data) GetDetails

func (*VerifyOtpAndGetAadhaarResponse_Data) GetXmlFile

func (*VerifyOtpAndGetAadhaarResponse_Data) GetXmlSignatureValidated

func (x *VerifyOtpAndGetAadhaarResponse_Data) GetXmlSignatureValidated() bool

func (*VerifyOtpAndGetAadhaarResponse_Data) GetZipFile

func (*VerifyOtpAndGetAadhaarResponse_Data) ProtoMessage

func (*VerifyOtpAndGetAadhaarResponse_Data) ProtoMessage()

func (*VerifyOtpAndGetAadhaarResponse_Data) ProtoReflect

func (*VerifyOtpAndGetAadhaarResponse_Data) Reset

func (*VerifyOtpAndGetAadhaarResponse_Data) String

func (*VerifyOtpAndGetAadhaarResponse_Data) Validate

Validate checks the field values on VerifyOtpAndGetAadhaarResponse_Data with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type VerifyOtpAndGetAadhaarResponse_DataValidationError

type VerifyOtpAndGetAadhaarResponse_DataValidationError struct {
	// contains filtered or unexported fields
}

VerifyOtpAndGetAadhaarResponse_DataValidationError is the validation error returned by VerifyOtpAndGetAadhaarResponse_Data.Validate if the designated constraints aren't met.

func (VerifyOtpAndGetAadhaarResponse_DataValidationError) Cause

Cause function returns cause value.

func (VerifyOtpAndGetAadhaarResponse_DataValidationError) Error

Error satisfies the builtin error interface

func (VerifyOtpAndGetAadhaarResponse_DataValidationError) ErrorName

ErrorName returns error name.

func (VerifyOtpAndGetAadhaarResponse_DataValidationError) Field

Field function returns field value.

func (VerifyOtpAndGetAadhaarResponse_DataValidationError) Key

Key function returns key value.

func (VerifyOtpAndGetAadhaarResponse_DataValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL