Class ListGroupMembersResponse.Builder (3.14.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.api.MonitoredResource>
Returns
TypeDescription
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
NameDescription
valuecom.google.api.MonitoredResource
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.api.MonitoredResource.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.api.MonitoredResource
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.api.MonitoredResource.Builder
Returns
TypeDescription
ListGroupMembersResponse.Builder

addMembersBuilder()

public MonitoredResource.Builder addMembersBuilder()

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
com.google.api.MonitoredResource.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListGroupMembersResponse build()
Returns
TypeDescription
ListGroupMembersResponse

buildPartial()

public ListGroupMembersResponse buildPartial()
Returns
TypeDescription
ListGroupMembersResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMembers()

public ListGroupMembersResponse.Builder clearMembers()

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTotalSize()

public ListGroupMembersResponse.Builder clearTotalSize()

The total number of elements matching this request.

int32 total_size = 3;

Returns
TypeDescription
ListGroupMembersResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListGroupMembersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListGroupMembersResponse

getDescriptorForType()

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

getMembersList()

public List<MonitoredResource> getMembersList()

A set of monitored resources in the group.

repeated .google.api.MonitoredResource members = 1;

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

getTotalSize()

public int getTotalSize()

The total number of elements matching this request.

int32 total_size = 3;

Returns
TypeDescription
int

The totalSize.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListGroupMembersResponse other)

public ListGroupMembersResponse.Builder mergeFrom(ListGroupMembersResponse other)
Parameter
NameDescription
otherListGroupMembersResponse
Returns
TypeDescription
ListGroupMembersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListGroupMembersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.api.MonitoredResource
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.api.MonitoredResource.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The totalSize to set.

Returns
TypeDescription
ListGroupMembersResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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