Class AccountDefenderAssessment.Builder (3.21.0)

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

Account defender risk assessment.

Protobuf type google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

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

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

Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.recaptchaenterprise.v1beta1.AccountDefenderAssessment.AccountDefenderLabel>

The labels to add.

Returns
TypeDescription
AccountDefenderAssessment.Builder

This builder for chaining.

addAllLabelsValue(Iterable<Integer> values)

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

Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;

Parameter
NameDescription
valuesIterable<Integer>

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

Returns
TypeDescription
AccountDefenderAssessment.Builder

This builder for chaining.

addLabels(AccountDefenderAssessment.AccountDefenderLabel value)

public AccountDefenderAssessment.Builder addLabels(AccountDefenderAssessment.AccountDefenderLabel value)

Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;

Parameter
NameDescription
valueAccountDefenderAssessment.AccountDefenderLabel

The labels to add.

Returns
TypeDescription
AccountDefenderAssessment.Builder

This builder for chaining.

addLabelsValue(int value)

public AccountDefenderAssessment.Builder addLabelsValue(int value)

Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
AccountDefenderAssessment.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AccountDefenderAssessment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AccountDefenderAssessment.Builder
Overrides

build()

public AccountDefenderAssessment build()
Returns
TypeDescription
AccountDefenderAssessment

buildPartial()

public AccountDefenderAssessment buildPartial()
Returns
TypeDescription
AccountDefenderAssessment

clear()

public AccountDefenderAssessment.Builder clear()
Returns
TypeDescription
AccountDefenderAssessment.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AccountDefenderAssessment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AccountDefenderAssessment.Builder
Overrides

clearLabels()

public AccountDefenderAssessment.Builder clearLabels()

Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;

Returns
TypeDescription
AccountDefenderAssessment.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AccountDefenderAssessment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AccountDefenderAssessment.Builder
Overrides

clone()

public AccountDefenderAssessment.Builder clone()
Returns
TypeDescription
AccountDefenderAssessment.Builder
Overrides

getDefaultInstanceForType()

public AccountDefenderAssessment getDefaultInstanceForType()
Returns
TypeDescription
AccountDefenderAssessment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLabels(int index)

public AccountDefenderAssessment.AccountDefenderLabel getLabels(int index)

Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
AccountDefenderAssessment.AccountDefenderLabel

The labels at the given index.

getLabelsCount()

public int getLabelsCount()

Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;

Returns
TypeDescription
int

The count of labels.

getLabelsList()

public List<AccountDefenderAssessment.AccountDefenderLabel> getLabelsList()

Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;

Returns
TypeDescription
List<AccountDefenderLabel>

A list containing the labels.

getLabelsValue(int index)

public int getLabelsValue(int index)

Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

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

getLabelsValueList()

public List<Integer> getLabelsValueList()

Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;

Returns
TypeDescription
List<Integer>

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AccountDefenderAssessment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccountDefenderAssessment.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AccountDefenderAssessment.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AccountDefenderAssessment.Builder
Overrides

mergeFrom(AccountDefenderAssessment other)

public AccountDefenderAssessment.Builder mergeFrom(AccountDefenderAssessment other)
Parameter
NameDescription
otherAccountDefenderAssessment
Returns
TypeDescription
AccountDefenderAssessment.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AccountDefenderAssessment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AccountDefenderAssessment.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AccountDefenderAssessment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AccountDefenderAssessment.Builder
Overrides

setLabels(int index, AccountDefenderAssessment.AccountDefenderLabel value)

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

Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueAccountDefenderAssessment.AccountDefenderLabel

The labels to set.

Returns
TypeDescription
AccountDefenderAssessment.Builder

This builder for chaining.

setLabelsValue(int index, int value)

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

Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AccountDefenderAssessment.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AccountDefenderAssessment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AccountDefenderAssessment.Builder
Overrides