public static final class ListConnectionsResponse.Builder extends GeneratedMessageV3.Builder<ListConnectionsResponse.Builder> implements ListConnectionsResponseOrBuilder
The response for
ListConnections.
Protobuf type google.cloud.apigeeconnect.v1.ListConnectionsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addAllConnections(Iterable<? extends Connection> values)
public ListConnectionsResponse.Builder addAllConnections(Iterable<? extends Connection> values)
A list of clients.
repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.apigeeconnect.v1.Connection>
|
Returns
addConnections(Connection value)
public ListConnectionsResponse.Builder addConnections(Connection value)
A list of clients.
repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;
Parameter
Returns
addConnections(Connection.Builder builderForValue)
public ListConnectionsResponse.Builder addConnections(Connection.Builder builderForValue)
A list of clients.
repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;
Parameter
Returns
addConnections(int index, Connection value)
public ListConnectionsResponse.Builder addConnections(int index, Connection value)
A list of clients.
repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;
Parameters
Returns
addConnections(int index, Connection.Builder builderForValue)
public ListConnectionsResponse.Builder addConnections(int index, Connection.Builder builderForValue)
A list of clients.
repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;
Parameters
Returns
addConnectionsBuilder()
public Connection.Builder addConnectionsBuilder()
A list of clients.
repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;
Returns
addConnectionsBuilder(int index)
public Connection.Builder addConnectionsBuilder(int index)
A list of clients.
repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListConnectionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListConnectionsResponse build()
Returns
buildPartial()
public ListConnectionsResponse buildPartial()
Returns
clear()
public ListConnectionsResponse.Builder clear()
Returns
Overrides
clearConnections()
public ListConnectionsResponse.Builder clearConnections()
A list of clients.
repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListConnectionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListConnectionsResponse.Builder clearNextPageToken()
A token that can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListConnectionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListConnectionsResponse.Builder clone()
Returns
Overrides
getConnections(int index)
public Connection getConnections(int index)
A list of clients.
repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;
Parameter
Returns
getConnectionsBuilder(int index)
public Connection.Builder getConnectionsBuilder(int index)
A list of clients.
repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;
Parameter
Returns
getConnectionsBuilderList()
public List<Connection.Builder> getConnectionsBuilderList()
A list of clients.
repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;
Returns
getConnectionsCount()
public int getConnectionsCount()
A list of clients.
repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;
Returns
getConnectionsList()
public List<Connection> getConnectionsList()
A list of clients.
repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;
Returns
getConnectionsOrBuilder(int index)
public ConnectionOrBuilder getConnectionsOrBuilder(int index)
A list of clients.
repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;
Parameter
Returns
getConnectionsOrBuilderList()
public List<? extends ConnectionOrBuilder> getConnectionsOrBuilderList()
A list of clients.
repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;
Returns
Type | Description |
List<? extends com.google.cloud.apigeeconnect.v1.ConnectionOrBuilder> | |
getDefaultInstanceForType()
public ListConnectionsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
A token that can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
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.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListConnectionsResponse other)
public ListConnectionsResponse.Builder mergeFrom(ListConnectionsResponse other)
Parameter
Returns
public ListConnectionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListConnectionsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListConnectionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeConnections(int index)
public ListConnectionsResponse.Builder removeConnections(int index)
A list of clients.
repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;
Parameter
Returns
setConnections(int index, Connection value)
public ListConnectionsResponse.Builder setConnections(int index, Connection value)
A list of clients.
repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;
Parameters
Returns
setConnections(int index, Connection.Builder builderForValue)
public ListConnectionsResponse.Builder setConnections(int index, Connection.Builder builderForValue)
A list of clients.
repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListConnectionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListConnectionsResponse.Builder setNextPageToken(String value)
A token that can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListConnectionsResponse.Builder setNextPageTokenBytes(ByteString value)
A token that can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
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 ListConnectionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListConnectionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides