public static final class RelatedAccountGroup.Builder extends GeneratedMessageV3.Builder<RelatedAccountGroup.Builder> implements RelatedAccountGroupOrBuilder
A group of related accounts.
Protobuf type google.cloud.recaptchaenterprise.v1.RelatedAccountGroup
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public RelatedAccountGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public RelatedAccountGroup build()
Returns
public RelatedAccountGroup buildPartial()
Returns
public RelatedAccountGroup.Builder clear()
Returns
Overrides
public RelatedAccountGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public RelatedAccountGroup.Builder clearName()
Required. The resource name for the related account group in the format
projects/{project}/relatedaccountgroups/{related_account_group}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public RelatedAccountGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public RelatedAccountGroup.Builder clone()
Returns
Overrides
public RelatedAccountGroup getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
Required. The resource name for the related account group in the format
projects/{project}/relatedaccountgroups/{related_account_group}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Required. The resource name for the related account group in the format
projects/{project}/relatedaccountgroups/{related_account_group}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public RelatedAccountGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public RelatedAccountGroup.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public RelatedAccountGroup.Builder mergeFrom(RelatedAccountGroup other)
Parameter
Returns
public final RelatedAccountGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public RelatedAccountGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public RelatedAccountGroup.Builder setName(String value)
Required. The resource name for the related account group in the format
projects/{project}/relatedaccountgroups/{related_account_group}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
public RelatedAccountGroup.Builder setNameBytes(ByteString value)
Required. The resource name for the related account group in the format
projects/{project}/relatedaccountgroups/{related_account_group}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
public RelatedAccountGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final RelatedAccountGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides