Class ListGroupsResponse.Builder (3.16.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.monitoring.v3.Group>
Returns
TypeDescription
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
NameDescription
valueGroup
Returns
TypeDescription
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
NameDescription
builderForValueGroup.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueGroup.Builder
Returns
TypeDescription
ListGroupsResponse.Builder

addGroupBuilder()

public Group.Builder addGroupBuilder()

The groups that match the specified filters.

repeated .google.monitoring.v3.Group group = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Group.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListGroupsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListGroupsResponse.Builder
Overrides

build()

public ListGroupsResponse build()
Returns
TypeDescription
ListGroupsResponse

buildPartial()

public ListGroupsResponse buildPartial()
Returns
TypeDescription
ListGroupsResponse

clear()

public ListGroupsResponse.Builder clear()
Returns
TypeDescription
ListGroupsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListGroupsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListGroupsResponse.Builder
Overrides

clearGroup()

public ListGroupsResponse.Builder clearGroup()

The groups that match the specified filters.

repeated .google.monitoring.v3.Group group = 1;

Returns
TypeDescription
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
TypeDescription
ListGroupsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListGroupsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListGroupsResponse.Builder
Overrides

clone()

public ListGroupsResponse.Builder clone()
Returns
TypeDescription
ListGroupsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListGroupsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListGroupsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Group.Builder

getGroupBuilderList()

public List<Group.Builder> getGroupBuilderList()

The groups that match the specified filters.

repeated .google.monitoring.v3.Group group = 1;

Returns
TypeDescription
List<Builder>

getGroupCount()

public int getGroupCount()

The groups that match the specified filters.

repeated .google.monitoring.v3.Group group = 1;

Returns
TypeDescription
int

getGroupList()

public List<Group> getGroupList()

The groups that match the specified filters.

repeated .google.monitoring.v3.Group group = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
GroupOrBuilder

getGroupOrBuilderList()

public List<? extends GroupOrBuilder> getGroupOrBuilderList()

The groups that match the specified filters.

repeated .google.monitoring.v3.Group group = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListGroupsResponse other)

public ListGroupsResponse.Builder mergeFrom(ListGroupsResponse other)
Parameter
NameDescription
otherListGroupsResponse
Returns
TypeDescription
ListGroupsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListGroupsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListGroupsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListGroupsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListGroupsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListGroupsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListGroupsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListGroupsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueGroup.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListGroupsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListGroupsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListGroupsResponse.Builder
Overrides