Interface TransferProto.UpdateAgentPoolRequestOrBuilder (1.7.0)

public static interface TransferProto.UpdateAgentPoolRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAgentPool()

public abstract TransferTypes.AgentPool getAgentPool()

Required. The agent pool to update. agent_pool is expected to specify following fields:

  • name
  • display_name
  • bandwidth_limit An UpdateAgentPoolRequest with any other fields is rejected with the error INVALID_ARGUMENT.

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

Returns
Type Description
TransferTypes.AgentPool

The agentPool.

getAgentPoolOrBuilder()

public abstract TransferTypes.AgentPoolOrBuilder getAgentPoolOrBuilder()

Required. The agent pool to update. agent_pool is expected to specify following fields:

  • name
  • display_name
  • bandwidth_limit An UpdateAgentPoolRequest with any other fields is rejected with the error INVALID_ARGUMENT.

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

Returns
Type Description
TransferTypes.AgentPoolOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

The field mask of the fields in agentPool to update in this request. The following agentPool fields can be updated:

  • display_name
  • bandwidth_limit

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

The field mask of the fields in agentPool to update in this request. The following agentPool fields can be updated:

  • display_name
  • bandwidth_limit

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasAgentPool()

public abstract boolean hasAgentPool()

Required. The agent pool to update. agent_pool is expected to specify following fields:

  • name
  • display_name
  • bandwidth_limit An UpdateAgentPoolRequest with any other fields is rejected with the error INVALID_ARGUMENT.

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

Returns
Type Description
boolean

Whether the agentPool field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

The field mask of the fields in agentPool to update in this request. The following agentPool fields can be updated:

  • display_name
  • bandwidth_limit

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.