public static final class TransferProto.UpdateAgentPoolRequest extends GeneratedMessageV3 implements TransferProto.UpdateAgentPoolRequestOrBuilder
Specifies the request passed to UpdateAgentPool.
Protobuf type google.storagetransfer.v1.UpdateAgentPoolRequest
Static Fields
AGENT_POOL_FIELD_NUMBER
public static final int AGENT_POOL_FIELD_NUMBER
Field Value
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TransferProto.UpdateAgentPoolRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TransferProto.UpdateAgentPoolRequest.Builder newBuilder()
Returns
newBuilder(TransferProto.UpdateAgentPoolRequest prototype)
public static TransferProto.UpdateAgentPoolRequest.Builder newBuilder(TransferProto.UpdateAgentPoolRequest prototype)
Parameter
Returns
public static TransferProto.UpdateAgentPoolRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferProto.UpdateAgentPoolRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TransferProto.UpdateAgentPoolRequest parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransferProto.UpdateAgentPoolRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TransferProto.UpdateAgentPoolRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferProto.UpdateAgentPoolRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferProto.UpdateAgentPoolRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TransferProto.UpdateAgentPoolRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferProto.UpdateAgentPoolRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferProto.UpdateAgentPoolRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TransferProto.UpdateAgentPoolRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransferProto.UpdateAgentPoolRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TransferProto.UpdateAgentPoolRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
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
getParserForType()
public Parser<TransferProto.UpdateAgentPoolRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TransferProto.UpdateAgentPoolRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransferProto.UpdateAgentPoolRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TransferProto.UpdateAgentPoolRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions