public static final class ListGroupsRequest.Builder extends GeneratedMessageV3.Builder<ListGroupsRequest.Builder> implements ListGroupsRequestOrBuilder
The `ListGroup` request.Protobuf type
google.monitoring.v3.ListGroupsRequest| Modifier and Type | Method and Description |
|---|---|
ListGroupsRequest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListGroupsRequest |
build() |
ListGroupsRequest |
buildPartial() |
ListGroupsRequest.Builder |
clear() |
ListGroupsRequest.Builder |
clearAncestorsOfGroup()
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
ListGroupsRequest.Builder |
clearChildrenOfGroup()
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
ListGroupsRequest.Builder |
clearDescendantsOfGroup()
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
ListGroupsRequest.Builder |
clearField(Descriptors.FieldDescriptor field) |
ListGroupsRequest.Builder |
clearFilter() |
ListGroupsRequest.Builder |
clearName()
The project whose groups are to be listed.
|
ListGroupsRequest.Builder |
clearOneof(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 `nextPageToken` value
returned by a previous call to this method.
|
ListGroupsRequest.Builder |
clone() |
java.lang.String |
getAncestorsOfGroup()
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
ByteString |
getAncestorsOfGroupBytes()
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
java.lang.String |
getChildrenOfGroup()
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
ByteString |
getChildrenOfGroupBytes()
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
ListGroupsRequest |
getDefaultInstanceForType() |
java.lang.String |
getDescendantsOfGroup()
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
ByteString |
getDescendantsOfGroupBytes()
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
ListGroupsRequest.FilterCase |
getFilterCase() |
java.lang.String |
getName()
The project whose groups are to be listed.
|
ByteString |
getNameBytes()
The project whose groups are to be listed.
|
int |
getPageSize()
A positive number that is the maximum number of results to return.
|
java.lang.String |
getPageToken()
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
ByteString |
getPageTokenBytes()
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListGroupsRequest.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ListGroupsRequest.Builder |
mergeFrom(ListGroupsRequest other) |
ListGroupsRequest.Builder |
mergeFrom(Message other) |
ListGroupsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ListGroupsRequest.Builder |
setAncestorsOfGroup(java.lang.String value)
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
ListGroupsRequest.Builder |
setAncestorsOfGroupBytes(ByteString value)
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
ListGroupsRequest.Builder |
setChildrenOfGroup(java.lang.String value)
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
ListGroupsRequest.Builder |
setChildrenOfGroupBytes(ByteString value)
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
ListGroupsRequest.Builder |
setDescendantsOfGroup(java.lang.String value)
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
ListGroupsRequest.Builder |
setDescendantsOfGroupBytes(ByteString value)
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
ListGroupsRequest.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListGroupsRequest.Builder |
setName(java.lang.String value)
The project whose groups are to be listed.
|
ListGroupsRequest.Builder |
setNameBytes(ByteString value)
The project whose groups are to be listed.
|
ListGroupsRequest.Builder |
setPageSize(int value)
A positive number that is the maximum number of results to return.
|
ListGroupsRequest.Builder |
setPageToken(java.lang.String value)
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
ListGroupsRequest.Builder |
setPageTokenBytes(ByteString value)
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
ListGroupsRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ListGroupsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public ListGroupsRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public ListGroupsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic ListGroupsRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic ListGroupsRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic ListGroupsRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public ListGroupsRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public ListGroupsRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public ListGroupsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public ListGroupsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public ListGroupsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public ListGroupsRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<ListGroupsRequest.Builder>public ListGroupsRequest.Builder mergeFrom(ListGroupsRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public ListGroupsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<ListGroupsRequest.Builder>java.io.IOExceptionpublic ListGroupsRequest.FilterCase getFilterCase()
getFilterCase in interface ListGroupsRequestOrBuilderpublic ListGroupsRequest.Builder clearFilter()
public java.lang.String getName()
The project whose groups are to be listed. The format is
`"projects/{project_id_or_number}"`.
string name = 7;getName in interface ListGroupsRequestOrBuilderpublic ByteString getNameBytes()
The project whose groups are to be listed. The format is
`"projects/{project_id_or_number}"`.
string name = 7;getNameBytes in interface ListGroupsRequestOrBuilderpublic ListGroupsRequest.Builder setName(java.lang.String value)
The project whose groups are to be listed. The format is
`"projects/{project_id_or_number}"`.
string name = 7;public ListGroupsRequest.Builder clearName()
The project whose groups are to be listed. The format is
`"projects/{project_id_or_number}"`.
string name = 7;public ListGroupsRequest.Builder setNameBytes(ByteString value)
The project whose groups are to be listed. The format is
`"projects/{project_id_or_number}"`.
string name = 7;public java.lang.String getChildrenOfGroup()
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
Returns groups whose `parentName` field contains the group
name. If no groups have this parent, the results are empty.
string children_of_group = 2;getChildrenOfGroup in interface ListGroupsRequestOrBuilderpublic ByteString getChildrenOfGroupBytes()
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
Returns groups whose `parentName` field contains the group
name. If no groups have this parent, the results are empty.
string children_of_group = 2;getChildrenOfGroupBytes in interface ListGroupsRequestOrBuilderpublic ListGroupsRequest.Builder setChildrenOfGroup(java.lang.String value)
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
Returns groups whose `parentName` field contains the group
name. If no groups have this parent, the results are empty.
string children_of_group = 2;public ListGroupsRequest.Builder clearChildrenOfGroup()
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
Returns groups whose `parentName` field contains the group
name. If no groups have this parent, the results are empty.
string children_of_group = 2;public ListGroupsRequest.Builder setChildrenOfGroupBytes(ByteString value)
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
Returns groups whose `parentName` field contains the group
name. If no groups have this parent, the results are empty.
string children_of_group = 2;public java.lang.String getAncestorsOfGroup()
A group name: `"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;getAncestorsOfGroup in interface ListGroupsRequestOrBuilderpublic ByteString getAncestorsOfGroupBytes()
A group name: `"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;getAncestorsOfGroupBytes in interface ListGroupsRequestOrBuilderpublic ListGroupsRequest.Builder setAncestorsOfGroup(java.lang.String value)
A group name: `"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;public ListGroupsRequest.Builder clearAncestorsOfGroup()
A group name: `"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;public ListGroupsRequest.Builder setAncestorsOfGroupBytes(ByteString value)
A group name: `"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;public java.lang.String getDescendantsOfGroup()
A group name: `"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 `childrenOfGroup` filter, and includes
children-of-children, and so forth.
string descendants_of_group = 4;getDescendantsOfGroup in interface ListGroupsRequestOrBuilderpublic ByteString getDescendantsOfGroupBytes()
A group name: `"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 `childrenOfGroup` filter, and includes
children-of-children, and so forth.
string descendants_of_group = 4;getDescendantsOfGroupBytes in interface ListGroupsRequestOrBuilderpublic ListGroupsRequest.Builder setDescendantsOfGroup(java.lang.String value)
A group name: `"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 `childrenOfGroup` filter, and includes
children-of-children, and so forth.
string descendants_of_group = 4;public ListGroupsRequest.Builder clearDescendantsOfGroup()
A group name: `"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 `childrenOfGroup` filter, and includes
children-of-children, and so forth.
string descendants_of_group = 4;public ListGroupsRequest.Builder setDescendantsOfGroupBytes(ByteString value)
A group name: `"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 `childrenOfGroup` filter, and includes
children-of-children, and so forth.
string descendants_of_group = 4;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;public ListGroupsRequest.Builder clearPageSize()
A positive number that is the maximum number of results to return.
int32 page_size = 5;public java.lang.String getPageToken()
If this field is not empty then it must contain the `nextPageToken` 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 ByteString getPageTokenBytes()
If this field is not empty then it must contain the `nextPageToken` 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(java.lang.String value)
If this field is not empty then it must contain the `nextPageToken` 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 clearPageToken()
If this field is not empty then it must contain the `nextPageToken` 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(ByteString value)
If this field is not empty then it must contain the `nextPageToken` 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 final ListGroupsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>public final ListGroupsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>