public static final class CreateAssessmentRequest.Builder extends GeneratedMessageV3.Builder<CreateAssessmentRequest.Builder> implements CreateAssessmentRequestOrBuilder
The create assessment request message.
Protobuf type google.cloud.recaptchaenterprise.v1.CreateAssessmentRequest
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 CreateAssessmentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateAssessmentRequest build()
buildPartial()
public CreateAssessmentRequest buildPartial()
clear()
public CreateAssessmentRequest.Builder clear()
Overrides
clearAssessment()
public CreateAssessmentRequest.Builder clearAssessment()
Required. The assessment details.
.google.cloud.recaptchaenterprise.v1.Assessment assessment = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateAssessmentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateAssessmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateAssessmentRequest.Builder clearParent()
Required. The name of the project in which the assessment is created,
in the format projects/{project}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateAssessmentRequest.Builder clone()
Overrides
getAssessment()
public Assessment getAssessment()
Required. The assessment details.
.google.cloud.recaptchaenterprise.v1.Assessment assessment = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Assessment |
The assessment.
|
getAssessmentBuilder()
public Assessment.Builder getAssessmentBuilder()
Required. The assessment details.
.google.cloud.recaptchaenterprise.v1.Assessment assessment = 2 [(.google.api.field_behavior) = REQUIRED];
getAssessmentOrBuilder()
public AssessmentOrBuilder getAssessmentOrBuilder()
Required. The assessment details.
.google.cloud.recaptchaenterprise.v1.Assessment assessment = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateAssessmentRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The name of the project in which the assessment is created,
in the format projects/{project}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The name of the project in which the assessment is created,
in the format projects/{project}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
hasAssessment()
public boolean hasAssessment()
Required. The assessment details.
.google.cloud.recaptchaenterprise.v1.Assessment assessment = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the assessment field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAssessment(Assessment value)
public CreateAssessmentRequest.Builder mergeAssessment(Assessment value)
Required. The assessment details.
.google.cloud.recaptchaenterprise.v1.Assessment assessment = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateAssessmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateAssessmentRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(CreateAssessmentRequest other)
public CreateAssessmentRequest.Builder mergeFrom(CreateAssessmentRequest other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateAssessmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAssessment(Assessment value)
public CreateAssessmentRequest.Builder setAssessment(Assessment value)
Required. The assessment details.
.google.cloud.recaptchaenterprise.v1.Assessment assessment = 2 [(.google.api.field_behavior) = REQUIRED];
setAssessment(Assessment.Builder builderForValue)
public CreateAssessmentRequest.Builder setAssessment(Assessment.Builder builderForValue)
Required. The assessment details.
.google.cloud.recaptchaenterprise.v1.Assessment assessment = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateAssessmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateAssessmentRequest.Builder setParent(String value)
Required. The name of the project in which the assessment is created,
in the format projects/{project}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateAssessmentRequest.Builder setParentBytes(ByteString value)
Required. The name of the project in which the assessment is created,
in the format projects/{project}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateAssessmentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateAssessmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides