Class TransferProto.ListAgentPoolsResponse (1.51.0)

public static final class TransferProto.ListAgentPoolsResponse extends GeneratedMessageV3 implements TransferProto.ListAgentPoolsResponseOrBuilder

Response from ListAgentPools.

Protobuf type google.storagetransfer.v1.ListAgentPoolsResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TransferProto.ListAgentPoolsResponse

Static Fields

AGENT_POOLS_FIELD_NUMBER

public static final int AGENT_POOLS_FIELD_NUMBER
Field Value
Type Description
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransferProto.ListAgentPoolsResponse getDefaultInstance()
Returns
Type Description
TransferProto.ListAgentPoolsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TransferProto.ListAgentPoolsResponse.Builder newBuilder()
Returns
Type Description
TransferProto.ListAgentPoolsResponse.Builder

newBuilder(TransferProto.ListAgentPoolsResponse prototype)

public static TransferProto.ListAgentPoolsResponse.Builder newBuilder(TransferProto.ListAgentPoolsResponse prototype)
Parameter
Name Description
prototype TransferProto.ListAgentPoolsResponse
Returns
Type Description
TransferProto.ListAgentPoolsResponse.Builder

parseDelimitedFrom(InputStream input)

public static TransferProto.ListAgentPoolsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransferProto.ListAgentPoolsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferProto.ListAgentPoolsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferProto.ListAgentPoolsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TransferProto.ListAgentPoolsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TransferProto.ListAgentPoolsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransferProto.ListAgentPoolsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferProto.ListAgentPoolsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransferProto.ListAgentPoolsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TransferProto.ListAgentPoolsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransferProto.ListAgentPoolsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferProto.ListAgentPoolsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransferProto.ListAgentPoolsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TransferProto.ListAgentPoolsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferProto.ListAgentPoolsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferProto.ListAgentPoolsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TransferProto.ListAgentPoolsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransferProto.ListAgentPoolsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferProto.ListAgentPoolsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferProto.ListAgentPoolsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TransferProto.ListAgentPoolsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TransferProto.ListAgentPoolsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransferProto.ListAgentPoolsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferProto.ListAgentPoolsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TransferProto.ListAgentPoolsResponse> parser()
Returns
Type Description
Parser<ListAgentPoolsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAgentPools(int index)

public TransferTypes.AgentPool getAgentPools(int index)

A list of agent pools.

repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
TransferTypes.AgentPool

getAgentPoolsCount()

public int getAgentPoolsCount()

A list of agent pools.

repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;

Returns
Type Description
int

getAgentPoolsList()

public List<TransferTypes.AgentPool> getAgentPoolsList()

A list of agent pools.

repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;

Returns
Type Description
List<AgentPool>

getAgentPoolsOrBuilder(int index)

public TransferTypes.AgentPoolOrBuilder getAgentPoolsOrBuilder(int index)

A list of agent pools.

repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
TransferTypes.AgentPoolOrBuilder

getAgentPoolsOrBuilderList()

public List<? extends TransferTypes.AgentPoolOrBuilder> getAgentPoolsOrBuilderList()

A list of agent pools.

repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;

Returns
Type Description
List<? extends com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder>

getDefaultInstanceForType()

public TransferProto.ListAgentPoolsResponse getDefaultInstanceForType()
Returns
Type Description
TransferProto.ListAgentPoolsResponse

getNextPageToken()

public String getNextPageToken()

The list next page token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The list next page token.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<TransferProto.ListAgentPoolsResponse> getParserForType()
Returns
Type Description
Parser<ListAgentPoolsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TransferProto.ListAgentPoolsResponse.Builder newBuilderForType()
Returns
Type Description
TransferProto.ListAgentPoolsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransferProto.ListAgentPoolsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TransferProto.ListAgentPoolsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TransferProto.ListAgentPoolsResponse.Builder toBuilder()
Returns
Type Description
TransferProto.ListAgentPoolsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException