public static final class ListGroupsResponse.Builder extends GeneratedMessage.Builder<ListGroupsResponse.Builder> implements ListGroupsResponseOrBuilder The ListGroups response.
Protobuf type google.monitoring.v3.ListGroupsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListGroupsResponse.BuilderImplements
ListGroupsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllGroup(Iterable<? extends Group> values)
public ListGroupsResponse.Builder addAllGroup(Iterable<? extends Group> values)The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.monitoring.v3.Group> |
| Returns | |
|---|---|
| Type | Description |
ListGroupsResponse.Builder |
|
addGroup(Group value)
public ListGroupsResponse.Builder addGroup(Group value)The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Group |
| Returns | |
|---|---|
| Type | Description |
ListGroupsResponse.Builder |
|
addGroup(Group.Builder builderForValue)
public ListGroupsResponse.Builder addGroup(Group.Builder builderForValue)The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Group.Builder |
| Returns | |
|---|---|
| Type | Description |
ListGroupsResponse.Builder |
|
addGroup(int index, Group value)
public ListGroupsResponse.Builder addGroup(int index, Group value)The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Group |
| Returns | |
|---|---|
| Type | Description |
ListGroupsResponse.Builder |
|
addGroup(int index, Group.Builder builderForValue)
public ListGroupsResponse.Builder addGroup(int index, Group.Builder builderForValue)The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Group.Builder |
| Returns | |
|---|---|
| Type | Description |
ListGroupsResponse.Builder |
|
addGroupBuilder()
public Group.Builder addGroupBuilder()The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
addGroupBuilder(int index)
public Group.Builder addGroupBuilder(int index)The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
build()
public ListGroupsResponse build()| Returns | |
|---|---|
| Type | Description |
ListGroupsResponse |
|
buildPartial()
public ListGroupsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListGroupsResponse |
|
clear()
public ListGroupsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListGroupsResponse.Builder |
|
clearGroup()
public ListGroupsResponse.Builder clearGroup()The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
| Returns | |
|---|---|
| Type | Description |
ListGroupsResponse.Builder |
|
clearNextPageToken()
public ListGroupsResponse.Builder clearNextPageToken() If there are more results than have been returned, then this field is set
to a non-empty value. To see the additional results,
use that value as page_token in the next call to this method.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListGroupsResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListGroupsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListGroupsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGroup(int index)
public Group getGroup(int index)The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Group |
|
getGroupBuilder(int index)
public Group.Builder getGroupBuilder(int index)The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
getGroupBuilderList()
public List<Group.Builder> getGroupBuilderList()The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getGroupCount()
public int getGroupCount()The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getGroupList()
public List<Group> getGroupList()The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
| Returns | |
|---|---|
| Type | Description |
List<Group> |
|
getGroupOrBuilder(int index)
public GroupOrBuilder getGroupOrBuilder(int index)The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GroupOrBuilder |
|
getGroupOrBuilderList()
public List<? extends GroupOrBuilder> getGroupOrBuilderList()The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.monitoring.v3.GroupOrBuilder> |
|
getNextPageToken()
public String getNextPageToken() If there are more results than have been returned, then this field is set
to a non-empty value. To see the additional results,
use that value as page_token in the next call to this method.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes() If there are more results than have been returned, then this field is set
to a non-empty value. To see the additional results,
use that value as page_token in the next call to this method.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListGroupsResponse other)
public ListGroupsResponse.Builder mergeFrom(ListGroupsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListGroupsResponse |
| Returns | |
|---|---|
| Type | Description |
ListGroupsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListGroupsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListGroupsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListGroupsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListGroupsResponse.Builder |
|
removeGroup(int index)
public ListGroupsResponse.Builder removeGroup(int index)The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListGroupsResponse.Builder |
|
setGroup(int index, Group value)
public ListGroupsResponse.Builder setGroup(int index, Group value)The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Group |
| Returns | |
|---|---|
| Type | Description |
ListGroupsResponse.Builder |
|
setGroup(int index, Group.Builder builderForValue)
public ListGroupsResponse.Builder setGroup(int index, Group.Builder builderForValue)The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Group.Builder |
| Returns | |
|---|---|
| Type | Description |
ListGroupsResponse.Builder |
|
setNextPageToken(String value)
public ListGroupsResponse.Builder setNextPageToken(String value) If there are more results than have been returned, then this field is set
to a non-empty value. To see the additional results,
use that value as page_token in the next call to this method.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListGroupsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListGroupsResponse.Builder setNextPageTokenBytes(ByteString value) If there are more results than have been returned, then this field is set
to a non-empty value. To see the additional results,
use that value as page_token in the next call to this method.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListGroupsResponse.Builder |
This builder for chaining. |