public static final class ListConnectorsResponse.Builder extends GeneratedMessageV3.Builder<ListConnectorsResponse.Builder> implements ListConnectorsResponseOrBuilder
Response for ListConnectors.
Protobuf type google.cloud.managedkafka.v1.ListConnectorsResponse
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
addAllConnectors(Iterable<? extends Connector> values)
public ListConnectorsResponse.Builder addAllConnectors(Iterable<? extends Connector> values)
The list of connectors in the requested parent.
repeated .google.cloud.managedkafka.v1.Connector connectors = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.managedkafka.v1.Connector>
|
addConnectors(Connector value)
public ListConnectorsResponse.Builder addConnectors(Connector value)
The list of connectors in the requested parent.
repeated .google.cloud.managedkafka.v1.Connector connectors = 1;
addConnectors(Connector.Builder builderForValue)
public ListConnectorsResponse.Builder addConnectors(Connector.Builder builderForValue)
The list of connectors in the requested parent.
repeated .google.cloud.managedkafka.v1.Connector connectors = 1;
addConnectors(int index, Connector value)
public ListConnectorsResponse.Builder addConnectors(int index, Connector value)
The list of connectors in the requested parent.
repeated .google.cloud.managedkafka.v1.Connector connectors = 1;
addConnectors(int index, Connector.Builder builderForValue)
public ListConnectorsResponse.Builder addConnectors(int index, Connector.Builder builderForValue)
The list of connectors in the requested parent.
repeated .google.cloud.managedkafka.v1.Connector connectors = 1;
addConnectorsBuilder()
public Connector.Builder addConnectorsBuilder()
The list of connectors in the requested parent.
repeated .google.cloud.managedkafka.v1.Connector connectors = 1;
addConnectorsBuilder(int index)
public Connector.Builder addConnectorsBuilder(int index)
The list of connectors in the requested parent.
repeated .google.cloud.managedkafka.v1.Connector connectors = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListConnectorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListConnectorsResponse build()
buildPartial()
public ListConnectorsResponse buildPartial()
clear()
public ListConnectorsResponse.Builder clear()
Overrides
clearConnectors()
public ListConnectorsResponse.Builder clearConnectors()
The list of connectors in the requested parent.
repeated .google.cloud.managedkafka.v1.Connector connectors = 1;
clearField(Descriptors.FieldDescriptor field)
public ListConnectorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListConnectorsResponse.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 ListConnectorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListConnectorsResponse.Builder clone()
Overrides
getConnectors(int index)
public Connector getConnectors(int index)
The list of connectors in the requested parent.
repeated .google.cloud.managedkafka.v1.Connector connectors = 1;
Parameter |
Name |
Description |
index |
int
|
getConnectorsBuilder(int index)
public Connector.Builder getConnectorsBuilder(int index)
The list of connectors in the requested parent.
repeated .google.cloud.managedkafka.v1.Connector connectors = 1;
Parameter |
Name |
Description |
index |
int
|
getConnectorsBuilderList()
public List<Connector.Builder> getConnectorsBuilderList()
The list of connectors in the requested parent.
repeated .google.cloud.managedkafka.v1.Connector connectors = 1;
getConnectorsCount()
public int getConnectorsCount()
The list of connectors in the requested parent.
repeated .google.cloud.managedkafka.v1.Connector connectors = 1;
Returns |
Type |
Description |
int |
|
getConnectorsList()
public List<Connector> getConnectorsList()
The list of connectors in the requested parent.
repeated .google.cloud.managedkafka.v1.Connector connectors = 1;
getConnectorsOrBuilder(int index)
public ConnectorOrBuilder getConnectorsOrBuilder(int index)
The list of connectors in the requested parent.
repeated .google.cloud.managedkafka.v1.Connector connectors = 1;
Parameter |
Name |
Description |
index |
int
|
getConnectorsOrBuilderList()
public List<? extends ConnectorOrBuilder> getConnectorsOrBuilderList()
The list of connectors in the requested parent.
repeated .google.cloud.managedkafka.v1.Connector connectors = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.managedkafka.v1.ConnectorOrBuilder> |
|
getDefaultInstanceForType()
public ListConnectorsResponse 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(ListConnectorsResponse other)
public ListConnectorsResponse.Builder mergeFrom(ListConnectorsResponse other)
public ListConnectorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListConnectorsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListConnectorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeConnectors(int index)
public ListConnectorsResponse.Builder removeConnectors(int index)
The list of connectors in the requested parent.
repeated .google.cloud.managedkafka.v1.Connector connectors = 1;
Parameter |
Name |
Description |
index |
int
|
setConnectors(int index, Connector value)
public ListConnectorsResponse.Builder setConnectors(int index, Connector value)
The list of connectors in the requested parent.
repeated .google.cloud.managedkafka.v1.Connector connectors = 1;
setConnectors(int index, Connector.Builder builderForValue)
public ListConnectorsResponse.Builder setConnectors(int index, Connector.Builder builderForValue)
The list of connectors in the requested parent.
repeated .google.cloud.managedkafka.v1.Connector connectors = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListConnectorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListConnectorsResponse.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 ListConnectorsResponse.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 ListConnectorsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListConnectorsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides