public static final class TransferProto.UpdateAgentPoolRequest.Builder extends GeneratedMessageV3.Builder<TransferProto.UpdateAgentPoolRequest.Builder> implements TransferProto.UpdateAgentPoolRequestOrBuilder
Specifies the request passed to UpdateAgentPool.
Protobuf type google.storagetransfer.v1.UpdateAgentPoolRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferProto.UpdateAgentPoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TransferProto.UpdateAgentPoolRequest build()
Returns
buildPartial()
public TransferProto.UpdateAgentPoolRequest buildPartial()
Returns
clear()
public TransferProto.UpdateAgentPoolRequest.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public TransferProto.UpdateAgentPoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferProto.UpdateAgentPoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
clone()
public TransferProto.UpdateAgentPoolRequest.Builder clone()
Returns
Overrides
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
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
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
getDefaultInstanceForType()
public TransferProto.UpdateAgentPoolRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
public TransferProto.UpdateAgentPoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TransferProto.UpdateAgentPoolRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(TransferProto.UpdateAgentPoolRequest other)
public TransferProto.UpdateAgentPoolRequest.Builder mergeFrom(TransferProto.UpdateAgentPoolRequest other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.UpdateAgentPoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TransferProto.UpdateAgentPoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferProto.UpdateAgentPoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.UpdateAgentPoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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