public final class AssessmentEnvironment extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CLIENT_FIELD_NUMBER
public static final int CLIENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AssessmentEnvironment getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AssessmentEnvironment.Builder newBuilder()
newBuilder(AssessmentEnvironment prototype)
public static AssessmentEnvironment.Builder newBuilder(AssessmentEnvironment prototype)
public static AssessmentEnvironment parseDelimitedFrom(InputStream input)
public static AssessmentEnvironment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AssessmentEnvironment parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AssessmentEnvironment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AssessmentEnvironment parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AssessmentEnvironment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AssessmentEnvironment parseFrom(CodedInputStream input)
public static AssessmentEnvironment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AssessmentEnvironment parseFrom(InputStream input)
public static AssessmentEnvironment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AssessmentEnvironment parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AssessmentEnvironment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AssessmentEnvironment> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
getParserForType()
public Parser<AssessmentEnvironment> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AssessmentEnvironment.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AssessmentEnvironment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AssessmentEnvironment.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides