Class AccountDefenderAssessment.Builder (3.51.0)

public static final class AccountDefenderAssessment.Builder extends GeneratedMessageV3.Builder<AccountDefenderAssessment.Builder> implements AccountDefenderAssessmentOrBuilder

Account defender risk assessment.

Protobuf type google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllLabels(Iterable<? extends AccountDefenderAssessment.AccountDefenderLabel> values)

public AccountDefenderAssessment.Builder addAllLabels(Iterable<? extends AccountDefenderAssessment.AccountDefenderLabel> values)

Output only. Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel>

The labels to add.

Returns
Type Description
AccountDefenderAssessment.Builder

This builder for chaining.

addAllLabelsValue(Iterable<Integer> values)

public AccountDefenderAssessment.Builder addAllLabelsValue(Iterable<Integer> values)

Output only. Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for labels to add.

Returns
Type Description
AccountDefenderAssessment.Builder

This builder for chaining.

addLabels(AccountDefenderAssessment.AccountDefenderLabel value)

public AccountDefenderAssessment.Builder addLabels(AccountDefenderAssessment.AccountDefenderLabel value)

Output only. Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AccountDefenderAssessment.AccountDefenderLabel

The labels to add.

Returns
Type Description
AccountDefenderAssessment.Builder

This builder for chaining.

addLabelsValue(int value)

public AccountDefenderAssessment.Builder addLabelsValue(int value)

Output only. Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for labels to add.

Returns
Type Description
AccountDefenderAssessment.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AccountDefenderAssessment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AccountDefenderAssessment.Builder
Overrides

build()

public AccountDefenderAssessment build()
Returns
Type Description
AccountDefenderAssessment

buildPartial()

public AccountDefenderAssessment buildPartial()
Returns
Type Description
AccountDefenderAssessment

clear()

public AccountDefenderAssessment.Builder clear()
Returns
Type Description
AccountDefenderAssessment.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AccountDefenderAssessment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AccountDefenderAssessment.Builder
Overrides

clearLabels()

public AccountDefenderAssessment.Builder clearLabels()

Output only. Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AccountDefenderAssessment.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AccountDefenderAssessment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AccountDefenderAssessment.Builder
Overrides

clone()

public AccountDefenderAssessment.Builder clone()
Returns
Type Description
AccountDefenderAssessment.Builder
Overrides

getDefaultInstanceForType()

public AccountDefenderAssessment getDefaultInstanceForType()
Returns
Type Description
AccountDefenderAssessment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLabels(int index)

public AccountDefenderAssessment.AccountDefenderLabel getLabels(int index)

Output only. Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
AccountDefenderAssessment.AccountDefenderLabel

The labels at the given index.

getLabelsCount()

public int getLabelsCount()

Output only. Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of labels.

getLabelsList()

public List<AccountDefenderAssessment.AccountDefenderLabel> getLabelsList()

Output only. Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<AccountDefenderLabel>

A list containing the labels.

getLabelsValue(int index)

public int getLabelsValue(int index)

Output only. Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of labels at the given index.

getLabelsValueList()

public List<Integer> getLabelsValueList()

Output only. Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for labels.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AccountDefenderAssessment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccountDefenderAssessment.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AccountDefenderAssessment.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AccountDefenderAssessment.Builder
Overrides

mergeFrom(AccountDefenderAssessment other)

public AccountDefenderAssessment.Builder mergeFrom(AccountDefenderAssessment other)
Parameter
Name Description
other AccountDefenderAssessment
Returns
Type Description
AccountDefenderAssessment.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AccountDefenderAssessment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AccountDefenderAssessment.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AccountDefenderAssessment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AccountDefenderAssessment.Builder
Overrides

setLabels(int index, AccountDefenderAssessment.AccountDefenderLabel value)

public AccountDefenderAssessment.Builder setLabels(int index, AccountDefenderAssessment.AccountDefenderLabel value)

Output only. Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value AccountDefenderAssessment.AccountDefenderLabel

The labels to set.

Returns
Type Description
AccountDefenderAssessment.Builder

This builder for chaining.

setLabelsValue(int index, int value)

public AccountDefenderAssessment.Builder setLabelsValue(int index, int value)

Output only. Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for labels to set.

Returns
Type Description
AccountDefenderAssessment.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AccountDefenderAssessment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AccountDefenderAssessment.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AccountDefenderAssessment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AccountDefenderAssessment.Builder
Overrides