blob: 6006ff13cecf3cecc9577813b14722c7fd09744f [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto
package recaptchaenterprise
import (
context "context"
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
empty "github.com/golang/protobuf/ptypes/empty"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
_ "google.golang.org/genproto/googleapis/api/annotations"
field_mask "google.golang.org/genproto/protobuf/field_mask"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Enum that reprensents the types of annotations.
type AnnotateAssessmentRequest_Annotation int32
const (
// Default unspecified type.
AnnotateAssessmentRequest_ANNOTATION_UNSPECIFIED AnnotateAssessmentRequest_Annotation = 0
// Provides information that the event turned out to be legitimate.
AnnotateAssessmentRequest_LEGITIMATE AnnotateAssessmentRequest_Annotation = 1
// Provides information that the event turned out to be fraudulent.
AnnotateAssessmentRequest_FRAUDULENT AnnotateAssessmentRequest_Annotation = 2
)
var AnnotateAssessmentRequest_Annotation_name = map[int32]string{
0: "ANNOTATION_UNSPECIFIED",
1: "LEGITIMATE",
2: "FRAUDULENT",
}
var AnnotateAssessmentRequest_Annotation_value = map[string]int32{
"ANNOTATION_UNSPECIFIED": 0,
"LEGITIMATE": 1,
"FRAUDULENT": 2,
}
func (x AnnotateAssessmentRequest_Annotation) String() string {
return proto.EnumName(AnnotateAssessmentRequest_Annotation_name, int32(x))
}
func (AnnotateAssessmentRequest_Annotation) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{1, 0}
}
// LINT.IfChange(classification_reason)
// Reasons contributing to the risk analysis verdict.
type Assessment_ClassificationReason int32
const (
// Default unspecified type.
Assessment_CLASSIFICATION_REASON_UNSPECIFIED Assessment_ClassificationReason = 0
// Interactions matched the behavior of an automated agent.
Assessment_AUTOMATION Assessment_ClassificationReason = 1
// The event originated from an illegitimate environment.
Assessment_UNEXPECTED_ENVIRONMENT Assessment_ClassificationReason = 2
// Traffic volume from the event source is higher than normal.
Assessment_TOO_MUCH_TRAFFIC Assessment_ClassificationReason = 3
// Interactions with the site were significantly different than expected
// patterns.
Assessment_UNEXPECTED_USAGE_PATTERNS Assessment_ClassificationReason = 4
// Too little traffic has been received from this site thus far to generate
// quality risk analysis.
Assessment_LOW_CONFIDENCE_SCORE Assessment_ClassificationReason = 5
)
var Assessment_ClassificationReason_name = map[int32]string{
0: "CLASSIFICATION_REASON_UNSPECIFIED",
1: "AUTOMATION",
2: "UNEXPECTED_ENVIRONMENT",
3: "TOO_MUCH_TRAFFIC",
4: "UNEXPECTED_USAGE_PATTERNS",
5: "LOW_CONFIDENCE_SCORE",
}
var Assessment_ClassificationReason_value = map[string]int32{
"CLASSIFICATION_REASON_UNSPECIFIED": 0,
"AUTOMATION": 1,
"UNEXPECTED_ENVIRONMENT": 2,
"TOO_MUCH_TRAFFIC": 3,
"UNEXPECTED_USAGE_PATTERNS": 4,
"LOW_CONFIDENCE_SCORE": 5,
}
func (x Assessment_ClassificationReason) String() string {
return proto.EnumName(Assessment_ClassificationReason_name, int32(x))
}
func (Assessment_ClassificationReason) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{3, 0}
}
// LINT.IfChange
// Enum that represents the types of invalid token reasons.
type TokenProperties_InvalidReason int32
const (
// Default unspecified type.
TokenProperties_INVALID_REASON_UNSPECIFIED TokenProperties_InvalidReason = 0
// If the failure reason was not accounted for.
TokenProperties_UNKNOWN_INVALID_REASON TokenProperties_InvalidReason = 1
// The provided user verification token was malformed.
TokenProperties_MALFORMED TokenProperties_InvalidReason = 2
// The user verification token had expired.
TokenProperties_EXPIRED TokenProperties_InvalidReason = 3
// The user verification had already been seen.
TokenProperties_DUPE TokenProperties_InvalidReason = 4
// The user verification token did not match the provided site key.
// This may be a configuration error (e.g. development keys used in
// production) or end users trying to use verification tokens from other
// sites.
TokenProperties_SITE_MISMATCH TokenProperties_InvalidReason = 5
// The user verification token was not present. It is a required input.
TokenProperties_MISSING TokenProperties_InvalidReason = 6
)
var TokenProperties_InvalidReason_name = map[int32]string{
0: "INVALID_REASON_UNSPECIFIED",
1: "UNKNOWN_INVALID_REASON",
2: "MALFORMED",
3: "EXPIRED",
4: "DUPE",
5: "SITE_MISMATCH",
6: "MISSING",
}
var TokenProperties_InvalidReason_value = map[string]int32{
"INVALID_REASON_UNSPECIFIED": 0,
"UNKNOWN_INVALID_REASON": 1,
"MALFORMED": 2,
"EXPIRED": 3,
"DUPE": 4,
"SITE_MISMATCH": 5,
"MISSING": 6,
}
func (x TokenProperties_InvalidReason) String() string {
return proto.EnumName(TokenProperties_InvalidReason_name, int32(x))
}
func (TokenProperties_InvalidReason) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{5, 0}
}
// Enum that represents the integration types for web keys.
type WebKeySettings_IntegrationType int32
const (
// Default type that indicates this enum hasn't been specified. This is not
// a valid IntegrationType, one of the other types must be specified
// instead.
WebKeySettings_INTEGRATION_TYPE_UNSPECIFIED WebKeySettings_IntegrationType = 0
// Only used to produce scores. It doesn't display the "I'm not a robot"
// checkbox and never shows captcha challenges.
WebKeySettings_SCORE_ONLY WebKeySettings_IntegrationType = 1
// Displays the "I'm not a robot" checkbox and may show captcha challenges
// after it is checked.
WebKeySettings_CHECKBOX_CHALLENGE WebKeySettings_IntegrationType = 2
// Doesn't display the "I'm not a robot" checkbox, but may show captcha
// challenges after risk analysis.
WebKeySettings_INVISIBLE_CHALLENGE WebKeySettings_IntegrationType = 3
)
var WebKeySettings_IntegrationType_name = map[int32]string{
0: "INTEGRATION_TYPE_UNSPECIFIED",
1: "SCORE_ONLY",
2: "CHECKBOX_CHALLENGE",
3: "INVISIBLE_CHALLENGE",
}
var WebKeySettings_IntegrationType_value = map[string]int32{
"INTEGRATION_TYPE_UNSPECIFIED": 0,
"SCORE_ONLY": 1,
"CHECKBOX_CHALLENGE": 2,
"INVISIBLE_CHALLENGE": 3,
}
func (x WebKeySettings_IntegrationType) String() string {
return proto.EnumName(WebKeySettings_IntegrationType_name, int32(x))
}
func (WebKeySettings_IntegrationType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{13, 0}
}
// Enum that represents the possible challenge frequency and difficulty
// configurations for a web key.
type WebKeySettings_ChallengeSecurityPreference int32
const (
// Default type that indicates this enum hasn't been specified.
WebKeySettings_CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED WebKeySettings_ChallengeSecurityPreference = 0
// Key tends to show fewer and easier challenges.
WebKeySettings_USABILITY WebKeySettings_ChallengeSecurityPreference = 1
// Key tends to show balanced (in amount and difficulty) challenges.
WebKeySettings_BALANCED WebKeySettings_ChallengeSecurityPreference = 2
// Key tends to show more and harder challenges.
WebKeySettings_SECURITY WebKeySettings_ChallengeSecurityPreference = 3
)
var WebKeySettings_ChallengeSecurityPreference_name = map[int32]string{
0: "CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED",
1: "USABILITY",
2: "BALANCED",
3: "SECURITY",
}
var WebKeySettings_ChallengeSecurityPreference_value = map[string]int32{
"CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED": 0,
"USABILITY": 1,
"BALANCED": 2,
"SECURITY": 3,
}
func (x WebKeySettings_ChallengeSecurityPreference) String() string {
return proto.EnumName(WebKeySettings_ChallengeSecurityPreference_name, int32(x))
}
func (WebKeySettings_ChallengeSecurityPreference) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{13, 1}
}
// The create assessment request message.
type CreateAssessmentRequest struct {
// Required. The name of the project in which the assessment will be created,
// in the format "projects/{project_number}".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The assessment details.
Assessment *Assessment `protobuf:"bytes,2,opt,name=assessment,proto3" json:"assessment,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateAssessmentRequest) Reset() { *m = CreateAssessmentRequest{} }
func (m *CreateAssessmentRequest) String() string { return proto.CompactTextString(m) }
func (*CreateAssessmentRequest) ProtoMessage() {}
func (*CreateAssessmentRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{0}
}
func (m *CreateAssessmentRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateAssessmentRequest.Unmarshal(m, b)
}
func (m *CreateAssessmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateAssessmentRequest.Marshal(b, m, deterministic)
}
func (m *CreateAssessmentRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateAssessmentRequest.Merge(m, src)
}
func (m *CreateAssessmentRequest) XXX_Size() int {
return xxx_messageInfo_CreateAssessmentRequest.Size(m)
}
func (m *CreateAssessmentRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateAssessmentRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateAssessmentRequest proto.InternalMessageInfo
func (m *CreateAssessmentRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *CreateAssessmentRequest) GetAssessment() *Assessment {
if m != nil {
return m.Assessment
}
return nil
}
// The request message to annotate an Assessment.
type AnnotateAssessmentRequest struct {
// Required. The resource name of the Assessment, in the format
// "projects/{project_number}/assessments/{assessment_id}".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The annotation that will be assigned to the Event.
Annotation AnnotateAssessmentRequest_Annotation `protobuf:"varint,2,opt,name=annotation,proto3,enum=google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest_Annotation" json:"annotation,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AnnotateAssessmentRequest) Reset() { *m = AnnotateAssessmentRequest{} }
func (m *AnnotateAssessmentRequest) String() string { return proto.CompactTextString(m) }
func (*AnnotateAssessmentRequest) ProtoMessage() {}
func (*AnnotateAssessmentRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{1}
}
func (m *AnnotateAssessmentRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AnnotateAssessmentRequest.Unmarshal(m, b)
}
func (m *AnnotateAssessmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AnnotateAssessmentRequest.Marshal(b, m, deterministic)
}
func (m *AnnotateAssessmentRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnnotateAssessmentRequest.Merge(m, src)
}
func (m *AnnotateAssessmentRequest) XXX_Size() int {
return xxx_messageInfo_AnnotateAssessmentRequest.Size(m)
}
func (m *AnnotateAssessmentRequest) XXX_DiscardUnknown() {
xxx_messageInfo_AnnotateAssessmentRequest.DiscardUnknown(m)
}
var xxx_messageInfo_AnnotateAssessmentRequest proto.InternalMessageInfo
func (m *AnnotateAssessmentRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *AnnotateAssessmentRequest) GetAnnotation() AnnotateAssessmentRequest_Annotation {
if m != nil {
return m.Annotation
}
return AnnotateAssessmentRequest_ANNOTATION_UNSPECIFIED
}
// Empty response for AnnotateAssessment.
type AnnotateAssessmentResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AnnotateAssessmentResponse) Reset() { *m = AnnotateAssessmentResponse{} }
func (m *AnnotateAssessmentResponse) String() string { return proto.CompactTextString(m) }
func (*AnnotateAssessmentResponse) ProtoMessage() {}
func (*AnnotateAssessmentResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{2}
}
func (m *AnnotateAssessmentResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AnnotateAssessmentResponse.Unmarshal(m, b)
}
func (m *AnnotateAssessmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AnnotateAssessmentResponse.Marshal(b, m, deterministic)
}
func (m *AnnotateAssessmentResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnnotateAssessmentResponse.Merge(m, src)
}
func (m *AnnotateAssessmentResponse) XXX_Size() int {
return xxx_messageInfo_AnnotateAssessmentResponse.Size(m)
}
func (m *AnnotateAssessmentResponse) XXX_DiscardUnknown() {
xxx_messageInfo_AnnotateAssessmentResponse.DiscardUnknown(m)
}
var xxx_messageInfo_AnnotateAssessmentResponse proto.InternalMessageInfo
// A recaptcha assessment resource.
type Assessment struct {
// Output only. The resource name for the Assessment in the format
// "projects/{project_number}/assessments/{assessment_id}".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The event being assessed.
Event *Event `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
// Output only. Legitimate event score from 0.0 to 1.0.
// (1.0 means very likely legitimate traffic while 0.0 means very likely
// non-legitimate traffic).
Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"`
// Output only. Properties of the provided event token.
TokenProperties *TokenProperties `protobuf:"bytes,4,opt,name=token_properties,json=tokenProperties,proto3" json:"token_properties,omitempty"`
// Output only. Reasons contributing to the risk analysis verdict.
Reasons []Assessment_ClassificationReason `protobuf:"varint,5,rep,packed,name=reasons,proto3,enum=google.cloud.recaptchaenterprise.v1beta1.Assessment_ClassificationReason" json:"reasons,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Assessment) Reset() { *m = Assessment{} }
func (m *Assessment) String() string { return proto.CompactTextString(m) }
func (*Assessment) ProtoMessage() {}
func (*Assessment) Descriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{3}
}
func (m *Assessment) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Assessment.Unmarshal(m, b)
}
func (m *Assessment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Assessment.Marshal(b, m, deterministic)
}
func (m *Assessment) XXX_Merge(src proto.Message) {
xxx_messageInfo_Assessment.Merge(m, src)
}
func (m *Assessment) XXX_Size() int {
return xxx_messageInfo_Assessment.Size(m)
}
func (m *Assessment) XXX_DiscardUnknown() {
xxx_messageInfo_Assessment.DiscardUnknown(m)
}
var xxx_messageInfo_Assessment proto.InternalMessageInfo
func (m *Assessment) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Assessment) GetEvent() *Event {
if m != nil {
return m.Event
}
return nil
}
func (m *Assessment) GetScore() float32 {
if m != nil {
return m.Score
}
return 0
}
func (m *Assessment) GetTokenProperties() *TokenProperties {
if m != nil {
return m.TokenProperties
}
return nil
}
func (m *Assessment) GetReasons() []Assessment_ClassificationReason {
if m != nil {
return m.Reasons
}
return nil
}
type Event struct {
// Optional. The user response token provided by the reCAPTCHA client-side integration
// on your site.
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
// Optional. The site key that was used to invoke reCAPTCHA on your site and generate
// the token.
SiteKey string `protobuf:"bytes,2,opt,name=site_key,json=siteKey,proto3" json:"site_key,omitempty"`
// Optional. The user agent present in the request from the user's device related to
// this event.
UserAgent string `protobuf:"bytes,3,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
// Optional. The IP address in the request from the user's device related to this event.
UserIpAddress string `protobuf:"bytes,4,opt,name=user_ip_address,json=userIpAddress,proto3" json:"user_ip_address,omitempty"`
// Optional. The expected action for this type of event. This should be the same action
// provided at token generation time on client-side platforms already
// integrated with recaptcha enterprise.
ExpectedAction string `protobuf:"bytes,5,opt,name=expected_action,json=expectedAction,proto3" json:"expected_action,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Event) Reset() { *m = Event{} }
func (m *Event) String() string { return proto.CompactTextString(m) }
func (*Event) ProtoMessage() {}
func (*Event) Descriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{4}
}
func (m *Event) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Event.Unmarshal(m, b)
}
func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Event.Marshal(b, m, deterministic)
}
func (m *Event) XXX_Merge(src proto.Message) {
xxx_messageInfo_Event.Merge(m, src)
}
func (m *Event) XXX_Size() int {
return xxx_messageInfo_Event.Size(m)
}
func (m *Event) XXX_DiscardUnknown() {
xxx_messageInfo_Event.DiscardUnknown(m)
}
var xxx_messageInfo_Event proto.InternalMessageInfo
func (m *Event) GetToken() string {
if m != nil {
return m.Token
}
return ""
}
func (m *Event) GetSiteKey() string {
if m != nil {
return m.SiteKey
}
return ""
}
func (m *Event) GetUserAgent() string {
if m != nil {
return m.UserAgent
}
return ""
}
func (m *Event) GetUserIpAddress() string {
if m != nil {
return m.UserIpAddress
}
return ""
}
func (m *Event) GetExpectedAction() string {
if m != nil {
return m.ExpectedAction
}
return ""
}
type TokenProperties struct {
// Whether the provided user response token is valid.
Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
// Reason associated with the response when valid = false.
InvalidReason TokenProperties_InvalidReason `protobuf:"varint,2,opt,name=invalid_reason,json=invalidReason,proto3,enum=google.cloud.recaptchaenterprise.v1beta1.TokenProperties_InvalidReason" json:"invalid_reason,omitempty"`
// The timestamp corresponding to the generation of the token.
CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// The hostname of the page on which the token was generated.
Hostname string `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname,omitempty"`
// Action name provided at token generation.
Action string `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TokenProperties) Reset() { *m = TokenProperties{} }
func (m *TokenProperties) String() string { return proto.CompactTextString(m) }
func (*TokenProperties) ProtoMessage() {}
func (*TokenProperties) Descriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{5}
}
func (m *TokenProperties) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TokenProperties.Unmarshal(m, b)
}
func (m *TokenProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TokenProperties.Marshal(b, m, deterministic)
}
func (m *TokenProperties) XXX_Merge(src proto.Message) {
xxx_messageInfo_TokenProperties.Merge(m, src)
}
func (m *TokenProperties) XXX_Size() int {
return xxx_messageInfo_TokenProperties.Size(m)
}
func (m *TokenProperties) XXX_DiscardUnknown() {
xxx_messageInfo_TokenProperties.DiscardUnknown(m)
}
var xxx_messageInfo_TokenProperties proto.InternalMessageInfo
func (m *TokenProperties) GetValid() bool {
if m != nil {
return m.Valid
}
return false
}
func (m *TokenProperties) GetInvalidReason() TokenProperties_InvalidReason {
if m != nil {
return m.InvalidReason
}
return TokenProperties_INVALID_REASON_UNSPECIFIED
}
func (m *TokenProperties) GetCreateTime() *timestamp.Timestamp {
if m != nil {
return m.CreateTime
}
return nil
}
func (m *TokenProperties) GetHostname() string {
if m != nil {
return m.Hostname
}
return ""
}
func (m *TokenProperties) GetAction() string {
if m != nil {
return m.Action
}
return ""
}
// The create key request message.
type CreateKeyRequest struct {
// Required. The name of the project in which the key will be created, in the
// format "projects/{project_number}".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Information to create a reCAPTCHA Enterprise key.
Key *Key `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateKeyRequest) Reset() { *m = CreateKeyRequest{} }
func (m *CreateKeyRequest) String() string { return proto.CompactTextString(m) }
func (*CreateKeyRequest) ProtoMessage() {}
func (*CreateKeyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{6}
}
func (m *CreateKeyRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateKeyRequest.Unmarshal(m, b)
}
func (m *CreateKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateKeyRequest.Marshal(b, m, deterministic)
}
func (m *CreateKeyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateKeyRequest.Merge(m, src)
}
func (m *CreateKeyRequest) XXX_Size() int {
return xxx_messageInfo_CreateKeyRequest.Size(m)
}
func (m *CreateKeyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateKeyRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateKeyRequest proto.InternalMessageInfo
func (m *CreateKeyRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *CreateKeyRequest) GetKey() *Key {
if m != nil {
return m.Key
}
return nil
}
// The list keys request message.
type ListKeysRequest struct {
// Required. The name of the project that contains the keys that will be
// listed, in the format "projects/{project_number}".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of keys to return. Default is 10. Max limit is
// 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The next_page_token value returned from a previous.
// ListKeysRequest, if any.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListKeysRequest) Reset() { *m = ListKeysRequest{} }
func (m *ListKeysRequest) String() string { return proto.CompactTextString(m) }
func (*ListKeysRequest) ProtoMessage() {}
func (*ListKeysRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{7}
}
func (m *ListKeysRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListKeysRequest.Unmarshal(m, b)
}
func (m *ListKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListKeysRequest.Marshal(b, m, deterministic)
}
func (m *ListKeysRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListKeysRequest.Merge(m, src)
}
func (m *ListKeysRequest) XXX_Size() int {
return xxx_messageInfo_ListKeysRequest.Size(m)
}
func (m *ListKeysRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListKeysRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListKeysRequest proto.InternalMessageInfo
func (m *ListKeysRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *ListKeysRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
func (m *ListKeysRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
// Response to request to list keys in a project.
type ListKeysResponse struct {
// Key details.
Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
// Token to retrieve the next page of results. It is set to empty if no keys
// remain in results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListKeysResponse) Reset() { *m = ListKeysResponse{} }
func (m *ListKeysResponse) String() string { return proto.CompactTextString(m) }
func (*ListKeysResponse) ProtoMessage() {}
func (*ListKeysResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{8}
}
func (m *ListKeysResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListKeysResponse.Unmarshal(m, b)
}
func (m *ListKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListKeysResponse.Marshal(b, m, deterministic)
}
func (m *ListKeysResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListKeysResponse.Merge(m, src)
}
func (m *ListKeysResponse) XXX_Size() int {
return xxx_messageInfo_ListKeysResponse.Size(m)
}
func (m *ListKeysResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListKeysResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListKeysResponse proto.InternalMessageInfo
func (m *ListKeysResponse) GetKeys() []*Key {
if m != nil {
return m.Keys
}
return nil
}
func (m *ListKeysResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
// The get key request message.
type GetKeyRequest struct {
// Required. The name of the requested key, in the format
// "projects/{project_number}/keys/{key_id}".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetKeyRequest) Reset() { *m = GetKeyRequest{} }
func (m *GetKeyRequest) String() string { return proto.CompactTextString(m) }
func (*GetKeyRequest) ProtoMessage() {}
func (*GetKeyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{9}
}
func (m *GetKeyRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetKeyRequest.Unmarshal(m, b)
}
func (m *GetKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetKeyRequest.Marshal(b, m, deterministic)
}
func (m *GetKeyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetKeyRequest.Merge(m, src)
}
func (m *GetKeyRequest) XXX_Size() int {
return xxx_messageInfo_GetKeyRequest.Size(m)
}
func (m *GetKeyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetKeyRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetKeyRequest proto.InternalMessageInfo
func (m *GetKeyRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// The update key request message.
type UpdateKeyRequest struct {
// Required. The key to update.
Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// Optional. The mask to control which field of the key get updated. If the mask is not
// present, all fields will be updated.
UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateKeyRequest) Reset() { *m = UpdateKeyRequest{} }
func (m *UpdateKeyRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateKeyRequest) ProtoMessage() {}
func (*UpdateKeyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{10}
}
func (m *UpdateKeyRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateKeyRequest.Unmarshal(m, b)
}
func (m *UpdateKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateKeyRequest.Marshal(b, m, deterministic)
}
func (m *UpdateKeyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateKeyRequest.Merge(m, src)
}
func (m *UpdateKeyRequest) XXX_Size() int {
return xxx_messageInfo_UpdateKeyRequest.Size(m)
}
func (m *UpdateKeyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateKeyRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateKeyRequest proto.InternalMessageInfo
func (m *UpdateKeyRequest) GetKey() *Key {
if m != nil {
return m.Key
}
return nil
}
func (m *UpdateKeyRequest) GetUpdateMask() *field_mask.FieldMask {
if m != nil {
return m.UpdateMask
}
return nil
}
// The delete key request message.
type DeleteKeyRequest struct {
// Required. The name of the key to be deleted, in the format
// "projects/{project_number}/keys/{key_id}".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeleteKeyRequest) Reset() { *m = DeleteKeyRequest{} }
func (m *DeleteKeyRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteKeyRequest) ProtoMessage() {}
func (*DeleteKeyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{11}
}
func (m *DeleteKeyRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteKeyRequest.Unmarshal(m, b)
}
func (m *DeleteKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeleteKeyRequest.Marshal(b, m, deterministic)
}
func (m *DeleteKeyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeleteKeyRequest.Merge(m, src)
}
func (m *DeleteKeyRequest) XXX_Size() int {
return xxx_messageInfo_DeleteKeyRequest.Size(m)
}
func (m *DeleteKeyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DeleteKeyRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DeleteKeyRequest proto.InternalMessageInfo
func (m *DeleteKeyRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// A key used to identify and configure applications (web and/or mobile) that
// use reCAPTCHA Enterprise.
type Key struct {
// The resource name for the Key in the format
// "projects/{project_number}/keys/{key_id}".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Human-readable display name of this key. Modifiable by user.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Platform specific settings for this key. The key can only be used on one
// platform, the one it has settings for.
//
// Types that are valid to be assigned to PlatformSettings:
// *Key_WebSettings
// *Key_AndroidSettings
// *Key_IosSettings
PlatformSettings isKey_PlatformSettings `protobuf_oneof:"platform_settings"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Key) Reset() { *m = Key{} }
func (m *Key) String() string { return proto.CompactTextString(m) }
func (*Key) ProtoMessage() {}
func (*Key) Descriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{12}
}
func (m *Key) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Key.Unmarshal(m, b)
}
func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Key.Marshal(b, m, deterministic)
}
func (m *Key) XXX_Merge(src proto.Message) {
xxx_messageInfo_Key.Merge(m, src)
}
func (m *Key) XXX_Size() int {
return xxx_messageInfo_Key.Size(m)
}
func (m *Key) XXX_DiscardUnknown() {
xxx_messageInfo_Key.DiscardUnknown(m)
}
var xxx_messageInfo_Key proto.InternalMessageInfo
func (m *Key) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Key) GetDisplayName() string {
if m != nil {
return m.DisplayName
}
return ""
}
type isKey_PlatformSettings interface {
isKey_PlatformSettings()
}
type Key_WebSettings struct {
WebSettings *WebKeySettings `protobuf:"bytes,3,opt,name=web_settings,json=webSettings,proto3,oneof"`
}
type Key_AndroidSettings struct {
AndroidSettings *AndroidKeySettings `protobuf:"bytes,4,opt,name=android_settings,json=androidSettings,proto3,oneof"`
}
type Key_IosSettings struct {
IosSettings *IOSKeySettings `protobuf:"bytes,5,opt,name=ios_settings,json=iosSettings,proto3,oneof"`
}
func (*Key_WebSettings) isKey_PlatformSettings() {}
func (*Key_AndroidSettings) isKey_PlatformSettings() {}
func (*Key_IosSettings) isKey_PlatformSettings() {}
func (m *Key) GetPlatformSettings() isKey_PlatformSettings {
if m != nil {
return m.PlatformSettings
}
return nil
}
func (m *Key) GetWebSettings() *WebKeySettings {
if x, ok := m.GetPlatformSettings().(*Key_WebSettings); ok {
return x.WebSettings
}
return nil
}
func (m *Key) GetAndroidSettings() *AndroidKeySettings {
if x, ok := m.GetPlatformSettings().(*Key_AndroidSettings); ok {
return x.AndroidSettings
}
return nil
}
func (m *Key) GetIosSettings() *IOSKeySettings {
if x, ok := m.GetPlatformSettings().(*Key_IosSettings); ok {
return x.IosSettings
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*Key) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*Key_WebSettings)(nil),
(*Key_AndroidSettings)(nil),
(*Key_IosSettings)(nil),
}
}
// Settings specific to keys that can be used by websites.
type WebKeySettings struct {
// Whether allowed_domains is enforced or not.
EnforceAllowedDomains bool `protobuf:"varint,3,opt,name=enforce_allowed_domains,json=enforceAllowedDomains,proto3" json:"enforce_allowed_domains,omitempty"`
// Domains or subdomains of websites allowed to use the key. All subdomains
// of an allowed domain are automatically allowed. A valid domain requires a
// host and must not include any path, port, query or fragment.
// Examples: 'example.com' or 'subdomain.example.com'
AllowedDomains []string `protobuf:"bytes,1,rep,name=allowed_domains,json=allowedDomains,proto3" json:"allowed_domains,omitempty"`
// Whether this key can be used on AMP (Accelerated Mobile Pages) websites.
AllowAmpTraffic bool `protobuf:"varint,2,opt,name=allow_amp_traffic,json=allowAmpTraffic,proto3" json:"allow_amp_traffic,omitempty"`
// Required. Describes how this key is integrated with the website.
IntegrationType WebKeySettings_IntegrationType `protobuf:"varint,4,opt,name=integration_type,json=integrationType,proto3,enum=google.cloud.recaptchaenterprise.v1beta1.WebKeySettings_IntegrationType" json:"integration_type,omitempty"`
// Settings for the frequency and difficulty at which this key triggers
// captcha challenges. This should only be specified for IntegrationTypes
// CHECKBOX_CHALLENGE and INVISIBLE_CHALLENGE.
ChallengeSecurityPreference WebKeySettings_ChallengeSecurityPreference `protobuf:"varint,5,opt,name=challenge_security_preference,json=challengeSecurityPreference,proto3,enum=google.cloud.recaptchaenterprise.v1beta1.WebKeySettings_ChallengeSecurityPreference" json:"challenge_security_preference,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WebKeySettings) Reset() { *m = WebKeySettings{} }
func (m *WebKeySettings) String() string { return proto.CompactTextString(m) }
func (*WebKeySettings) ProtoMessage() {}
func (*WebKeySettings) Descriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{13}
}
func (m *WebKeySettings) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WebKeySettings.Unmarshal(m, b)
}
func (m *WebKeySettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WebKeySettings.Marshal(b, m, deterministic)
}
func (m *WebKeySettings) XXX_Merge(src proto.Message) {
xxx_messageInfo_WebKeySettings.Merge(m, src)
}
func (m *WebKeySettings) XXX_Size() int {
return xxx_messageInfo_WebKeySettings.Size(m)
}
func (m *WebKeySettings) XXX_DiscardUnknown() {
xxx_messageInfo_WebKeySettings.DiscardUnknown(m)
}
var xxx_messageInfo_WebKeySettings proto.InternalMessageInfo
func (m *WebKeySettings) GetEnforceAllowedDomains() bool {
if m != nil {
return m.EnforceAllowedDomains
}
return false
}
func (m *WebKeySettings) GetAllowedDomains() []string {
if m != nil {
return m.AllowedDomains
}
return nil
}
func (m *WebKeySettings) GetAllowAmpTraffic() bool {
if m != nil {
return m.AllowAmpTraffic
}
return false
}
func (m *WebKeySettings) GetIntegrationType() WebKeySettings_IntegrationType {
if m != nil {
return m.IntegrationType
}
return WebKeySettings_INTEGRATION_TYPE_UNSPECIFIED
}
func (m *WebKeySettings) GetChallengeSecurityPreference() WebKeySettings_ChallengeSecurityPreference {
if m != nil {
return m.ChallengeSecurityPreference
}
return WebKeySettings_CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED
}
// Settings specific to keys that can be used by Android apps.
type AndroidKeySettings struct {
// Android package names of apps allowed to use the key.
// Example: 'com.companyname.appname'
AllowedPackageNames []string `protobuf:"bytes,1,rep,name=allowed_package_names,json=allowedPackageNames,proto3" json:"allowed_package_names,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AndroidKeySettings) Reset() { *m = AndroidKeySettings{} }
func (m *AndroidKeySettings) String() string { return proto.CompactTextString(m) }
func (*AndroidKeySettings) ProtoMessage() {}
func (*AndroidKeySettings) Descriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{14}
}
func (m *AndroidKeySettings) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AndroidKeySettings.Unmarshal(m, b)
}
func (m *AndroidKeySettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AndroidKeySettings.Marshal(b, m, deterministic)
}
func (m *AndroidKeySettings) XXX_Merge(src proto.Message) {
xxx_messageInfo_AndroidKeySettings.Merge(m, src)
}
func (m *AndroidKeySettings) XXX_Size() int {
return xxx_messageInfo_AndroidKeySettings.Size(m)
}
func (m *AndroidKeySettings) XXX_DiscardUnknown() {
xxx_messageInfo_AndroidKeySettings.DiscardUnknown(m)
}
var xxx_messageInfo_AndroidKeySettings proto.InternalMessageInfo
func (m *AndroidKeySettings) GetAllowedPackageNames() []string {
if m != nil {
return m.AllowedPackageNames
}
return nil
}
// Settings specific to keys that can be used by iOS apps.
type IOSKeySettings struct {
// iOS bundle ids of apps allowed to use the key.
// Example: 'com.companyname.productname.appname'
AllowedBundleIds []string `protobuf:"bytes,1,rep,name=allowed_bundle_ids,json=allowedBundleIds,proto3" json:"allowed_bundle_ids,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *IOSKeySettings) Reset() { *m = IOSKeySettings{} }
func (m *IOSKeySettings) String() string { return proto.CompactTextString(m) }
func (*IOSKeySettings) ProtoMessage() {}
func (*IOSKeySettings) Descriptor() ([]byte, []int) {
return fileDescriptor_72b3da91aae1398d, []int{15}
}
func (m *IOSKeySettings) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IOSKeySettings.Unmarshal(m, b)
}
func (m *IOSKeySettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IOSKeySettings.Marshal(b, m, deterministic)
}
func (m *IOSKeySettings) XXX_Merge(src proto.Message) {
xxx_messageInfo_IOSKeySettings.Merge(m, src)
}
func (m *IOSKeySettings) XXX_Size() int {
return xxx_messageInfo_IOSKeySettings.Size(m)
}
func (m *IOSKeySettings) XXX_DiscardUnknown() {
xxx_messageInfo_IOSKeySettings.DiscardUnknown(m)
}
var xxx_messageInfo_IOSKeySettings proto.InternalMessageInfo
func (m *IOSKeySettings) GetAllowedBundleIds() []string {
if m != nil {
return m.AllowedBundleIds
}
return nil
}
func init() {
proto.RegisterEnum("google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest_Annotation", AnnotateAssessmentRequest_Annotation_name, AnnotateAssessmentRequest_Annotation_value)
proto.RegisterEnum("google.cloud.recaptchaenterprise.v1beta1.Assessment_ClassificationReason", Assessment_ClassificationReason_name, Assessment_ClassificationReason_value)
proto.RegisterEnum("google.cloud.recaptchaenterprise.v1beta1.TokenProperties_InvalidReason", TokenProperties_InvalidReason_name, TokenProperties_InvalidReason_value)
proto.RegisterEnum("google.cloud.recaptchaenterprise.v1beta1.WebKeySettings_IntegrationType", WebKeySettings_IntegrationType_name, WebKeySettings_IntegrationType_value)
proto.RegisterEnum("google.cloud.recaptchaenterprise.v1beta1.WebKeySettings_ChallengeSecurityPreference", WebKeySettings_ChallengeSecurityPreference_name, WebKeySettings_ChallengeSecurityPreference_value)
proto.RegisterType((*CreateAssessmentRequest)(nil), "google.cloud.recaptchaenterprise.v1beta1.CreateAssessmentRequest")
proto.RegisterType((*AnnotateAssessmentRequest)(nil), "google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest")
proto.RegisterType((*AnnotateAssessmentResponse)(nil), "google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentResponse")
proto.RegisterType((*Assessment)(nil), "google.cloud.recaptchaenterprise.v1beta1.Assessment")
proto.RegisterType((*Event)(nil), "google.cloud.recaptchaenterprise.v1beta1.Event")
proto.RegisterType((*TokenProperties)(nil), "google.cloud.recaptchaenterprise.v1beta1.TokenProperties")
proto.RegisterType((*CreateKeyRequest)(nil), "google.cloud.recaptchaenterprise.v1beta1.CreateKeyRequest")
proto.RegisterType((*ListKeysRequest)(nil), "google.cloud.recaptchaenterprise.v1beta1.ListKeysRequest")
proto.RegisterType((*ListKeysResponse)(nil), "google.cloud.recaptchaenterprise.v1beta1.ListKeysResponse")
proto.RegisterType((*GetKeyRequest)(nil), "google.cloud.recaptchaenterprise.v1beta1.GetKeyRequest")
proto.RegisterType((*UpdateKeyRequest)(nil), "google.cloud.recaptchaenterprise.v1beta1.UpdateKeyRequest")
proto.RegisterType((*DeleteKeyRequest)(nil), "google.cloud.recaptchaenterprise.v1beta1.DeleteKeyRequest")
proto.RegisterType((*Key)(nil), "google.cloud.recaptchaenterprise.v1beta1.Key")
proto.RegisterType((*WebKeySettings)(nil), "google.cloud.recaptchaenterprise.v1beta1.WebKeySettings")
proto.RegisterType((*AndroidKeySettings)(nil), "google.cloud.recaptchaenterprise.v1beta1.AndroidKeySettings")
proto.RegisterType((*IOSKeySettings)(nil), "google.cloud.recaptchaenterprise.v1beta1.IOSKeySettings")
}
func init() {
proto.RegisterFile("google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto", fileDescriptor_72b3da91aae1398d)
}
var fileDescriptor_72b3da91aae1398d = []byte{
// 2060 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xcf, 0x6f, 0xdb, 0xc8,
0xf5, 0x5f, 0x4a, 0x56, 0x22, 0x3f, 0xc7, 0x12, 0x33, 0xc9, 0xc6, 0x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to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConnInterface
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion6
// RecaptchaEnterpriseServiceV1Beta1Client is the client API for RecaptchaEnterpriseServiceV1Beta1 service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type RecaptchaEnterpriseServiceV1Beta1Client interface {
// Creates an Assessment of the likelihood an event is legitimate.
CreateAssessment(ctx context.Context, in *CreateAssessmentRequest, opts ...grpc.CallOption) (*Assessment, error)
// Annotates a previously created Assessment to provide additional information
// on whether the event turned out to be authentic or fradulent.
AnnotateAssessment(ctx context.Context, in *AnnotateAssessmentRequest, opts ...grpc.CallOption) (*AnnotateAssessmentResponse, error)
// Creates a new reCAPTCHA Enterprise key.
CreateKey(ctx context.Context, in *CreateKeyRequest, opts ...grpc.CallOption) (*Key, error)
// Returns the list of all keys that belong to a project.
ListKeys(ctx context.Context, in *ListKeysRequest, opts ...grpc.CallOption) (*ListKeysResponse, error)
// Returns the specified key.
GetKey(ctx context.Context, in *GetKeyRequest, opts ...grpc.CallOption) (*Key, error)
// Updates the specified key.
UpdateKey(ctx context.Context, in *UpdateKeyRequest, opts ...grpc.CallOption) (*Key, error)
// Deletes the specified key.
DeleteKey(ctx context.Context, in *DeleteKeyRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}
type recaptchaEnterpriseServiceV1Beta1Client struct {
cc grpc.ClientConnInterface
}
func NewRecaptchaEnterpriseServiceV1Beta1Client(cc grpc.ClientConnInterface) RecaptchaEnterpriseServiceV1Beta1Client {
return &recaptchaEnterpriseServiceV1Beta1Client{cc}
}
func (c *recaptchaEnterpriseServiceV1Beta1Client) CreateAssessment(ctx context.Context, in *CreateAssessmentRequest, opts ...grpc.CallOption) (*Assessment, error) {
out := new(Assessment)
err := c.cc.Invoke(ctx, "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/CreateAssessment", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *recaptchaEnterpriseServiceV1Beta1Client) AnnotateAssessment(ctx context.Context, in *AnnotateAssessmentRequest, opts ...grpc.CallOption) (*AnnotateAssessmentResponse, error) {
out := new(AnnotateAssessmentResponse)
err := c.cc.Invoke(ctx, "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/AnnotateAssessment", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *recaptchaEnterpriseServiceV1Beta1Client) CreateKey(ctx context.Context, in *CreateKeyRequest, opts ...grpc.CallOption) (*Key, error) {
out := new(Key)
err := c.cc.Invoke(ctx, "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/CreateKey", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *recaptchaEnterpriseServiceV1Beta1Client) ListKeys(ctx context.Context, in *ListKeysRequest, opts ...grpc.CallOption) (*ListKeysResponse, error) {
out := new(ListKeysResponse)
err := c.cc.Invoke(ctx, "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/ListKeys", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *recaptchaEnterpriseServiceV1Beta1Client) GetKey(ctx context.Context, in *GetKeyRequest, opts ...grpc.CallOption) (*Key, error) {
out := new(Key)
err := c.cc.Invoke(ctx, "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/GetKey", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *recaptchaEnterpriseServiceV1Beta1Client) UpdateKey(ctx context.Context, in *UpdateKeyRequest, opts ...grpc.CallOption) (*Key, error) {
out := new(Key)
err := c.cc.Invoke(ctx, "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/UpdateKey", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *recaptchaEnterpriseServiceV1Beta1Client) DeleteKey(ctx context.Context, in *DeleteKeyRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/DeleteKey", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// RecaptchaEnterpriseServiceV1Beta1Server is the server API for RecaptchaEnterpriseServiceV1Beta1 service.
type RecaptchaEnterpriseServiceV1Beta1Server interface {
// Creates an Assessment of the likelihood an event is legitimate.
CreateAssessment(context.Context, *CreateAssessmentRequest) (*Assessment, error)
// Annotates a previously created Assessment to provide additional information
// on whether the event turned out to be authentic or fradulent.
AnnotateAssessment(context.Context, *AnnotateAssessmentRequest) (*AnnotateAssessmentResponse, error)
// Creates a new reCAPTCHA Enterprise key.
CreateKey(context.Context, *CreateKeyRequest) (*Key, error)
// Returns the list of all keys that belong to a project.
ListKeys(context.Context, *ListKeysRequest) (*ListKeysResponse, error)
// Returns the specified key.
GetKey(context.Context, *GetKeyRequest) (*Key, error)
// Updates the specified key.
UpdateKey(context.Context, *UpdateKeyRequest) (*Key, error)
// Deletes the specified key.
DeleteKey(context.Context, *DeleteKeyRequest) (*empty.Empty, error)
}
// UnimplementedRecaptchaEnterpriseServiceV1Beta1Server can be embedded to have forward compatible implementations.
type UnimplementedRecaptchaEnterpriseServiceV1Beta1Server struct {
}
func (*UnimplementedRecaptchaEnterpriseServiceV1Beta1Server) CreateAssessment(ctx context.Context, req *CreateAssessmentRequest) (*Assessment, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateAssessment not implemented")
}
func (*UnimplementedRecaptchaEnterpriseServiceV1Beta1Server) AnnotateAssessment(ctx context.Context, req *AnnotateAssessmentRequest) (*AnnotateAssessmentResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method AnnotateAssessment not implemented")
}
func (*UnimplementedRecaptchaEnterpriseServiceV1Beta1Server) CreateKey(ctx context.Context, req *CreateKeyRequest) (*Key, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateKey not implemented")
}
func (*UnimplementedRecaptchaEnterpriseServiceV1Beta1Server) ListKeys(ctx context.Context, req *ListKeysRequest) (*ListKeysResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListKeys not implemented")
}
func (*UnimplementedRecaptchaEnterpriseServiceV1Beta1Server) GetKey(ctx context.Context, req *GetKeyRequest) (*Key, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetKey not implemented")
}
func (*UnimplementedRecaptchaEnterpriseServiceV1Beta1Server) UpdateKey(ctx context.Context, req *UpdateKeyRequest) (*Key, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateKey not implemented")
}
func (*UnimplementedRecaptchaEnterpriseServiceV1Beta1Server) DeleteKey(ctx context.Context, req *DeleteKeyRequest) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method DeleteKey not implemented")
}
func RegisterRecaptchaEnterpriseServiceV1Beta1Server(s *grpc.Server, srv RecaptchaEnterpriseServiceV1Beta1Server) {
s.RegisterService(&_RecaptchaEnterpriseServiceV1Beta1_serviceDesc, srv)
}
func _RecaptchaEnterpriseServiceV1Beta1_CreateAssessment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateAssessmentRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RecaptchaEnterpriseServiceV1Beta1Server).CreateAssessment(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/CreateAssessment",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RecaptchaEnterpriseServiceV1Beta1Server).CreateAssessment(ctx, req.(*CreateAssessmentRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RecaptchaEnterpriseServiceV1Beta1_AnnotateAssessment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AnnotateAssessmentRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RecaptchaEnterpriseServiceV1Beta1Server).AnnotateAssessment(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/AnnotateAssessment",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RecaptchaEnterpriseServiceV1Beta1Server).AnnotateAssessment(ctx, req.(*AnnotateAssessmentRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RecaptchaEnterpriseServiceV1Beta1_CreateKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateKeyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RecaptchaEnterpriseServiceV1Beta1Server).CreateKey(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/CreateKey",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RecaptchaEnterpriseServiceV1Beta1Server).CreateKey(ctx, req.(*CreateKeyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RecaptchaEnterpriseServiceV1Beta1_ListKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListKeysRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RecaptchaEnterpriseServiceV1Beta1Server).ListKeys(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/ListKeys",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RecaptchaEnterpriseServiceV1Beta1Server).ListKeys(ctx, req.(*ListKeysRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RecaptchaEnterpriseServiceV1Beta1_GetKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetKeyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RecaptchaEnterpriseServiceV1Beta1Server).GetKey(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/GetKey",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RecaptchaEnterpriseServiceV1Beta1Server).GetKey(ctx, req.(*GetKeyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RecaptchaEnterpriseServiceV1Beta1_UpdateKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateKeyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RecaptchaEnterpriseServiceV1Beta1Server).UpdateKey(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/UpdateKey",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RecaptchaEnterpriseServiceV1Beta1Server).UpdateKey(ctx, req.(*UpdateKeyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RecaptchaEnterpriseServiceV1Beta1_DeleteKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteKeyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RecaptchaEnterpriseServiceV1Beta1Server).DeleteKey(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/DeleteKey",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RecaptchaEnterpriseServiceV1Beta1Server).DeleteKey(ctx, req.(*DeleteKeyRequest))
}
return interceptor(ctx, in, info, handler)
}
var _RecaptchaEnterpriseServiceV1Beta1_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1",
HandlerType: (*RecaptchaEnterpriseServiceV1Beta1Server)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateAssessment",
Handler: _RecaptchaEnterpriseServiceV1Beta1_CreateAssessment_Handler,
},
{
MethodName: "AnnotateAssessment",
Handler: _RecaptchaEnterpriseServiceV1Beta1_AnnotateAssessment_Handler,
},
{
MethodName: "CreateKey",
Handler: _RecaptchaEnterpriseServiceV1Beta1_CreateKey_Handler,
},
{
MethodName: "ListKeys",
Handler: _RecaptchaEnterpriseServiceV1Beta1_ListKeys_Handler,
},
{
MethodName: "GetKey",
Handler: _RecaptchaEnterpriseServiceV1Beta1_GetKey_Handler,
},
{
MethodName: "UpdateKey",
Handler: _RecaptchaEnterpriseServiceV1Beta1_UpdateKey_Handler,
},
{
MethodName: "DeleteKey",
Handler: _RecaptchaEnterpriseServiceV1Beta1_DeleteKey_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto",
}