Interface ListGroupsRequestOrBuilder (3.56.0)

public interface ListGroupsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAncestorsOfGroup()

public abstract String getAncestorsOfGroup()

A group name. The format is:

 projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]

Returns groups that are ancestors of the specified group. The groups are returned in order, starting with the immediate parent and ending with the most distant ancestor. If the specified group has no immediate parent, the results are empty.

string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The ancestorsOfGroup.

getAncestorsOfGroupBytes()

public abstract ByteString getAncestorsOfGroupBytes()

A group name. The format is:

 projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]

Returns groups that are ancestors of the specified group. The groups are returned in order, starting with the immediate parent and ending with the most distant ancestor. If the specified group has no immediate parent, the results are empty.

string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for ancestorsOfGroup.

getChildrenOfGroup()

public abstract String getChildrenOfGroup()

A group name. The format is:

 projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]

Returns groups whose parent_name field contains the group name. If no groups have this parent, the results are empty.

string children_of_group = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The childrenOfGroup.

getChildrenOfGroupBytes()

public abstract ByteString getChildrenOfGroupBytes()

A group name. The format is:

 projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]

Returns groups whose parent_name field contains the group name. If no groups have this parent, the results are empty.

string children_of_group = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for childrenOfGroup.

getDescendantsOfGroup()

public abstract String getDescendantsOfGroup()

A group name. The format is:

 projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]

Returns the descendants of the specified group. This is a superset of the results returned by the children_of_group filter, and includes children-of-children, and so forth.

string descendants_of_group = 4 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The descendantsOfGroup.

getDescendantsOfGroupBytes()

public abstract ByteString getDescendantsOfGroupBytes()

A group name. The format is:

 projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]

Returns the descendants of the specified group. This is a superset of the results returned by the children_of_group filter, and includes children-of-children, and so forth.

string descendants_of_group = 4 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for descendantsOfGroup.

getFilterCase()

public abstract ListGroupsRequest.FilterCase getFilterCase()
Returns
Type Description
ListGroupsRequest.FilterCase

getName()

public abstract String getName()

Required. The project whose groups are to be listed. The format is:

 projects/[PROJECT_ID_OR_NUMBER]

string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The project whose groups are to be listed. The format is:

 projects/[PROJECT_ID_OR_NUMBER]

string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getPageSize()

public abstract int getPageSize()

A positive number that is the maximum number of results to return.

int32 page_size = 5;

Returns
Type Description
int

The pageSize.

getPageToken()

public abstract String getPageToken()

If this field is not empty then it must contain the next_page_token value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

string page_token = 6;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public abstract ByteString getPageTokenBytes()

If this field is not empty then it must contain the next_page_token value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

string page_token = 6;

Returns
Type Description
ByteString

The bytes for pageToken.

hasAncestorsOfGroup()

public abstract boolean hasAncestorsOfGroup()

A group name. The format is:

 projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]

Returns groups that are ancestors of the specified group. The groups are returned in order, starting with the immediate parent and ending with the most distant ancestor. If the specified group has no immediate parent, the results are empty.

string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the ancestorsOfGroup field is set.

hasChildrenOfGroup()

public abstract boolean hasChildrenOfGroup()

A group name. The format is:

 projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]

Returns groups whose parent_name field contains the group name. If no groups have this parent, the results are empty.

string children_of_group = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the childrenOfGroup field is set.

hasDescendantsOfGroup()

public abstract boolean hasDescendantsOfGroup()

A group name. The format is:

 projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]

Returns the descendants of the specified group. This is a superset of the results returned by the children_of_group filter, and includes children-of-children, and so forth.

string descendants_of_group = 4 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the descendantsOfGroup field is set.