Class ListUserGroupsResponse.Builder (0.48.0)

public static final class ListUserGroupsResponse.Builder extends GeneratedMessage.Builder<ListUserGroupsResponse.Builder> implements ListUserGroupsResponseOrBuilder

Response message for ListUserGroups RPC.

Protobuf type google.marketingplatform.admin.v1alpha.ListUserGroupsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllUserGroups(Iterable<? extends UserGroup> values)

public ListUserGroupsResponse.Builder addAllUserGroups(Iterable<? extends UserGroup> values)

User groups in the organization.

repeated .google.marketingplatform.admin.v1alpha.UserGroup user_groups = 1;

Parameter
Name Description
values Iterable<? extends com.google.ads.marketingplatform.admin.v1alpha.UserGroup>
Returns
Type Description
ListUserGroupsResponse.Builder

addUserGroups(UserGroup value)

public ListUserGroupsResponse.Builder addUserGroups(UserGroup value)

User groups in the organization.

repeated .google.marketingplatform.admin.v1alpha.UserGroup user_groups = 1;

Parameter
Name Description
value UserGroup
Returns
Type Description
ListUserGroupsResponse.Builder

addUserGroups(UserGroup.Builder builderForValue)

public ListUserGroupsResponse.Builder addUserGroups(UserGroup.Builder builderForValue)

User groups in the organization.

repeated .google.marketingplatform.admin.v1alpha.UserGroup user_groups = 1;

Parameter
Name Description
builderForValue UserGroup.Builder
Returns
Type Description
ListUserGroupsResponse.Builder

addUserGroups(int index, UserGroup value)

public ListUserGroupsResponse.Builder addUserGroups(int index, UserGroup value)

User groups in the organization.

repeated .google.marketingplatform.admin.v1alpha.UserGroup user_groups = 1;

Parameters
Name Description
index int
value UserGroup
Returns
Type Description
ListUserGroupsResponse.Builder

addUserGroups(int index, UserGroup.Builder builderForValue)

public ListUserGroupsResponse.Builder addUserGroups(int index, UserGroup.Builder builderForValue)

User groups in the organization.

repeated .google.marketingplatform.admin.v1alpha.UserGroup user_groups = 1;

Parameters
Name Description
index int
builderForValue UserGroup.Builder
Returns
Type Description
ListUserGroupsResponse.Builder

addUserGroupsBuilder()

public UserGroup.Builder addUserGroupsBuilder()

User groups in the organization.

repeated .google.marketingplatform.admin.v1alpha.UserGroup user_groups = 1;

Returns
Type Description
UserGroup.Builder

addUserGroupsBuilder(int index)

public UserGroup.Builder addUserGroupsBuilder(int index)

User groups in the organization.

repeated .google.marketingplatform.admin.v1alpha.UserGroup user_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
UserGroup.Builder

build()

public ListUserGroupsResponse build()
Returns
Type Description
ListUserGroupsResponse

buildPartial()

public ListUserGroupsResponse buildPartial()
Returns
Type Description
ListUserGroupsResponse

clear()

public ListUserGroupsResponse.Builder clear()
Returns
Type Description
ListUserGroupsResponse.Builder
Overrides

clearNextPageToken()

public ListUserGroupsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListUserGroupsResponse.Builder

This builder for chaining.

clearUserGroups()

public ListUserGroupsResponse.Builder clearUserGroups()

User groups in the organization.

repeated .google.marketingplatform.admin.v1alpha.UserGroup user_groups = 1;

Returns
Type Description
ListUserGroupsResponse.Builder

getDefaultInstanceForType()

public ListUserGroupsResponse getDefaultInstanceForType()
Returns
Type Description
ListUserGroupsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUserGroups(int index)

public UserGroup getUserGroups(int index)

User groups in the organization.

repeated .google.marketingplatform.admin.v1alpha.UserGroup user_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
UserGroup

getUserGroupsBuilder(int index)

public UserGroup.Builder getUserGroupsBuilder(int index)

User groups in the organization.

repeated .google.marketingplatform.admin.v1alpha.UserGroup user_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
UserGroup.Builder

getUserGroupsBuilderList()

public List<UserGroup.Builder> getUserGroupsBuilderList()

User groups in the organization.

repeated .google.marketingplatform.admin.v1alpha.UserGroup user_groups = 1;

Returns
Type Description
List<Builder>

getUserGroupsCount()

public int getUserGroupsCount()

User groups in the organization.

repeated .google.marketingplatform.admin.v1alpha.UserGroup user_groups = 1;

Returns
Type Description
int

getUserGroupsList()

public List<UserGroup> getUserGroupsList()

User groups in the organization.

repeated .google.marketingplatform.admin.v1alpha.UserGroup user_groups = 1;

Returns
Type Description
List<UserGroup>

getUserGroupsOrBuilder(int index)

public UserGroupOrBuilder getUserGroupsOrBuilder(int index)

User groups in the organization.

repeated .google.marketingplatform.admin.v1alpha.UserGroup user_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
UserGroupOrBuilder

getUserGroupsOrBuilderList()

public List<? extends UserGroupOrBuilder> getUserGroupsOrBuilderList()

User groups in the organization.

repeated .google.marketingplatform.admin.v1alpha.UserGroup user_groups = 1;

Returns
Type Description
List<? extends com.google.ads.marketingplatform.admin.v1alpha.UserGroupOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListUserGroupsResponse other)

public ListUserGroupsResponse.Builder mergeFrom(ListUserGroupsResponse other)
Parameter
Name Description
other ListUserGroupsResponse
Returns
Type Description
ListUserGroupsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListUserGroupsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListUserGroupsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListUserGroupsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListUserGroupsResponse.Builder
Overrides

removeUserGroups(int index)

public ListUserGroupsResponse.Builder removeUserGroups(int index)

User groups in the organization.

repeated .google.marketingplatform.admin.v1alpha.UserGroup user_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
ListUserGroupsResponse.Builder

setNextPageToken(String value)

public ListUserGroupsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListUserGroupsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListUserGroupsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListUserGroupsResponse.Builder

This builder for chaining.

setUserGroups(int index, UserGroup value)

public ListUserGroupsResponse.Builder setUserGroups(int index, UserGroup value)

User groups in the organization.

repeated .google.marketingplatform.admin.v1alpha.UserGroup user_groups = 1;

Parameters
Name Description
index int
value UserGroup
Returns
Type Description
ListUserGroupsResponse.Builder

setUserGroups(int index, UserGroup.Builder builderForValue)

public ListUserGroupsResponse.Builder setUserGroups(int index, UserGroup.Builder builderForValue)

User groups in the organization.

repeated .google.marketingplatform.admin.v1alpha.UserGroup user_groups = 1;

Parameters
Name Description
index int
builderForValue UserGroup.Builder
Returns
Type Description
ListUserGroupsResponse.Builder