Class ListGroupMembersResponse.Builder (3.56.0)

public static final class ListGroupMembersResponse.Builder extends GeneratedMessageV3.Builder<ListGroupMembersResponse.Builder> implements ListGroupMembersResponseOrBuilder

The ListGroupMembers response.

Protobuf type google.monitoring.v3.ListGroupMembersResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllMembers(Iterable<? extends MonitoredResource> values)

public ListGroupMembersResponse.Builder addAllMembers(Iterable<? extends MonitoredResource> values)

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

Parameter
Name Description
values Iterable<? extends com.google.api.MonitoredResource>
Returns
Type Description
ListGroupMembersResponse.Builder

addMembers(MonitoredResource value)

public ListGroupMembersResponse.Builder addMembers(MonitoredResource value)

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

Parameter
Name Description
value com.google.api.MonitoredResource
Returns
Type Description
ListGroupMembersResponse.Builder

addMembers(MonitoredResource.Builder builderForValue)

public ListGroupMembersResponse.Builder addMembers(MonitoredResource.Builder builderForValue)

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

Parameter
Name Description
builderForValue com.google.api.MonitoredResource.Builder
Returns
Type Description
ListGroupMembersResponse.Builder

addMembers(int index, MonitoredResource value)

public ListGroupMembersResponse.Builder addMembers(int index, MonitoredResource value)

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

Parameters
Name Description
index int
value com.google.api.MonitoredResource
Returns
Type Description
ListGroupMembersResponse.Builder

addMembers(int index, MonitoredResource.Builder builderForValue)

public ListGroupMembersResponse.Builder addMembers(int index, MonitoredResource.Builder builderForValue)

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

Parameters
Name Description
index int
builderForValue com.google.api.MonitoredResource.Builder
Returns
Type Description
ListGroupMembersResponse.Builder

addMembersBuilder()

public MonitoredResource.Builder addMembersBuilder()

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

Returns
Type Description
com.google.api.MonitoredResource.Builder

addMembersBuilder(int index)

public MonitoredResource.Builder addMembersBuilder(int index)

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.api.MonitoredResource.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListGroupMembersResponse build()
Returns
Type Description
ListGroupMembersResponse

buildPartial()

public ListGroupMembersResponse buildPartial()
Returns
Type Description
ListGroupMembersResponse

clear()

public ListGroupMembersResponse.Builder clear()
Returns
Type Description
ListGroupMembersResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearMembers()

public ListGroupMembersResponse.Builder clearMembers()

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

Returns
Type Description
ListGroupMembersResponse.Builder

clearNextPageToken()

public ListGroupMembersResponse.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
ListGroupMembersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTotalSize()

public ListGroupMembersResponse.Builder clearTotalSize()

The total number of elements matching this request.

int32 total_size = 3;

Returns
Type Description
ListGroupMembersResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListGroupMembersResponse getDefaultInstanceForType()
Returns
Type Description
ListGroupMembersResponse

getDescriptorForType()

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

getMembers(int index)

public MonitoredResource getMembers(int index)

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.api.MonitoredResource

getMembersBuilder(int index)

public MonitoredResource.Builder getMembersBuilder(int index)

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.api.MonitoredResource.Builder

getMembersBuilderList()

public List<MonitoredResource.Builder> getMembersBuilderList()

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

Returns
Type Description
List<com.google.api.MonitoredResource.Builder>

getMembersCount()

public int getMembersCount()

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

Returns
Type Description
int

getMembersList()

public List<MonitoredResource> getMembersList()

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

Returns
Type Description
List<com.google.api.MonitoredResource>

getMembersOrBuilder(int index)

public MonitoredResourceOrBuilder getMembersOrBuilder(int index)

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.api.MonitoredResourceOrBuilder

getMembersOrBuilderList()

public List<? extends MonitoredResourceOrBuilder> getMembersOrBuilderList()

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

Returns
Type Description
List<? extends com.google.api.MonitoredResourceOrBuilder>

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.

getTotalSize()

public int getTotalSize()

The total number of elements matching this request.

int32 total_size = 3;

Returns
Type Description
int

The totalSize.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListGroupMembersResponse other)

public ListGroupMembersResponse.Builder mergeFrom(ListGroupMembersResponse other)
Parameter
Name Description
other ListGroupMembersResponse
Returns
Type Description
ListGroupMembersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListGroupMembersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListGroupMembersResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListGroupMembersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListGroupMembersResponse.Builder
Overrides

removeMembers(int index)

public ListGroupMembersResponse.Builder removeMembers(int index)

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

Parameter
Name Description
index int
Returns
Type Description
ListGroupMembersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMembers(int index, MonitoredResource value)

public ListGroupMembersResponse.Builder setMembers(int index, MonitoredResource value)

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

Parameters
Name Description
index int
value com.google.api.MonitoredResource
Returns
Type Description
ListGroupMembersResponse.Builder

setMembers(int index, MonitoredResource.Builder builderForValue)

public ListGroupMembersResponse.Builder setMembers(int index, MonitoredResource.Builder builderForValue)

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

Parameters
Name Description
index int
builderForValue com.google.api.MonitoredResource.Builder
Returns
Type Description
ListGroupMembersResponse.Builder

setNextPageToken(String value)

public ListGroupMembersResponse.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
ListGroupMembersResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListGroupMembersResponse.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
ListGroupMembersResponse.Builder

This builder for chaining.

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

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

setTotalSize(int value)

public ListGroupMembersResponse.Builder setTotalSize(int value)

The total number of elements matching this request.

int32 total_size = 3;

Parameter
Name Description
value int

The totalSize to set.

Returns
Type Description
ListGroupMembersResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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