Class ListRelatedAccountGroupsRequest.Builder (3.21.0)

public static final class ListRelatedAccountGroupsRequest.Builder extends GeneratedMessageV3.Builder<ListRelatedAccountGroupsRequest.Builder> implements ListRelatedAccountGroupsRequestOrBuilder

The request message to list related account groups.

Protobuf type google.cloud.recaptchaenterprise.v1.ListRelatedAccountGroupsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListRelatedAccountGroupsRequest build()
Returns
TypeDescription
ListRelatedAccountGroupsRequest

buildPartial()

public ListRelatedAccountGroupsRequest buildPartial()
Returns
TypeDescription
ListRelatedAccountGroupsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListRelatedAccountGroupsRequest.Builder clearPageSize()

Optional. The maximum number of groups to return. The service might return fewer than this value. If unspecified, at most 50 groups are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListRelatedAccountGroupsRequest.Builder

This builder for chaining.

clearPageToken()

public ListRelatedAccountGroupsRequest.Builder clearPageToken()

Optional. A page token, received from a previous ListRelatedAccountGroups call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListRelatedAccountGroups must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListRelatedAccountGroupsRequest.Builder

This builder for chaining.

clearParent()

public ListRelatedAccountGroupsRequest.Builder clearParent()

Required. The name of the project to list related account groups from, in the format "projects/{project}".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ListRelatedAccountGroupsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListRelatedAccountGroupsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListRelatedAccountGroupsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

Optional. The maximum number of groups to return. The service might return fewer than this value. If unspecified, at most 50 groups are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A page token, received from a previous ListRelatedAccountGroups call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListRelatedAccountGroups must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A page token, received from a previous ListRelatedAccountGroups call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListRelatedAccountGroups must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The name of the project to list related account groups from, in the format "projects/{project}".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the project to list related account groups from, in the format "projects/{project}".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(ListRelatedAccountGroupsRequest other)

public ListRelatedAccountGroupsRequest.Builder mergeFrom(ListRelatedAccountGroupsRequest other)
Parameter
NameDescription
otherListRelatedAccountGroupsRequest
Returns
TypeDescription
ListRelatedAccountGroupsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListRelatedAccountGroupsRequest.Builder setPageSize(int value)

Optional. The maximum number of groups to return. The service might return fewer than this value. If unspecified, at most 50 groups are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListRelatedAccountGroupsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListRelatedAccountGroupsRequest.Builder setPageToken(String value)

Optional. A page token, received from a previous ListRelatedAccountGroups call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListRelatedAccountGroups must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListRelatedAccountGroupsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListRelatedAccountGroupsRequest.Builder setPageTokenBytes(ByteString value)

Optional. A page token, received from a previous ListRelatedAccountGroups call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListRelatedAccountGroups must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListRelatedAccountGroupsRequest.Builder

This builder for chaining.

setParent(String value)

public ListRelatedAccountGroupsRequest.Builder setParent(String value)

Required. The name of the project to list related account groups from, in the format "projects/{project}".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListRelatedAccountGroupsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListRelatedAccountGroupsRequest.Builder setParentBytes(ByteString value)

Required. The name of the project to list related account groups from, in the format "projects/{project}".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListRelatedAccountGroupsRequest.Builder

This builder for chaining.

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

public ListRelatedAccountGroupsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListRelatedAccountGroupsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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