Class ListConnectionsResponse (2.23.0)

public final class ListConnectionsResponse extends GeneratedMessageV3 implements ListConnectionsResponseOrBuilder

The response for ListConnections.

Protobuf type google.cloud.apigeeconnect.v1.ListConnectionsResponse

Static Fields

CONNECTIONS_FIELD_NUMBER

public static final int CONNECTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListConnectionsResponse getDefaultInstance()
Returns
TypeDescription
ListConnectionsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListConnectionsResponse.Builder newBuilder()
Returns
TypeDescription
ListConnectionsResponse.Builder

newBuilder(ListConnectionsResponse prototype)

public static ListConnectionsResponse.Builder newBuilder(ListConnectionsResponse prototype)
Parameter
NameDescription
prototypeListConnectionsResponse
Returns
TypeDescription
ListConnectionsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListConnectionsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListConnectionsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListConnectionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListConnectionsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListConnectionsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListConnectionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListConnectionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListConnectionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListConnectionsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListConnectionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListConnectionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListConnectionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListConnectionsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListConnectionsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListConnectionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListConnectionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListConnectionsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListConnectionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListConnectionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListConnectionsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListConnectionsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListConnectionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListConnectionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListConnectionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListConnectionsResponse> parser()
Returns
TypeDescription
Parser<ListConnectionsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConnections(int index)

public Connection getConnections(int index)

A list of clients.

repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Connection

getConnectionsCount()

public int getConnectionsCount()

A list of clients.

repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;

Returns
TypeDescription
int

getConnectionsList()

public List<Connection> getConnectionsList()

A list of clients.

repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;

Returns
TypeDescription
List<Connection>

getConnectionsOrBuilder(int index)

public ConnectionOrBuilder getConnectionsOrBuilder(int index)

A list of clients.

repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConnectionOrBuilder

getConnectionsOrBuilderList()

public List<? extends ConnectionOrBuilder> getConnectionsOrBuilderList()

A list of clients.

repeated .google.cloud.apigeeconnect.v1.Connection connections = 1;

Returns
TypeDescription
List<? extends com.google.cloud.apigeeconnect.v1.ConnectionOrBuilder>

getDefaultInstanceForType()

public ListConnectionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListConnectionsResponse

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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListConnectionsResponse> getParserForType()
Returns
TypeDescription
Parser<ListConnectionsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListConnectionsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListConnectionsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListConnectionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListConnectionsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListConnectionsResponse.Builder toBuilder()
Returns
TypeDescription
ListConnectionsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException