Interface TransferTypes.AgentPoolOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TransferTypes.AgentPool,TransferTypes.AgentPool.Builder
- Enclosing class:
- TransferTypes
public static interface TransferTypes.AgentPoolOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the bandwidth limit details.Specifies the bandwidth limit details.Specifies the client-specified AgentPool description.com.google.protobuf.ByteStringSpecifies the client-specified AgentPool description.getName()Required.com.google.protobuf.ByteStringRequired.getState()Output only.intOutput only.booleanSpecifies the bandwidth limit details.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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];- Returns:
- The name.
-
getNameBytes
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];- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()Specifies the client-specified AgentPool description.
string display_name = 3;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Specifies the client-specified AgentPool description.
string display_name = 3;- Returns:
- The bytes for displayName.
-
getStateValue
int getStateValue()Output only. Specifies the state of the AgentPool.
.google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
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];- Returns:
- The state.
-
hasBandwidthLimit
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;- Returns:
- Whether the bandwidthLimit field is set.
-
getBandwidthLimit
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;- Returns:
- The bandwidthLimit.
-
getBandwidthLimitOrBuilder
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;
-