- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.0.4
public static final class TransferTypes.AgentPool.Builder extends GeneratedMessageV3.Builder<TransferTypes.AgentPool.Builder> implements TransferTypes.AgentPoolOrBuilder
Represents an On-Premises Agent pool.
Protobuf type google.storagetransfer.v1.AgentPool
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TransferTypes.AgentPool.BuilderImplements
TransferTypes.AgentPoolOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferTypes.AgentPool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
TransferTypes.AgentPool.Builder |
build()
public TransferTypes.AgentPool build()
Type | Description |
TransferTypes.AgentPool |
buildPartial()
public TransferTypes.AgentPool buildPartial()
Type | Description |
TransferTypes.AgentPool |
clear()
public TransferTypes.AgentPool.Builder clear()
Type | Description |
TransferTypes.AgentPool.Builder |
clearBandwidthLimit()
public TransferTypes.AgentPool.Builder clearBandwidthLimit()
Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.
.google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
Type | Description |
TransferTypes.AgentPool.Builder |
clearDisplayName()
public TransferTypes.AgentPool.Builder clearDisplayName()
Specifies the client-specified AgentPool description.
string display_name = 3;
Type | Description |
TransferTypes.AgentPool.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TransferTypes.AgentPool.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
TransferTypes.AgentPool.Builder |
clearName()
public TransferTypes.AgentPool.Builder clearName()
Required. Specifies a unique string that identifies the agent pool.
Format: projects/{project_id}/agentPools/{agent_pool_id}
string name = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TransferTypes.AgentPool.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferTypes.AgentPool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
TransferTypes.AgentPool.Builder |
clearState()
public TransferTypes.AgentPool.Builder clearState()
Output only. Specifies the state of the AgentPool.
.google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TransferTypes.AgentPool.Builder |
This builder for chaining. |
clone()
public TransferTypes.AgentPool.Builder clone()
Type | Description |
TransferTypes.AgentPool.Builder |
getBandwidthLimit()
public TransferTypes.AgentPool.BandwidthLimit getBandwidthLimit()
Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.
.google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
Type | Description |
TransferTypes.AgentPool.BandwidthLimit |
The bandwidthLimit. |
getBandwidthLimitBuilder()
public TransferTypes.AgentPool.BandwidthLimit.Builder getBandwidthLimitBuilder()
Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.
.google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
Type | Description |
TransferTypes.AgentPool.BandwidthLimit.Builder |
getBandwidthLimitOrBuilder()
public TransferTypes.AgentPool.BandwidthLimitOrBuilder getBandwidthLimitOrBuilder()
Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.
.google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
Type | Description |
TransferTypes.AgentPool.BandwidthLimitOrBuilder |
getDefaultInstanceForType()
public TransferTypes.AgentPool getDefaultInstanceForType()
Type | Description |
TransferTypes.AgentPool |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Specifies the client-specified AgentPool description.
string display_name = 3;
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Specifies the client-specified AgentPool description.
string display_name = 3;
Type | Description |
ByteString |
The bytes for displayName. |
getName()
public String getName()
Required. Specifies a unique string that identifies the agent pool.
Format: projects/{project_id}/agentPools/{agent_pool_id}
string name = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Required. Specifies a unique string that identifies the agent pool.
Format: projects/{project_id}/agentPools/{agent_pool_id}
string name = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString |
The bytes for name. |
getState()
public TransferTypes.AgentPool.State getState()
Output only. Specifies the state of the AgentPool.
.google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TransferTypes.AgentPool.State |
The state. |
getStateValue()
public int getStateValue()
Output only. Specifies the state of the AgentPool.
.google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int |
The enum numeric value on the wire for state. |
hasBandwidthLimit()
public boolean hasBandwidthLimit()
Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.
.google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
Type | Description |
boolean |
Whether the bandwidthLimit field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeBandwidthLimit(TransferTypes.AgentPool.BandwidthLimit value)
public TransferTypes.AgentPool.Builder mergeBandwidthLimit(TransferTypes.AgentPool.BandwidthLimit value)
Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.
.google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
Name | Description |
value |
TransferTypes.AgentPool.BandwidthLimit |
Type | Description |
TransferTypes.AgentPool.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TransferTypes.AgentPool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
TransferTypes.AgentPool.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TransferTypes.AgentPool.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
TransferTypes.AgentPool.Builder |
mergeFrom(TransferTypes.AgentPool other)
public TransferTypes.AgentPool.Builder mergeFrom(TransferTypes.AgentPool other)
Name | Description |
other |
TransferTypes.AgentPool |
Type | Description |
TransferTypes.AgentPool.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferTypes.AgentPool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
TransferTypes.AgentPool.Builder |
setBandwidthLimit(TransferTypes.AgentPool.BandwidthLimit value)
public TransferTypes.AgentPool.Builder setBandwidthLimit(TransferTypes.AgentPool.BandwidthLimit value)
Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.
.google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
Name | Description |
value |
TransferTypes.AgentPool.BandwidthLimit |
Type | Description |
TransferTypes.AgentPool.Builder |
setBandwidthLimit(TransferTypes.AgentPool.BandwidthLimit.Builder builderForValue)
public TransferTypes.AgentPool.Builder setBandwidthLimit(TransferTypes.AgentPool.BandwidthLimit.Builder builderForValue)
Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.
.google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
Name | Description |
builderForValue |
TransferTypes.AgentPool.BandwidthLimit.Builder |
Type | Description |
TransferTypes.AgentPool.Builder |
setDisplayName(String value)
public TransferTypes.AgentPool.Builder setDisplayName(String value)
Specifies the client-specified AgentPool description.
string display_name = 3;
Name | Description |
value |
String The displayName to set. |
Type | Description |
TransferTypes.AgentPool.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public TransferTypes.AgentPool.Builder setDisplayNameBytes(ByteString value)
Specifies the client-specified AgentPool description.
string display_name = 3;
Name | Description |
value |
ByteString The bytes for displayName to set. |
Type | Description |
TransferTypes.AgentPool.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TransferTypes.AgentPool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
TransferTypes.AgentPool.Builder |
setName(String value)
public TransferTypes.AgentPool.Builder setName(String value)
Required. Specifies a unique string that identifies the agent pool.
Format: projects/{project_id}/agentPools/{agent_pool_id}
string name = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value |
String The name to set. |
Type | Description |
TransferTypes.AgentPool.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public TransferTypes.AgentPool.Builder setNameBytes(ByteString value)
Required. Specifies a unique string that identifies the agent pool.
Format: projects/{project_id}/agentPools/{agent_pool_id}
string name = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value |
ByteString The bytes for name to set. |
Type | Description |
TransferTypes.AgentPool.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferTypes.AgentPool.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
TransferTypes.AgentPool.Builder |
setState(TransferTypes.AgentPool.State value)
public TransferTypes.AgentPool.Builder setState(TransferTypes.AgentPool.State value)
Output only. Specifies the state of the AgentPool.
.google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
TransferTypes.AgentPool.State The state to set. |
Type | Description |
TransferTypes.AgentPool.Builder |
This builder for chaining. |
setStateValue(int value)
public TransferTypes.AgentPool.Builder setStateValue(int value)
Output only. Specifies the state of the AgentPool.
.google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Type | Description |
TransferTypes.AgentPool.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferTypes.AgentPool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
TransferTypes.AgentPool.Builder |