Class ListGroupsRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
      • clear

        public ListGroupsRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
      • getDefaultInstanceForType

        public ListGroupsRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ListGroupsRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ListGroupsRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ListGroupsRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
      • setField

        public ListGroupsRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
      • clearField

        public ListGroupsRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
      • clearOneof

        public ListGroupsRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
      • setRepeatedField

        public ListGroupsRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          int index,
                                                          Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
      • addRepeatedField

        public ListGroupsRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
      • mergeFrom

        public ListGroupsRequest.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListGroupsRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
      • mergeFrom

        public ListGroupsRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListGroupsRequest.Builder>
        Throws:
        IOException
      • getName

        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) = { ... }
        Specified by:
        getName in interface ListGroupsRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public 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) = { ... }
        Specified by:
        getNameBytes in interface ListGroupsRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public 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) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        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) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        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) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasChildrenOfGroup

        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) = { ... }
        Specified by:
        hasChildrenOfGroup in interface ListGroupsRequestOrBuilder
        Returns:
        Whether the childrenOfGroup field is set.
      • getChildrenOfGroup

        public 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) = { ... }
        Specified by:
        getChildrenOfGroup in interface ListGroupsRequestOrBuilder
        Returns:
        The childrenOfGroup.
      • getChildrenOfGroupBytes

        public 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) = { ... }
        Specified by:
        getChildrenOfGroupBytes in interface ListGroupsRequestOrBuilder
        Returns:
        The bytes for childrenOfGroup.
      • setChildrenOfGroup

        public 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) = { ... }
        Parameters:
        value - The childrenOfGroup to set.
        Returns:
        This builder for chaining.
      • clearChildrenOfGroup

        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) = { ... }
        Returns:
        This builder for chaining.
      • setChildrenOfGroupBytes

        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) = { ... }
        Parameters:
        value - The bytes for childrenOfGroup to set.
        Returns:
        This builder for chaining.
      • hasAncestorsOfGroup

        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) = { ... }
        Specified by:
        hasAncestorsOfGroup in interface ListGroupsRequestOrBuilder
        Returns:
        Whether the ancestorsOfGroup field is set.
      • getAncestorsOfGroup

        public 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) = { ... }
        Specified by:
        getAncestorsOfGroup in interface ListGroupsRequestOrBuilder
        Returns:
        The ancestorsOfGroup.
      • getAncestorsOfGroupBytes

        public 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) = { ... }
        Specified by:
        getAncestorsOfGroupBytes in interface ListGroupsRequestOrBuilder
        Returns:
        The bytes for ancestorsOfGroup.
      • setAncestorsOfGroup

        public 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) = { ... }
        Parameters:
        value - The ancestorsOfGroup to set.
        Returns:
        This builder for chaining.
      • clearAncestorsOfGroup

        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) = { ... }
        Returns:
        This builder for chaining.
      • setAncestorsOfGroupBytes

        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) = { ... }
        Parameters:
        value - The bytes for ancestorsOfGroup to set.
        Returns:
        This builder for chaining.
      • hasDescendantsOfGroup

        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) = { ... }
        Specified by:
        hasDescendantsOfGroup in interface ListGroupsRequestOrBuilder
        Returns:
        Whether the descendantsOfGroup field is set.
      • getDescendantsOfGroup

        public 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) = { ... }
        Specified by:
        getDescendantsOfGroup in interface ListGroupsRequestOrBuilder
        Returns:
        The descendantsOfGroup.
      • getDescendantsOfGroupBytes

        public 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) = { ... }
        Specified by:
        getDescendantsOfGroupBytes in interface ListGroupsRequestOrBuilder
        Returns:
        The bytes for descendantsOfGroup.
      • setDescendantsOfGroup

        public 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) = { ... }
        Parameters:
        value - The descendantsOfGroup to set.
        Returns:
        This builder for chaining.
      • clearDescendantsOfGroup

        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) = { ... }
        Returns:
        This builder for chaining.
      • setDescendantsOfGroupBytes

        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) = { ... }
        Parameters:
        value - The bytes for descendantsOfGroup to set.
        Returns:
        This builder for chaining.
      • getPageSize

        public int getPageSize()
         A positive number that is the maximum number of results to return.
         
        int32 page_size = 5;
        Specified by:
        getPageSize in interface ListGroupsRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public ListGroupsRequest.Builder setPageSize​(int value)
         A positive number that is the maximum number of results to return.
         
        int32 page_size = 5;
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public ListGroupsRequest.Builder clearPageSize()
         A positive number that is the maximum number of results to return.
         
        int32 page_size = 5;
        Returns:
        This builder for chaining.
      • getPageToken

        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;
        Specified by:
        getPageToken in interface ListGroupsRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public 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;
        Specified by:
        getPageTokenBytes in interface ListGroupsRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public 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;
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        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;
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        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;
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ListGroupsRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>
      • mergeUnknownFields

        public final ListGroupsRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListGroupsRequest.Builder>