Class TransferTypes.AgentPool

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

public static final class TransferTypes.AgentPool extends com.google.protobuf.GeneratedMessage implements TransferTypes.AgentPoolOrBuilder
 Represents an agent pool.
 
Protobuf type google.storagetransfer.v1.AgentPool
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
    • getName

      public String getName()
       Required. Specifies a unique string that identifies the agent pool.
      
       Format: `projects/{project_id}/agentPools/{agent_pool_id}`
       
      string name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getName in interface TransferTypes.AgentPoolOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. Specifies a unique string that identifies the agent pool.
      
       Format: `projects/{project_id}/agentPools/{agent_pool_id}`
       
      string name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNameBytes in interface TransferTypes.AgentPoolOrBuilder
      Returns:
      The bytes for name.
    • getDisplayName

      public String getDisplayName()
       Specifies the client-specified AgentPool description.
       
      string display_name = 3;
      Specified by:
      getDisplayName in interface TransferTypes.AgentPoolOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Specifies the client-specified AgentPool description.
       
      string display_name = 3;
      Specified by:
      getDisplayNameBytes in interface TransferTypes.AgentPoolOrBuilder
      Returns:
      The bytes for displayName.
    • getStateValue

      public int getStateValue()
       Output only. Specifies the state of the AgentPool.
       
      .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface TransferTypes.AgentPoolOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public TransferTypes.AgentPool.State getState()
       Output only. Specifies the state of the AgentPool.
       
      .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface TransferTypes.AgentPoolOrBuilder
      Returns:
      The state.
    • hasBandwidthLimit

      public boolean hasBandwidthLimit()
       Specifies the bandwidth limit details. If this field is unspecified, the
       default value is set as 'No Limit'.
       
      .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
      Specified by:
      hasBandwidthLimit in interface TransferTypes.AgentPoolOrBuilder
      Returns:
      Whether the bandwidthLimit field is set.
    • getBandwidthLimit

      public TransferTypes.AgentPool.BandwidthLimit getBandwidthLimit()
       Specifies the bandwidth limit details. If this field is unspecified, the
       default value is set as 'No Limit'.
       
      .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
      Specified by:
      getBandwidthLimit in interface TransferTypes.AgentPoolOrBuilder
      Returns:
      The bandwidthLimit.
    • getBandwidthLimitOrBuilder

      public TransferTypes.AgentPool.BandwidthLimitOrBuilder getBandwidthLimitOrBuilder()
       Specifies the bandwidth limit details. If this field is unspecified, the
       default value is set as 'No Limit'.
       
      .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
      Specified by:
      getBandwidthLimitOrBuilder in interface TransferTypes.AgentPoolOrBuilder
    • 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 TransferTypes.AgentPool parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static TransferTypes.AgentPool parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static TransferTypes.AgentPool parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static TransferTypes.AgentPool.Builder newBuilder()
    • newBuilder

      public static TransferTypes.AgentPool.Builder newBuilder(TransferTypes.AgentPool prototype)
    • toBuilder

      public TransferTypes.AgentPool.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static TransferTypes.AgentPool getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<TransferTypes.AgentPool> parser()
    • getParserForType

      public com.google.protobuf.Parser<TransferTypes.AgentPool> 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 TransferTypes.AgentPool getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder