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,
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(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListGroupsRequest.Builder |
clearFilter() |
ListGroupsRequest.Builder |
clearName()
The project whose groups are to be listed.
|
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 `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}"`.
|
GroupName |
getAncestorsOfGroupAsGroupName() |
com.google.protobuf.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}"`.
|
GroupName |
getChildrenOfGroupAsGroupName() |
com.google.protobuf.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}"`.
|
GroupName |
getDescendantsOfGroupAsGroupName() |
com.google.protobuf.ByteString |
getDescendantsOfGroupBytes()
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ListGroupsRequest.FilterCase |
getFilterCase() |
java.lang.String |
getName()
The project whose groups are to be listed.
|
ProjectName |
getNameAsProjectName() |
com.google.protobuf.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.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
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(java.lang.String value)
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
ListGroupsRequest.Builder |
setAncestorsOfGroupBytes(com.google.protobuf.ByteString value)
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
ListGroupsRequest.Builder |
setAncestorsOfGroupWithGroupName(GroupName value) |
ListGroupsRequest.Builder |
setChildrenOfGroup(java.lang.String value)
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
ListGroupsRequest.Builder |
setChildrenOfGroupBytes(com.google.protobuf.ByteString value)
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
ListGroupsRequest.Builder |
setChildrenOfGroupWithGroupName(GroupName value) |
ListGroupsRequest.Builder |
setDescendantsOfGroup(java.lang.String value)
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
ListGroupsRequest.Builder |
setDescendantsOfGroupBytes(com.google.protobuf.ByteString value)
A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
|
ListGroupsRequest.Builder |
setDescendantsOfGroupWithGroupName(GroupName value) |
ListGroupsRequest.Builder |
setField(com.google.protobuf.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(com.google.protobuf.ByteString value)
The project whose groups are to be listed.
|
ListGroupsRequest.Builder |
setNameWithProjectName(ProjectName value) |
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(com.google.protobuf.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(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ListGroupsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, 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, java.lang.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, java.lang.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, java.lang.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 java.io.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>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 com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.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(com.google.protobuf.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(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>public final ListGroupsRequest.Builder setNameWithProjectName(ProjectName value)
public final ProjectName getNameAsProjectName()
public final ListGroupsRequest.Builder setChildrenOfGroupWithGroupName(GroupName value)
public final GroupName getChildrenOfGroupAsGroupName()
public final ListGroupsRequest.Builder setAncestorsOfGroupWithGroupName(GroupName value)
public final GroupName getAncestorsOfGroupAsGroupName()
public final ListGroupsRequest.Builder setDescendantsOfGroupWithGroupName(GroupName value)
public final GroupName getDescendantsOfGroupAsGroupName()