- 3.50.0 (latest)
- 3.49.0
- 3.48.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.12
- 2.6.1
- 2.5.0
- 2.4.10
- 2.3.1
public static final class Assessment.Builder extends GeneratedMessageV3.Builder<Assessment.Builder> implements AssessmentOrBuilder
A recaptcha assessment resource.
Protobuf type google.cloud.recaptchaenterprise.v1.Assessment
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Assessment.BuilderImplements
AssessmentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Assessment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Assessment.Builder |
build()
public Assessment build()
Type | Description |
Assessment |
buildPartial()
public Assessment buildPartial()
Type | Description |
Assessment |
clear()
public Assessment.Builder clear()
Type | Description |
Assessment.Builder |
clearAccountDefenderAssessment()
public Assessment.Builder clearAccountDefenderAssessment()
Assessment returned by Account Defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6;
Type | Description |
Assessment.Builder |
clearEvent()
public Assessment.Builder clearEvent()
The event being assessed.
.google.cloud.recaptchaenterprise.v1.Event event = 2;
Type | Description |
Assessment.Builder |
clearField(Descriptors.FieldDescriptor field)
public Assessment.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Assessment.Builder |
clearName()
public Assessment.Builder clearName()
Output only. The resource name for the Assessment in the format "projects/{project}/assessments/{assessment}".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Assessment.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Assessment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Assessment.Builder |
clearRiskAnalysis()
public Assessment.Builder clearRiskAnalysis()
Output only. The risk analysis result for the event being assessed.
.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Assessment.Builder |
clearTokenProperties()
public Assessment.Builder clearTokenProperties()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Assessment.Builder |
clone()
public Assessment.Builder clone()
Type | Description |
Assessment.Builder |
getAccountDefenderAssessment()
public AccountDefenderAssessment getAccountDefenderAssessment()
Assessment returned by Account Defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6;
Type | Description |
AccountDefenderAssessment | The accountDefenderAssessment. |
getAccountDefenderAssessmentBuilder()
public AccountDefenderAssessment.Builder getAccountDefenderAssessmentBuilder()
Assessment returned by Account Defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6;
Type | Description |
AccountDefenderAssessment.Builder |
getAccountDefenderAssessmentOrBuilder()
public AccountDefenderAssessmentOrBuilder getAccountDefenderAssessmentOrBuilder()
Assessment returned by Account Defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6;
Type | Description |
AccountDefenderAssessmentOrBuilder |
getDefaultInstanceForType()
public Assessment getDefaultInstanceForType()
Type | Description |
Assessment |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEvent()
public Event getEvent()
The event being assessed.
.google.cloud.recaptchaenterprise.v1.Event event = 2;
Type | Description |
Event | The event. |
getEventBuilder()
public Event.Builder getEventBuilder()
The event being assessed.
.google.cloud.recaptchaenterprise.v1.Event event = 2;
Type | Description |
Event.Builder |
getEventOrBuilder()
public EventOrBuilder getEventOrBuilder()
The event being assessed.
.google.cloud.recaptchaenterprise.v1.Event event = 2;
Type | Description |
EventOrBuilder |
getName()
public String getName()
Output only. The resource name for the Assessment in the format "projects/{project}/assessments/{assessment}".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name for the Assessment in the format "projects/{project}/assessments/{assessment}".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getRiskAnalysis()
public RiskAnalysis getRiskAnalysis()
Output only. The risk analysis result for the event being assessed.
.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
RiskAnalysis | The riskAnalysis. |
getRiskAnalysisBuilder()
public RiskAnalysis.Builder getRiskAnalysisBuilder()
Output only. The risk analysis result for the event being assessed.
.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
RiskAnalysis.Builder |
getRiskAnalysisOrBuilder()
public RiskAnalysisOrBuilder getRiskAnalysisOrBuilder()
Output only. The risk analysis result for the event being assessed.
.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
RiskAnalysisOrBuilder |
getTokenProperties()
public TokenProperties getTokenProperties()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TokenProperties | The tokenProperties. |
getTokenPropertiesBuilder()
public TokenProperties.Builder getTokenPropertiesBuilder()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TokenProperties.Builder |
getTokenPropertiesOrBuilder()
public TokenPropertiesOrBuilder getTokenPropertiesOrBuilder()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TokenPropertiesOrBuilder |
hasAccountDefenderAssessment()
public boolean hasAccountDefenderAssessment()
Assessment returned by Account Defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6;
Type | Description |
boolean | Whether the accountDefenderAssessment field is set. |
hasEvent()
public boolean hasEvent()
The event being assessed.
.google.cloud.recaptchaenterprise.v1.Event event = 2;
Type | Description |
boolean | Whether the event field is set. |
hasRiskAnalysis()
public boolean hasRiskAnalysis()
Output only. The risk analysis result for the event being assessed.
.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the riskAnalysis field is set. |
hasTokenProperties()
public boolean hasTokenProperties()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the tokenProperties field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAccountDefenderAssessment(AccountDefenderAssessment value)
public Assessment.Builder mergeAccountDefenderAssessment(AccountDefenderAssessment value)
Assessment returned by Account Defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6;
Name | Description |
value | AccountDefenderAssessment |
Type | Description |
Assessment.Builder |
mergeEvent(Event value)
public Assessment.Builder mergeEvent(Event value)
The event being assessed.
.google.cloud.recaptchaenterprise.v1.Event event = 2;
Name | Description |
value | Event |
Type | Description |
Assessment.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Assessment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Assessment.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Assessment.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Assessment.Builder |
mergeFrom(Assessment other)
public Assessment.Builder mergeFrom(Assessment other)
Name | Description |
other | Assessment |
Type | Description |
Assessment.Builder |
mergeRiskAnalysis(RiskAnalysis value)
public Assessment.Builder mergeRiskAnalysis(RiskAnalysis value)
Output only. The risk analysis result for the event being assessed.
.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | RiskAnalysis |
Type | Description |
Assessment.Builder |
mergeTokenProperties(TokenProperties value)
public Assessment.Builder mergeTokenProperties(TokenProperties value)
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | TokenProperties |
Type | Description |
Assessment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Assessment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Assessment.Builder |
setAccountDefenderAssessment(AccountDefenderAssessment value)
public Assessment.Builder setAccountDefenderAssessment(AccountDefenderAssessment value)
Assessment returned by Account Defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6;
Name | Description |
value | AccountDefenderAssessment |
Type | Description |
Assessment.Builder |
setAccountDefenderAssessment(AccountDefenderAssessment.Builder builderForValue)
public Assessment.Builder setAccountDefenderAssessment(AccountDefenderAssessment.Builder builderForValue)
Assessment returned by Account Defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6;
Name | Description |
builderForValue | AccountDefenderAssessment.Builder |
Type | Description |
Assessment.Builder |
setEvent(Event value)
public Assessment.Builder setEvent(Event value)
The event being assessed.
.google.cloud.recaptchaenterprise.v1.Event event = 2;
Name | Description |
value | Event |
Type | Description |
Assessment.Builder |
setEvent(Event.Builder builderForValue)
public Assessment.Builder setEvent(Event.Builder builderForValue)
The event being assessed.
.google.cloud.recaptchaenterprise.v1.Event event = 2;
Name | Description |
builderForValue | Event.Builder |
Type | Description |
Assessment.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Assessment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Assessment.Builder |
setName(String value)
public Assessment.Builder setName(String value)
Output only. The resource name for the Assessment in the format "projects/{project}/assessments/{assessment}".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
Assessment.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Assessment.Builder setNameBytes(ByteString value)
Output only. The resource name for the Assessment in the format "projects/{project}/assessments/{assessment}".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Assessment.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Assessment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Assessment.Builder |
setRiskAnalysis(RiskAnalysis value)
public Assessment.Builder setRiskAnalysis(RiskAnalysis value)
Output only. The risk analysis result for the event being assessed.
.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | RiskAnalysis |
Type | Description |
Assessment.Builder |
setRiskAnalysis(RiskAnalysis.Builder builderForValue)
public Assessment.Builder setRiskAnalysis(RiskAnalysis.Builder builderForValue)
Output only. The risk analysis result for the event being assessed.
.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | RiskAnalysis.Builder |
Type | Description |
Assessment.Builder |
setTokenProperties(TokenProperties value)
public Assessment.Builder setTokenProperties(TokenProperties value)
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | TokenProperties |
Type | Description |
Assessment.Builder |
setTokenProperties(TokenProperties.Builder builderForValue)
public Assessment.Builder setTokenProperties(TokenProperties.Builder builderForValue)
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | TokenProperties.Builder |
Type | Description |
Assessment.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Assessment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Assessment.Builder |