public static final class ListGroupMembersResponse.Builder extends GeneratedMessageV3.Builder<ListGroupMembersResponse.Builder> implements ListGroupMembersResponseOrBuilder
The ListGroupMembers
response.
Protobuf type google.monitoring.v3.ListGroupMembersResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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
|
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
|
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
|
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
|
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)
Overrides
build()
public ListGroupMembersResponse build()
buildPartial()
public ListGroupMembersResponse buildPartial()
clear()
public ListGroupMembersResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListGroupMembersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMembers()
public ListGroupMembersResponse.Builder clearMembers()
A set of monitored resources in the group.
repeated .google.api.MonitoredResource members = 1;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListGroupMembersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTotalSize()
public ListGroupMembersResponse.Builder clearTotalSize()
The total number of elements matching this request.
int32 total_size = 3;
clone()
public ListGroupMembersResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListGroupMembersResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListGroupMembersResponse other)
public ListGroupMembersResponse.Builder mergeFrom(ListGroupMembersResponse other)
public ListGroupMembersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListGroupMembersResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListGroupMembersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListGroupMembersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListGroupMembersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ListGroupMembersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides