- 3.50.0 (latest)
- 3.49.0
- 3.48.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.12
- 2.6.1
- 2.5.0
- 2.4.10
- 2.3.1
public static final class RelatedAccountGroupMembership.Builder extends GeneratedMessageV3.Builder<RelatedAccountGroupMembership.Builder> implements RelatedAccountGroupMembershipOrBuilder
A membership in a group of related accounts.
Protobuf type google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RelatedAccountGroupMembership.BuilderImplements
RelatedAccountGroupMembershipOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RelatedAccountGroupMembership.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |
build()
public RelatedAccountGroupMembership build()
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership |
buildPartial()
public RelatedAccountGroupMembership buildPartial()
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership |
clear()
public RelatedAccountGroupMembership.Builder clear()
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |
clearAccountId()
public RelatedAccountGroupMembership.Builder clearAccountId()
The unique stable account identifier of the member. The identifier
corresponds to an account_id
provided in a previous CreateAssessment
or
AnnotateAssessment
call.
string account_id = 4;
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RelatedAccountGroupMembership.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |
clearHashedAccountId() (deprecated)
public RelatedAccountGroupMembership.Builder clearHashedAccountId()
Deprecated. google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership.hashed_account_id is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1987
Deprecated: use account_id
instead.
The unique stable hashed account identifier of the member. The identifier
corresponds to a hashed_account_id
provided in a previous
CreateAssessment
or AnnotateAssessment
call.
bytes hashed_account_id = 2 [deprecated = true];
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |
This builder for chaining. |
clearName()
public RelatedAccountGroupMembership.Builder clearName()
Required. Identifier. The resource name for this membership in the format
projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RelatedAccountGroupMembership.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |
clone()
public RelatedAccountGroupMembership.Builder clone()
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |
getAccountId()
public String getAccountId()
The unique stable account identifier of the member. The identifier
corresponds to an account_id
provided in a previous CreateAssessment
or
AnnotateAssessment
call.
string account_id = 4;
Returns | |
---|---|
Type | Description |
String |
The accountId. |
getAccountIdBytes()
public ByteString getAccountIdBytes()
The unique stable account identifier of the member. The identifier
corresponds to an account_id
provided in a previous CreateAssessment
or
AnnotateAssessment
call.
string account_id = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for accountId. |
getDefaultInstanceForType()
public RelatedAccountGroupMembership getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getHashedAccountId() (deprecated)
public ByteString getHashedAccountId()
Deprecated. google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership.hashed_account_id is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1987
Deprecated: use account_id
instead.
The unique stable hashed account identifier of the member. The identifier
corresponds to a hashed_account_id
provided in a previous
CreateAssessment
or AnnotateAssessment
call.
bytes hashed_account_id = 2 [deprecated = true];
Returns | |
---|---|
Type | Description |
ByteString |
The hashedAccountId. |
getName()
public String getName()
Required. Identifier. The resource name for this membership in the format
projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Required. Identifier. The resource name for this membership in the format
projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RelatedAccountGroupMembership.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RelatedAccountGroupMembership.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |
mergeFrom(RelatedAccountGroupMembership other)
public RelatedAccountGroupMembership.Builder mergeFrom(RelatedAccountGroupMembership other)
Parameter | |
---|---|
Name | Description |
other |
RelatedAccountGroupMembership |
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RelatedAccountGroupMembership.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |
setAccountId(String value)
public RelatedAccountGroupMembership.Builder setAccountId(String value)
The unique stable account identifier of the member. The identifier
corresponds to an account_id
provided in a previous CreateAssessment
or
AnnotateAssessment
call.
string account_id = 4;
Parameter | |
---|---|
Name | Description |
value |
String The accountId to set. |
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |
This builder for chaining. |
setAccountIdBytes(ByteString value)
public RelatedAccountGroupMembership.Builder setAccountIdBytes(ByteString value)
The unique stable account identifier of the member. The identifier
corresponds to an account_id
provided in a previous CreateAssessment
or
AnnotateAssessment
call.
string account_id = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for accountId to set. |
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RelatedAccountGroupMembership.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |
setHashedAccountId(ByteString value) (deprecated)
public RelatedAccountGroupMembership.Builder setHashedAccountId(ByteString value)
Deprecated. google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership.hashed_account_id is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1987
Deprecated: use account_id
instead.
The unique stable hashed account identifier of the member. The identifier
corresponds to a hashed_account_id
provided in a previous
CreateAssessment
or AnnotateAssessment
call.
bytes hashed_account_id = 2 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value |
ByteString The hashedAccountId to set. |
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |
This builder for chaining. |
setName(String value)
public RelatedAccountGroupMembership.Builder setName(String value)
Required. Identifier. The resource name for this membership in the format
projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public RelatedAccountGroupMembership.Builder setNameBytes(ByteString value)
Required. Identifier. The resource name for this membership in the format
projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RelatedAccountGroupMembership.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RelatedAccountGroupMembership.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RelatedAccountGroupMembership.Builder |