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
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
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
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
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
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
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
Returns
Type | Description |
com.google.api.MonitoredResource.Builder | |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListGroupMembersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListGroupMembersResponse build()
Returns
buildPartial()
public ListGroupMembersResponse buildPartial()
Returns
clear()
public ListGroupMembersResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListGroupMembersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMembers()
public ListGroupMembersResponse.Builder clearMembers()
A set of monitored resources in the group.
repeated .google.api.MonitoredResource members = 1;
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListGroupMembersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTotalSize()
public ListGroupMembersResponse.Builder clearTotalSize()
The total number of elements matching this request.
int32 total_size = 3;
Returns
clone()
public ListGroupMembersResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListGroupMembersResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMembers(int index)
public MonitoredResource getMembers(int index)
A set of monitored resources in the group.
repeated .google.api.MonitoredResource members = 1;
Parameter
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListGroupMembersResponse other)
public ListGroupMembersResponse.Builder mergeFrom(ListGroupMembersResponse other)
Parameter
Returns
public ListGroupMembersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListGroupMembersResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListGroupMembersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListGroupMembersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListGroupMembersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final ListGroupMembersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides