Interface TransferProto.CreateAgentPoolRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TransferProto.CreateAgentPoolRequest
,TransferProto.CreateAgentPoolRequest.Builder
- Enclosing class:
- TransferProto
public static interface TransferProto.CreateAgentPoolRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransferTypes.AgentPool
getAgentPool()
Required.String
getAgentPoolId()
Required.com.google.protobuf.ByteString
getAgentPoolIdBytes()
Required.TransferTypes.AgentPoolOrBuilder
getAgentPoolOrBuilder()
Required.String
getProjectId()
Required.com.google.protobuf.ByteString
getProjectIdBytes()
Required.boolean
hasAgentPool()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getProjectId
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:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.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:
- The bytes for projectId.
-
hasAgentPool
boolean hasAgentPool()
Required. The agent pool to create.
.google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the agentPool field is set.
-
getAgentPool
TransferTypes.AgentPool getAgentPool()
Required. The agent pool to create.
.google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The agentPool.
-
getAgentPoolOrBuilder
TransferTypes.AgentPoolOrBuilder getAgentPoolOrBuilder()
Required. The agent pool to create.
.google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED];
-
getAgentPoolId
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]([a-z0-9-._~]*[a-z0-9])?$`.
string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The agentPoolId.
-
getAgentPoolIdBytes
com.google.protobuf.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]([a-z0-9-._~]*[a-z0-9])?$`.
string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for agentPoolId.
-
-