public static final class ListGroupsResponse.Builder extends GeneratedMessageV3.Builder<ListGroupsResponse.Builder> implements ListGroupsResponseOrBuilder
The ListGroups
response.
Protobuf type google.monitoring.v3.ListGroupsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
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
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
Returns
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
Returns
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
Returns
addGroupBuilder()
public Group.Builder addGroupBuilder()
The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
Returns
addGroupBuilder(int index)
public Group.Builder addGroupBuilder(int index)
The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListGroupsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListGroupsResponse build()
Returns
buildPartial()
public ListGroupsResponse buildPartial()
Returns
clear()
public ListGroupsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListGroupsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGroup()
public ListGroupsResponse.Builder clearGroup()
The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListGroupsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListGroupsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListGroupsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGroup(int index)
public Group getGroup(int index)
The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
Parameter
Returns
getGroupBuilder(int index)
public Group.Builder getGroupBuilder(int index)
The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
Parameter
Returns
getGroupBuilderList()
public List<Group.Builder> getGroupBuilderList()
The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
Returns
getGroupCount()
public int getGroupCount()
The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
Returns
getGroupList()
public List<Group> getGroupList()
The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
Returns
getGroupOrBuilder(int index)
public GroupOrBuilder getGroupOrBuilder(int index)
The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
Parameter
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListGroupsResponse other)
public ListGroupsResponse.Builder mergeFrom(ListGroupsResponse other)
Parameter
Returns
public ListGroupsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListGroupsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListGroupsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeGroup(int index)
public ListGroupsResponse.Builder removeGroup(int index)
The groups that match the specified filters.
repeated .google.monitoring.v3.Group group = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListGroupsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
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 | String
The nextPageToken to set.
|
Returns
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 | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListGroupsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListGroupsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides