Send feedback
Class AssessmentEnvironment.Builder (3.51.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.51.0 keyboard_arrow_down
public static final class AssessmentEnvironment . Builder extends GeneratedMessageV3 . Builder<AssessmentEnvironment . Builder > implements AssessmentEnvironmentOrBuilder
The environment creating the assessment. This describes your environment
(the system invoking CreateAssessment), NOT the environment of your user.
Protobuf type google.cloud.recaptchaenterprise.v1.AssessmentEnvironment
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AssessmentEnvironment . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public AssessmentEnvironment build ()
buildPartial()
public AssessmentEnvironment buildPartial ()
clear()
public AssessmentEnvironment . Builder clear ()
Overrides
clearClient()
public AssessmentEnvironment . Builder clearClient ()
Optional. Identifies the client module initiating the CreateAssessment
request. This can be the link to the client module's project. Examples
include:
"github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager"
"cloud.google.com/recaptcha/docs/implement-waf-akamai"
"cloud.google.com/recaptcha/docs/implement-waf-cloudflare"
"wordpress.org/plugins/recaptcha-something"
string client = 1 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public AssessmentEnvironment . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AssessmentEnvironment . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearVersion()
public AssessmentEnvironment . Builder clearVersion ()
Optional. The version of the client module. For example, "1.0.0".
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public AssessmentEnvironment . Builder clone ()
Overrides
getClient()
public String getClient ()
Optional. Identifies the client module initiating the CreateAssessment
request. This can be the link to the client module's project. Examples
include:
"github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager"
"cloud.google.com/recaptcha/docs/implement-waf-akamai"
"cloud.google.com/recaptcha/docs/implement-waf-cloudflare"
"wordpress.org/plugins/recaptcha-something"
string client = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The client.
getClientBytes()
public ByteString getClientBytes ()
Optional. Identifies the client module initiating the CreateAssessment
request. This can be the link to the client module's project. Examples
include:
"github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager"
"cloud.google.com/recaptcha/docs/implement-waf-akamai"
"cloud.google.com/recaptcha/docs/implement-waf-cloudflare"
"wordpress.org/plugins/recaptcha-something"
string client = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for client.
getDefaultInstanceForType()
public AssessmentEnvironment getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getVersion()
public String getVersion ()
Optional. The version of the client module. For example, "1.0.0".
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The version.
getVersionBytes()
public ByteString getVersionBytes ()
Optional. The version of the client module. For example, "1.0.0".
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for version.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
public AssessmentEnvironment . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public AssessmentEnvironment . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeFrom(AssessmentEnvironment other)
public AssessmentEnvironment . Builder mergeFrom ( AssessmentEnvironment other )
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AssessmentEnvironment . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setClient(String value)
public AssessmentEnvironment . Builder setClient ( String value )
Optional. Identifies the client module initiating the CreateAssessment
request. This can be the link to the client module's project. Examples
include:
"github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager"
"cloud.google.com/recaptcha/docs/implement-waf-akamai"
"cloud.google.com/recaptcha/docs/implement-waf-cloudflare"
"wordpress.org/plugins/recaptcha-something"
string client = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
String
The client to set.
setClientBytes(ByteString value)
public AssessmentEnvironment . Builder setClientBytes ( ByteString value )
Optional. Identifies the client module initiating the CreateAssessment
request. This can be the link to the client module's project. Examples
include:
"github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager"
"cloud.google.com/recaptcha/docs/implement-waf-akamai"
"cloud.google.com/recaptcha/docs/implement-waf-cloudflare"
"wordpress.org/plugins/recaptcha-something"
string client = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
ByteString
The bytes for client to set.
setField(Descriptors.FieldDescriptor field, Object value)
public AssessmentEnvironment . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AssessmentEnvironment . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AssessmentEnvironment . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setVersion(String value)
public AssessmentEnvironment . Builder setVersion ( String value )
Optional. The version of the client module. For example, "1.0.0".
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
String
The version to set.
setVersionBytes(ByteString value)
public AssessmentEnvironment . Builder setVersionBytes ( ByteString value )
Optional. The version of the client module. For example, "1.0.0".
string version = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
ByteString
The bytes for version to set.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]