Interface TransferTypes.AgentPoolOrBuilder (1.39.0)

public static interface TransferTypes.AgentPoolOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBandwidthLimit()

public abstract 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
Type Description
TransferTypes.AgentPool.BandwidthLimit

The bandwidthLimit.

getBandwidthLimitOrBuilder()

public abstract 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;

Returns
Type Description
TransferTypes.AgentPool.BandwidthLimitOrBuilder

getDisplayName()

public abstract String getDisplayName()

Specifies the client-specified AgentPool description.

string display_name = 3;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Specifies the client-specified AgentPool description.

string display_name = 3;

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public abstract 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
Type Description
String

The name.

getNameBytes()

public abstract 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
Type Description
ByteString

The bytes for name.

getState()

public abstract 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
Type Description
TransferTypes.AgentPool.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. Specifies the state of the AgentPool.

.google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasBandwidthLimit()

public abstract 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
Type Description
boolean

Whether the bandwidthLimit field is set.