public static final class ListGroupsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder> implements ListGroupsRequestOrBuilder
The `ListGroup` request.Protobuf type
google.monitoring.v3.ListGroupsRequest| Modifier and Type | Method and Description |
|---|---|
ListGroupsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListGroupsRequest |
build() |
ListGroupsRequest |
buildPartial() |
ListGroupsRequest.Builder |
clear() |
ListGroupsRequest.Builder |
clearAncestorsOfGroup()
A group name.
|
ListGroupsRequest.Builder |
clearChildrenOfGroup()
A group name.
|
ListGroupsRequest.Builder |
clearDescendantsOfGroup()
A group name.
|
ListGroupsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListGroupsRequest.Builder |
clearFilter() |
ListGroupsRequest.Builder |
clearName()
Required.
|
ListGroupsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListGroupsRequest.Builder |
clearPageSize()
A positive number that is the maximum number of results to return.
|
ListGroupsRequest.Builder |
clearPageToken()
If this field is not empty then it must contain the `next_page_token` value
returned by a previous call to this method.
|
ListGroupsRequest.Builder |
clone() |
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.
|
ListGroupsRequest |
getDefaultInstanceForType() |
String |
getDescendantsOfGroup()
A group name.
|
com.google.protobuf.ByteString |
getDescendantsOfGroupBytes()
A group name.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListGroupsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListGroupsRequest.Builder |
mergeFrom(ListGroupsRequest other) |
ListGroupsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListGroupsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListGroupsRequest.Builder |
setAncestorsOfGroup(String value)
A group name.
|
ListGroupsRequest.Builder |
setAncestorsOfGroupBytes(com.google.protobuf.ByteString value)
A group name.
|
ListGroupsRequest.Builder |
setChildrenOfGroup(String value)
A group name.
|
ListGroupsRequest.Builder |
setChildrenOfGroupBytes(com.google.protobuf.ByteString value)
A group name.
|
ListGroupsRequest.Builder |
setDescendantsOfGroup(String value)
A group name.
|
ListGroupsRequest.Builder |
setDescendantsOfGroupBytes(com.google.protobuf.ByteString value)
A group name.
|
ListGroupsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListGroupsRequest.Builder |
setName(String value)
Required.
|
ListGroupsRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
ListGroupsRequest.Builder |
setPageSize(int value)
A positive number that is the maximum number of results to return.
|
ListGroupsRequest.Builder |
setPageToken(String value)
If this field is not empty then it must contain the `next_page_token` value
returned by a previous call to this method.
|
ListGroupsRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
If this field is not empty then it must contain the `next_page_token` value
returned by a previous call to this method.
|
ListGroupsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListGroupsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public ListGroupsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public ListGroupsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListGroupsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListGroupsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListGroupsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public ListGroupsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public ListGroupsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public ListGroupsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public ListGroupsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public ListGroupsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public ListGroupsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListGroupsRequest.Builder>public ListGroupsRequest.Builder mergeFrom(ListGroupsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public ListGroupsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListGroupsRequest.Builder>IOExceptionpublic ListGroupsRequest.FilterCase getFilterCase()
getFilterCase in interface ListGroupsRequestOrBuilderpublic ListGroupsRequest.Builder clearFilter()
public 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) = { ... }
getName in interface ListGroupsRequestOrBuilderpublic 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) = { ... }
getNameBytes in interface ListGroupsRequestOrBuilderpublic ListGroupsRequest.Builder setName(String value)
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) = { ... }
value - The name to set.public ListGroupsRequest.Builder clearName()
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) = { ... }
public ListGroupsRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for name to set.public 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) = { ... }hasChildrenOfGroup in interface ListGroupsRequestOrBuilderpublic 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) = { ... }getChildrenOfGroup in interface ListGroupsRequestOrBuilderpublic 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) = { ... }getChildrenOfGroupBytes in interface ListGroupsRequestOrBuilderpublic ListGroupsRequest.Builder setChildrenOfGroup(String value)
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) = { ... }value - The childrenOfGroup to set.public ListGroupsRequest.Builder clearChildrenOfGroup()
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) = { ... }public ListGroupsRequest.Builder setChildrenOfGroupBytes(com.google.protobuf.ByteString value)
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) = { ... }value - The bytes for childrenOfGroup to set.public 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) = { ... }hasAncestorsOfGroup in interface ListGroupsRequestOrBuilderpublic 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) = { ... }getAncestorsOfGroup in interface ListGroupsRequestOrBuilderpublic 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) = { ... }getAncestorsOfGroupBytes in interface ListGroupsRequestOrBuilderpublic ListGroupsRequest.Builder setAncestorsOfGroup(String value)
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) = { ... }value - The ancestorsOfGroup to set.public ListGroupsRequest.Builder clearAncestorsOfGroup()
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) = { ... }public ListGroupsRequest.Builder setAncestorsOfGroupBytes(com.google.protobuf.ByteString value)
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) = { ... }value - The bytes for ancestorsOfGroup to set.public 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) = { ... }hasDescendantsOfGroup in interface ListGroupsRequestOrBuilderpublic 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) = { ... }getDescendantsOfGroup in interface ListGroupsRequestOrBuilderpublic 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) = { ... }getDescendantsOfGroupBytes in interface ListGroupsRequestOrBuilderpublic ListGroupsRequest.Builder setDescendantsOfGroup(String value)
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) = { ... }value - The descendantsOfGroup to set.public ListGroupsRequest.Builder clearDescendantsOfGroup()
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) = { ... }public ListGroupsRequest.Builder setDescendantsOfGroupBytes(com.google.protobuf.ByteString value)
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) = { ... }value - The bytes for descendantsOfGroup to set.public int getPageSize()
A positive number that is the maximum number of results to return.
int32 page_size = 5;getPageSize in interface ListGroupsRequestOrBuilderpublic ListGroupsRequest.Builder setPageSize(int value)
A positive number that is the maximum number of results to return.
int32 page_size = 5;value - The pageSize to set.public ListGroupsRequest.Builder clearPageSize()
A positive number that is the maximum number of results to return.
int32 page_size = 5;public 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;getPageToken in interface ListGroupsRequestOrBuilderpublic 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;getPageTokenBytes in interface ListGroupsRequestOrBuilderpublic ListGroupsRequest.Builder setPageToken(String value)
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;value - The pageToken to set.public ListGroupsRequest.Builder clearPageToken()
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;public ListGroupsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
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;value - The bytes for pageToken to set.public final ListGroupsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public final ListGroupsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.