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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferProto.UpdateAgentPoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TransferProto.UpdateAgentPoolRequest build()
buildPartial()
public TransferProto.UpdateAgentPoolRequest buildPartial()
clear()
public TransferProto.UpdateAgentPoolRequest.Builder clear()
Overrides
clearAgentPool()
public TransferProto.UpdateAgentPoolRequest.Builder clearAgentPool()
Required. The agent pool to update. agent_pool
is expected to specify following
fields:
.google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public TransferProto.UpdateAgentPoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferProto.UpdateAgentPoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public TransferProto.UpdateAgentPoolRequest.Builder clone()
Overrides
getAgentPool()
public TransferTypes.AgentPool getAgentPool()
Required. The agent pool to update. agent_pool
is expected to specify following
fields:
.google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED];
getAgentPoolBuilder()
public TransferTypes.AgentPool.Builder getAgentPoolBuilder()
Required. The agent pool to update. agent_pool
is expected to specify following
fields:
.google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED];
getAgentPoolOrBuilder()
public TransferTypes.AgentPoolOrBuilder getAgentPoolOrBuilder()
Required. The agent pool to update. agent_pool
is expected to specify following
fields:
.google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public TransferProto.UpdateAgentPoolRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
hasAgentPool()
public boolean hasAgentPool()
Required. The agent pool to update. agent_pool
is expected to specify following
fields:
.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()
Overrides
isInitialized()
public final boolean isInitialized()
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:
.google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED];
public TransferProto.UpdateAgentPoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TransferProto.UpdateAgentPoolRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(TransferProto.UpdateAgentPoolRequest other)
public TransferProto.UpdateAgentPoolRequest.Builder mergeFrom(TransferProto.UpdateAgentPoolRequest other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.UpdateAgentPoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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:
.google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED];
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:
.google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public TransferProto.UpdateAgentPoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferProto.UpdateAgentPoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.UpdateAgentPoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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
|