public static final class TransferProto.ListAgentPoolsResponse.Builder extends GeneratedMessageV3.Builder<TransferProto.ListAgentPoolsResponse.Builder> implements TransferProto.ListAgentPoolsResponseOrBuilder
Response from ListAgentPools.
Protobuf type google.storagetransfer.v1.ListAgentPoolsResponse
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
addAgentPools(TransferTypes.AgentPool value)
public TransferProto.ListAgentPoolsResponse.Builder addAgentPools(TransferTypes.AgentPool value)
A list of agent pools.
repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;
Parameter
Returns
addAgentPools(TransferTypes.AgentPool.Builder builderForValue)
public TransferProto.ListAgentPoolsResponse.Builder addAgentPools(TransferTypes.AgentPool.Builder builderForValue)
A list of agent pools.
repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;
Parameter
Returns
addAgentPools(int index, TransferTypes.AgentPool value)
public TransferProto.ListAgentPoolsResponse.Builder addAgentPools(int index, TransferTypes.AgentPool value)
A list of agent pools.
repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;
Parameters
Returns
addAgentPools(int index, TransferTypes.AgentPool.Builder builderForValue)
public TransferProto.ListAgentPoolsResponse.Builder addAgentPools(int index, TransferTypes.AgentPool.Builder builderForValue)
A list of agent pools.
repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;
Parameters
Returns
addAgentPoolsBuilder()
public TransferTypes.AgentPool.Builder addAgentPoolsBuilder()
A list of agent pools.
repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;
Returns
addAgentPoolsBuilder(int index)
public TransferTypes.AgentPool.Builder addAgentPoolsBuilder(int index)
A list of agent pools.
repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;
Parameter
Name |
Description |
index |
int
|
Returns
addAllAgentPools(Iterable<? extends TransferTypes.AgentPool> values)
public TransferProto.ListAgentPoolsResponse.Builder addAllAgentPools(Iterable<? extends TransferTypes.AgentPool> values)
A list of agent pools.
repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferProto.ListAgentPoolsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TransferProto.ListAgentPoolsResponse build()
Returns
buildPartial()
public TransferProto.ListAgentPoolsResponse buildPartial()
Returns
clear()
public TransferProto.ListAgentPoolsResponse.Builder clear()
Returns
Overrides
clearAgentPools()
public TransferProto.ListAgentPoolsResponse.Builder clearAgentPools()
A list of agent pools.
repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public TransferProto.ListAgentPoolsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public TransferProto.ListAgentPoolsResponse.Builder clearNextPageToken()
The list next page token.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferProto.ListAgentPoolsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public TransferProto.ListAgentPoolsResponse.Builder clone()
Returns
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
getAgentPoolsBuilder(int index)
public TransferTypes.AgentPool.Builder getAgentPoolsBuilder(int index)
A list of agent pools.
repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getAgentPoolsBuilderList()
public List<TransferTypes.AgentPool.Builder> getAgentPoolsBuilderList()
A list of agent pools.
repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;
Returns
getAgentPoolsCount()
public int getAgentPoolsCount()
A list of agent pools.
repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;
Returns
getAgentPoolsList()
public List<TransferTypes.AgentPool> getAgentPoolsList()
A list of agent pools.
repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;
Returns
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
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public TransferProto.ListAgentPoolsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TransferProto.ListAgentPoolsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(TransferProto.ListAgentPoolsResponse other)
public TransferProto.ListAgentPoolsResponse.Builder mergeFrom(TransferProto.ListAgentPoolsResponse other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.ListAgentPoolsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeAgentPools(int index)
public TransferProto.ListAgentPoolsResponse.Builder removeAgentPools(int index)
A list of agent pools.
repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;
Parameter
Name |
Description |
index |
int
|
Returns
setAgentPools(int index, TransferTypes.AgentPool value)
public TransferProto.ListAgentPoolsResponse.Builder setAgentPools(int index, TransferTypes.AgentPool value)
A list of agent pools.
repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;
Parameters
Returns
setAgentPools(int index, TransferTypes.AgentPool.Builder builderForValue)
public TransferProto.ListAgentPoolsResponse.Builder setAgentPools(int index, TransferTypes.AgentPool.Builder builderForValue)
A list of agent pools.
repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TransferProto.ListAgentPoolsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public TransferProto.ListAgentPoolsResponse.Builder setNextPageToken(String value)
The list next page token.
string next_page_token = 2;
Parameter
Name |
Description |
value |
String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public TransferProto.ListAgentPoolsResponse.Builder setNextPageTokenBytes(ByteString value)
The list next page token.
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 TransferProto.ListAgentPoolsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.ListAgentPoolsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides