public static final class TransferProto.ListAgentPoolsRequest extends GeneratedMessageV3 implements TransferProto.ListAgentPoolsRequestOrBuilder
The request passed to ListAgentPools.
Protobuf type google.storagetransfer.v1.ListAgentPoolsRequest
Static Fields
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
Field Value
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TransferProto.ListAgentPoolsRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TransferProto.ListAgentPoolsRequest.Builder newBuilder()
Returns
newBuilder(TransferProto.ListAgentPoolsRequest prototype)
public static TransferProto.ListAgentPoolsRequest.Builder newBuilder(TransferProto.ListAgentPoolsRequest prototype)
Parameter
Returns
public static TransferProto.ListAgentPoolsRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferProto.ListAgentPoolsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TransferProto.ListAgentPoolsRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransferProto.ListAgentPoolsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TransferProto.ListAgentPoolsRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferProto.ListAgentPoolsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferProto.ListAgentPoolsRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TransferProto.ListAgentPoolsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferProto.ListAgentPoolsRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferProto.ListAgentPoolsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TransferProto.ListAgentPoolsRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransferProto.ListAgentPoolsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TransferProto.ListAgentPoolsRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public TransferProto.ListAgentPoolsRequest getDefaultInstanceForType()
Returns
getFilter()
public String getFilter()
An optional list of query parameters specified as JSON text in the
form of:
{"agentPoolNames":["agentpool1","agentpool2",...]}
Since agentPoolNames
support multiple values, its values must be
specified with array notation. When the filter is either empty or not
provided, the list returns all agent pools for the project.
string filter = 2;
Returns
Type | Description |
String | The filter.
|
getFilterBytes()
public ByteString getFilterBytes()
An optional list of query parameters specified as JSON text in the
form of:
{"agentPoolNames":["agentpool1","agentpool2",...]}
Since agentPoolNames
support multiple values, its values must be
specified with array notation. When the filter is either empty or not
provided, the list returns all agent pools for the project.
string filter = 2;
Returns
getPageSize()
The list page size. The max allowed value is 256
.
int32 page_size = 3;
Returns
Type | Description |
int | The pageSize.
|
getPageToken()
public String getPageToken()
The list page token.
string page_token = 4;
Returns
Type | Description |
String | The pageToken.
|
getPageTokenBytes()
public ByteString getPageTokenBytes()
The list page token.
string page_token = 4;
Returns
getParserForType()
public Parser<TransferProto.ListAgentPoolsRequest> getParserForType()
Returns
Overrides
getProjectId()
public String getProjectId()
Required. The ID of the Google Cloud project that owns the job.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The projectId.
|
getProjectIdBytes()
public ByteString getProjectIdBytes()
Required. The ID of the Google Cloud project that owns the job.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TransferProto.ListAgentPoolsRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransferProto.ListAgentPoolsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TransferProto.ListAgentPoolsRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions