Package com.google.monitoring.v3
Interface ListGroupsRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ListGroupsRequest
,ListGroupsRequest.Builder
public interface ListGroupsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAncestorsOfGroup()
A group name.com.google.protobuf.ByteString
getAncestorsOfGroupBytes()
A group name.String
getChildrenOfGroup()
A group name.com.google.protobuf.ByteString
getChildrenOfGroupBytes()
A group name.String
getDescendantsOfGroup()
A group name.com.google.protobuf.ByteString
getDescendantsOfGroupBytes()
A group name.ListGroupsRequest.FilterCase
getFilterCase()
String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.int
getPageSize()
A positive number that is the maximum number of results to return.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.com.google.protobuf.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.boolean
hasAncestorsOfGroup()
A group name.boolean
hasChildrenOfGroup()
A group name.boolean
hasDescendantsOfGroup()
A group name.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) 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:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) 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:
- The bytes for name.
-
hasChildrenOfGroup
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:
- Whether the childrenOfGroup field is set.
-
getChildrenOfGroup
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:
- The childrenOfGroup.
-
getChildrenOfGroupBytes
com.google.protobuf.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:
- The bytes for childrenOfGroup.
-
hasAncestorsOfGroup
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:
- Whether the ancestorsOfGroup field is set.
-
getAncestorsOfGroup
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:
- The ancestorsOfGroup.
-
getAncestorsOfGroupBytes
com.google.protobuf.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:
- The bytes for ancestorsOfGroup.
-
hasDescendantsOfGroup
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:
- Whether the descendantsOfGroup field is set.
-
getDescendantsOfGroup
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:
- The descendantsOfGroup.
-
getDescendantsOfGroupBytes
com.google.protobuf.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:
- The bytes for descendantsOfGroup.
-
getPageSize
int getPageSize()
A positive number that is the maximum number of results to return.
int32 page_size = 5;
- Returns:
- The pageSize.
-
getPageToken
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:
- The pageToken.
-
getPageTokenBytes
com.google.protobuf.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:
- The bytes for pageToken.
-
getFilterCase
ListGroupsRequest.FilterCase getFilterCase()
-
-