Class TransferProto.ListAgentPoolsRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TransferProto.ListAgentPoolsRequestOrBuilder, Serializable
Enclosing class:
TransferProto

public static final class TransferProto.ListAgentPoolsRequest extends com.google.protobuf.GeneratedMessage implements TransferProto.ListAgentPoolsRequestOrBuilder
 The request passed to ListAgentPools.
 
Protobuf type google.storagetransfer.v1.ListAgentPoolsRequest
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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];
      Specified by:
      getProjectId in interface TransferProto.ListAgentPoolsRequestOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public com.google.protobuf.ByteString getProjectIdBytes()
       Required. The ID of the Google Cloud project that owns the job.
       
      string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getProjectIdBytes in interface TransferProto.ListAgentPoolsRequestOrBuilder
      Returns:
      The bytes for projectId.
    • 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;
      Specified by:
      getFilter in interface TransferProto.ListAgentPoolsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.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;
      Specified by:
      getFilterBytes in interface TransferProto.ListAgentPoolsRequestOrBuilder
      Returns:
      The bytes for filter.
    • getPageSize

      public int getPageSize()
       The list page size. The max allowed value is `256`.
       
      int32 page_size = 3;
      Specified by:
      getPageSize in interface TransferProto.ListAgentPoolsRequestOrBuilder
      Returns:
      The pageSize.
    • getPageToken

      public String getPageToken()
       The list page token.
       
      string page_token = 4;
      Specified by:
      getPageToken in interface TransferProto.ListAgentPoolsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       The list page token.
       
      string page_token = 4;
      Specified by:
      getPageTokenBytes in interface TransferProto.ListAgentPoolsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static TransferProto.ListAgentPoolsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferProto.ListAgentPoolsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferProto.ListAgentPoolsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferProto.ListAgentPoolsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferProto.ListAgentPoolsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferProto.ListAgentPoolsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferProto.ListAgentPoolsRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TransferProto.ListAgentPoolsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TransferProto.ListAgentPoolsRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TransferProto.ListAgentPoolsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TransferProto.ListAgentPoolsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TransferProto.ListAgentPoolsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public TransferProto.ListAgentPoolsRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static TransferProto.ListAgentPoolsRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected TransferProto.ListAgentPoolsRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static TransferProto.ListAgentPoolsRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<TransferProto.ListAgentPoolsRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<TransferProto.ListAgentPoolsRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public TransferProto.ListAgentPoolsRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder