Class TransferProto.UpdateAgentPoolRequest.Builder (1.83.0)

public static final class TransferProto.UpdateAgentPoolRequest.Builder extends GeneratedMessage.Builder<TransferProto.UpdateAgentPoolRequest.Builder> implements TransferProto.UpdateAgentPoolRequestOrBuilder

Specifies the request passed to UpdateAgentPool.

Protobuf type google.storagetransfer.v1.UpdateAgentPoolRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public TransferProto.UpdateAgentPoolRequest build()
Returns
Type Description
TransferProto.UpdateAgentPoolRequest

buildPartial()

public TransferProto.UpdateAgentPoolRequest buildPartial()
Returns
Type Description
TransferProto.UpdateAgentPoolRequest

clear()

public TransferProto.UpdateAgentPoolRequest.Builder clear()
Returns
Type Description
TransferProto.UpdateAgentPoolRequest.Builder
Overrides

clearAgentPool()

public TransferProto.UpdateAgentPoolRequest.Builder clearAgentPool()

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
TransferProto.UpdateAgentPoolRequest.Builder

clearUpdateMask()

public TransferProto.UpdateAgentPoolRequest.Builder clearUpdateMask()

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
TransferProto.UpdateAgentPoolRequest.Builder

getAgentPool()

public 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.

getAgentPoolBuilder()

public TransferTypes.AgentPool.Builder getAgentPoolBuilder()

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.Builder

getAgentPoolOrBuilder()

public 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

getDefaultInstanceForType()

public TransferProto.UpdateAgentPoolRequest getDefaultInstanceForType()
Returns
Type Description
TransferProto.UpdateAgentPoolRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public 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.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

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
Builder

getUpdateMaskOrBuilder()

public 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 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 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.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAgentPool(TransferTypes.AgentPool value)

public TransferProto.UpdateAgentPoolRequest.Builder mergeAgentPool(TransferTypes.AgentPool value)

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];

Parameter
Name Description
value TransferTypes.AgentPool
Returns
Type Description
TransferProto.UpdateAgentPoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransferProto.UpdateAgentPoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferProto.UpdateAgentPoolRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TransferProto.UpdateAgentPoolRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TransferProto.UpdateAgentPoolRequest.Builder
Overrides

mergeFrom(TransferProto.UpdateAgentPoolRequest other)

public TransferProto.UpdateAgentPoolRequest.Builder mergeFrom(TransferProto.UpdateAgentPoolRequest other)
Parameter
Name Description
other TransferProto.UpdateAgentPoolRequest
Returns
Type Description
TransferProto.UpdateAgentPoolRequest.Builder

mergeUpdateMask(FieldMask value)

public TransferProto.UpdateAgentPoolRequest.Builder mergeUpdateMask(FieldMask value)

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;

Parameter
Name Description
value FieldMask
Returns
Type Description
TransferProto.UpdateAgentPoolRequest.Builder

setAgentPool(TransferTypes.AgentPool value)

public TransferProto.UpdateAgentPoolRequest.Builder setAgentPool(TransferTypes.AgentPool value)

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];

Parameter
Name Description
value TransferTypes.AgentPool
Returns
Type Description
TransferProto.UpdateAgentPoolRequest.Builder

setAgentPool(TransferTypes.AgentPool.Builder builderForValue)

public TransferProto.UpdateAgentPoolRequest.Builder setAgentPool(TransferTypes.AgentPool.Builder builderForValue)

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];

Parameter
Name Description
builderForValue TransferTypes.AgentPool.Builder
Returns
Type Description
TransferProto.UpdateAgentPoolRequest.Builder

setUpdateMask(FieldMask value)

public TransferProto.UpdateAgentPoolRequest.Builder setUpdateMask(FieldMask value)

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;

Parameter
Name Description
value FieldMask
Returns
Type Description
TransferProto.UpdateAgentPoolRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public TransferProto.UpdateAgentPoolRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
TransferProto.UpdateAgentPoolRequest.Builder