Interface TransferProto.CreateAgentPoolRequestOrBuilder (1.13.0)

Stay organized with collections Save and categorize content based on your preferences.
public static interface TransferProto.CreateAgentPoolRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAgentPool()

public abstract TransferTypes.AgentPool getAgentPool()

Required. The agent pool to create.

.google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TransferTypes.AgentPool

The agentPool.

getAgentPoolId()

public abstract String getAgentPoolId()

Required. The ID of the agent pool to create. The agent_pool_id must meet the following requirements:

  • Length of 128 characters or less.
  • Not start with the string goog.
  • Start with a lowercase ASCII character, followed by:
    • Zero or more: lowercase Latin alphabet characters, numerals, hyphens (-), periods (.), underscores (_), or tildes (~).
    • One or more numerals or lowercase ASCII characters. As expressed by the regular expression: ^(?!goog)a-z?$.

string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The agentPoolId.

getAgentPoolIdBytes()

public abstract ByteString getAgentPoolIdBytes()

Required. The ID of the agent pool to create. The agent_pool_id must meet the following requirements:

  • Length of 128 characters or less.
  • Not start with the string goog.
  • Start with a lowercase ASCII character, followed by:
    • Zero or more: lowercase Latin alphabet characters, numerals, hyphens (-), periods (.), underscores (_), or tildes (~).
    • One or more numerals or lowercase ASCII characters. As expressed by the regular expression: ^(?!goog)a-z?$.

string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for agentPoolId.

getAgentPoolOrBuilder()

public abstract TransferTypes.AgentPoolOrBuilder getAgentPoolOrBuilder()

Required. The agent pool to create.

.google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TransferTypes.AgentPoolOrBuilder

getProjectId()

public abstract String getProjectId()

Required. The ID of the Google Cloud project that owns the agent pool.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

Required. The ID of the Google Cloud project that owns the agent pool.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for projectId.

hasAgentPool()

public abstract boolean hasAgentPool()

Required. The agent pool to create.

.google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the agentPool field is set.