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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
public ListGroupsRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
public ListGroupsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListGroupsRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListGroupsRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListGroupsRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
public ListGroupsRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
public ListGroupsRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
public ListGroupsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
public ListGroupsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
public ListGroupsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
public ListGroupsRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListGroupsRequest.Builder>
public ListGroupsRequest.Builder mergeFrom(ListGroupsRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
public ListGroupsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListGroupsRequest.Builder>
java.io.IOException
public ListGroupsRequest.FilterCase getFilterCase()
getFilterCase
in interface ListGroupsRequestOrBuilder
public 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 ListGroupsRequestOrBuilder
public ByteString getNameBytes()
The project whose groups are to be listed. The format is `"projects/{project_id_or_number}"`.
string name = 7;
getNameBytes
in interface ListGroupsRequestOrBuilder
public 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 ListGroupsRequestOrBuilder
public 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 ListGroupsRequestOrBuilder
public 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 ListGroupsRequestOrBuilder
public 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 ListGroupsRequestOrBuilder
public 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 ListGroupsRequestOrBuilder
public 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 ListGroupsRequestOrBuilder
public 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 ListGroupsRequestOrBuilder
public 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 ListGroupsRequestOrBuilder
public 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 ListGroupsRequestOrBuilder
public 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
public final ListGroupsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListGroupsRequest.Builder>