Class ListGroupsResponse.Builder (3.43.0)

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
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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListGroupsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListGroupsResponse.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListGroupsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListGroupsResponse.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListGroupsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListGroupsResponse.Builder
Overrides

clone()

public ListGroupsResponse.Builder clone()
Returns
Type Description
ListGroupsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListGroupsResponse getDefaultInstanceForType()
Returns
Type Description
ListGroupsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListGroupsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListGroupsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListGroupsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListGroupsResponse.Builder
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
Name Description
index int
Returns
Type Description
ListGroupsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListGroupsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListGroupsResponse.Builder
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
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 String

The 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 ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListGroupsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListGroupsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListGroupsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListGroupsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListGroupsResponse.Builder
Overrides