public static final class AccountDefenderAssessment.Builder extends GeneratedMessageV3.Builder<AccountDefenderAssessment.Builder> implements AccountDefenderAssessmentOrBuilder
Account Defender risk assessment.
Protobuf type google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addAllLabels(Iterable<? extends AccountDefenderAssessment.AccountDefenderLabel> values)
public AccountDefenderAssessment.Builder addAllLabels(Iterable<? extends AccountDefenderAssessment.AccountDefenderLabel> values)
Labels for this request.
repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel>
The labels to add.
|
Returns
addAllLabelsValue(Iterable<Integer> values)
public AccountDefenderAssessment.Builder addAllLabelsValue(Iterable<Integer> values)
Labels for this request.
repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
Parameter
Name | Description |
values | Iterable<Integer>
The enum numeric values on the wire for labels to add.
|
Returns
addLabels(AccountDefenderAssessment.AccountDefenderLabel value)
public AccountDefenderAssessment.Builder addLabels(AccountDefenderAssessment.AccountDefenderLabel value)
Labels for this request.
repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
Parameter
Returns
addLabelsValue(int value)
public AccountDefenderAssessment.Builder addLabelsValue(int value)
Labels for this request.
repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for labels to add.
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AccountDefenderAssessment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AccountDefenderAssessment build()
Returns
buildPartial()
public AccountDefenderAssessment buildPartial()
Returns
clear()
public AccountDefenderAssessment.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AccountDefenderAssessment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLabels()
public AccountDefenderAssessment.Builder clearLabels()
Labels for this request.
repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AccountDefenderAssessment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AccountDefenderAssessment.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AccountDefenderAssessment getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLabels(int index)
public AccountDefenderAssessment.AccountDefenderLabel getLabels(int index)
Labels for this request.
repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
getLabelsCount()
public int getLabelsCount()
Labels for this request.
repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
Returns
Type | Description |
int | The count of labels.
|
getLabelsList()
public List<AccountDefenderAssessment.AccountDefenderLabel> getLabelsList()
Labels for this request.
repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
Returns
getLabelsValue(int index)
public int getLabelsValue(int index)
Labels for this request.
repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
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()
Labels for this request.
repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
Returns
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for labels.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public AccountDefenderAssessment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AccountDefenderAssessment.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(AccountDefenderAssessment other)
public AccountDefenderAssessment.Builder mergeFrom(AccountDefenderAssessment other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AccountDefenderAssessment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AccountDefenderAssessment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLabels(int index, AccountDefenderAssessment.AccountDefenderLabel value)
public AccountDefenderAssessment.Builder setLabels(int index, AccountDefenderAssessment.AccountDefenderLabel value)
Labels for this request.
repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
Parameters
Returns
setLabelsValue(int index, int value)
public AccountDefenderAssessment.Builder setLabelsValue(int index, int value)
Labels for this request.
repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AccountDefenderAssessment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AccountDefenderAssessment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides