public static final class ListConsumerGroupsResponse.Builder extends GeneratedMessageV3.Builder<ListConsumerGroupsResponse.Builder> implements ListConsumerGroupsResponseOrBuilder
Response for ListConsumerGroups.
Protobuf type google.cloud.managedkafka.v1.ListConsumerGroupsResponse
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
addAllConsumerGroups(Iterable<? extends ConsumerGroup> values)
public ListConsumerGroupsResponse.Builder addAllConsumerGroups(Iterable<? extends ConsumerGroup> values)
The list of consumer group in the requested parent. The order of the
consumer groups is unspecified.
repeated .google.cloud.managedkafka.v1.ConsumerGroup consumer_groups = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.managedkafka.v1.ConsumerGroup>
|
addConsumerGroups(ConsumerGroup value)
public ListConsumerGroupsResponse.Builder addConsumerGroups(ConsumerGroup value)
The list of consumer group in the requested parent. The order of the
consumer groups is unspecified.
repeated .google.cloud.managedkafka.v1.ConsumerGroup consumer_groups = 1;
addConsumerGroups(ConsumerGroup.Builder builderForValue)
public ListConsumerGroupsResponse.Builder addConsumerGroups(ConsumerGroup.Builder builderForValue)
The list of consumer group in the requested parent. The order of the
consumer groups is unspecified.
repeated .google.cloud.managedkafka.v1.ConsumerGroup consumer_groups = 1;
addConsumerGroups(int index, ConsumerGroup value)
public ListConsumerGroupsResponse.Builder addConsumerGroups(int index, ConsumerGroup value)
The list of consumer group in the requested parent. The order of the
consumer groups is unspecified.
repeated .google.cloud.managedkafka.v1.ConsumerGroup consumer_groups = 1;
addConsumerGroups(int index, ConsumerGroup.Builder builderForValue)
public ListConsumerGroupsResponse.Builder addConsumerGroups(int index, ConsumerGroup.Builder builderForValue)
The list of consumer group in the requested parent. The order of the
consumer groups is unspecified.
repeated .google.cloud.managedkafka.v1.ConsumerGroup consumer_groups = 1;
addConsumerGroupsBuilder()
public ConsumerGroup.Builder addConsumerGroupsBuilder()
The list of consumer group in the requested parent. The order of the
consumer groups is unspecified.
repeated .google.cloud.managedkafka.v1.ConsumerGroup consumer_groups = 1;
addConsumerGroupsBuilder(int index)
public ConsumerGroup.Builder addConsumerGroupsBuilder(int index)
The list of consumer group in the requested parent. The order of the
consumer groups is unspecified.
repeated .google.cloud.managedkafka.v1.ConsumerGroup consumer_groups = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListConsumerGroupsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListConsumerGroupsResponse build()
buildPartial()
public ListConsumerGroupsResponse buildPartial()
clear()
public ListConsumerGroupsResponse.Builder clear()
Overrides
clearConsumerGroups()
public ListConsumerGroupsResponse.Builder clearConsumerGroups()
The list of consumer group in the requested parent. The order of the
consumer groups is unspecified.
repeated .google.cloud.managedkafka.v1.ConsumerGroup consumer_groups = 1;
clearField(Descriptors.FieldDescriptor field)
public ListConsumerGroupsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListConsumerGroupsResponse.Builder clearNextPageToken()
A token that can be sent as page_token
to retrieve the next page of
results. If this field is omitted, there are no more results.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListConsumerGroupsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListConsumerGroupsResponse.Builder clone()
Overrides
getConsumerGroups(int index)
public ConsumerGroup getConsumerGroups(int index)
The list of consumer group in the requested parent. The order of the
consumer groups is unspecified.
repeated .google.cloud.managedkafka.v1.ConsumerGroup consumer_groups = 1;
Parameter |
Name |
Description |
index |
int
|
getConsumerGroupsBuilder(int index)
public ConsumerGroup.Builder getConsumerGroupsBuilder(int index)
The list of consumer group in the requested parent. The order of the
consumer groups is unspecified.
repeated .google.cloud.managedkafka.v1.ConsumerGroup consumer_groups = 1;
Parameter |
Name |
Description |
index |
int
|
getConsumerGroupsBuilderList()
public List<ConsumerGroup.Builder> getConsumerGroupsBuilderList()
The list of consumer group in the requested parent. The order of the
consumer groups is unspecified.
repeated .google.cloud.managedkafka.v1.ConsumerGroup consumer_groups = 1;
getConsumerGroupsCount()
public int getConsumerGroupsCount()
The list of consumer group in the requested parent. The order of the
consumer groups is unspecified.
repeated .google.cloud.managedkafka.v1.ConsumerGroup consumer_groups = 1;
Returns |
Type |
Description |
int |
|
getConsumerGroupsList()
public List<ConsumerGroup> getConsumerGroupsList()
The list of consumer group in the requested parent. The order of the
consumer groups is unspecified.
repeated .google.cloud.managedkafka.v1.ConsumerGroup consumer_groups = 1;
getConsumerGroupsOrBuilder(int index)
public ConsumerGroupOrBuilder getConsumerGroupsOrBuilder(int index)
The list of consumer group in the requested parent. The order of the
consumer groups is unspecified.
repeated .google.cloud.managedkafka.v1.ConsumerGroup consumer_groups = 1;
Parameter |
Name |
Description |
index |
int
|
getConsumerGroupsOrBuilderList()
public List<? extends ConsumerGroupOrBuilder> getConsumerGroupsOrBuilderList()
The list of consumer group in the requested parent. The order of the
consumer groups is unspecified.
repeated .google.cloud.managedkafka.v1.ConsumerGroup consumer_groups = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.managedkafka.v1.ConsumerGroupOrBuilder> |
|
getDefaultInstanceForType()
public ListConsumerGroupsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
A token that can be sent as page_token
to retrieve the next page of
results. If this field is omitted, there are no more results.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token that can be sent as page_token
to retrieve the next page of
results. If this field is omitted, there are no more results.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListConsumerGroupsResponse other)
public ListConsumerGroupsResponse.Builder mergeFrom(ListConsumerGroupsResponse other)
public ListConsumerGroupsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListConsumerGroupsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListConsumerGroupsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeConsumerGroups(int index)
public ListConsumerGroupsResponse.Builder removeConsumerGroups(int index)
The list of consumer group in the requested parent. The order of the
consumer groups is unspecified.
repeated .google.cloud.managedkafka.v1.ConsumerGroup consumer_groups = 1;
Parameter |
Name |
Description |
index |
int
|
setConsumerGroups(int index, ConsumerGroup value)
public ListConsumerGroupsResponse.Builder setConsumerGroups(int index, ConsumerGroup value)
The list of consumer group in the requested parent. The order of the
consumer groups is unspecified.
repeated .google.cloud.managedkafka.v1.ConsumerGroup consumer_groups = 1;
setConsumerGroups(int index, ConsumerGroup.Builder builderForValue)
public ListConsumerGroupsResponse.Builder setConsumerGroups(int index, ConsumerGroup.Builder builderForValue)
The list of consumer group in the requested parent. The order of the
consumer groups is unspecified.
repeated .google.cloud.managedkafka.v1.ConsumerGroup consumer_groups = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListConsumerGroupsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListConsumerGroupsResponse.Builder setNextPageToken(String value)
A token that can be sent as page_token
to retrieve the next page of
results. If this field is omitted, there are no more results.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListConsumerGroupsResponse.Builder setNextPageTokenBytes(ByteString value)
A token that can be sent as page_token
to retrieve the next page of
results. If this field is omitted, there are no more results.
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 ListConsumerGroupsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListConsumerGroupsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides