public static final class TransferTypes.AgentPool extends GeneratedMessageV3 implements TransferTypes.AgentPoolOrBuilder
Represents an On-Premises Agent pool.
Protobuf type google.storagetransfer.v1.AgentPool
Static Fields
BANDWIDTH_LIMIT_FIELD_NUMBER
public static final int BANDWIDTH_LIMIT_FIELD_NUMBER
Field Value
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TransferTypes.AgentPool getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TransferTypes.AgentPool.Builder newBuilder()
Returns
newBuilder(TransferTypes.AgentPool prototype)
public static TransferTypes.AgentPool.Builder newBuilder(TransferTypes.AgentPool prototype)
Parameter
Returns
public static TransferTypes.AgentPool parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferTypes.AgentPool parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TransferTypes.AgentPool parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.AgentPool parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TransferTypes.AgentPool parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.AgentPool parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferTypes.AgentPool parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TransferTypes.AgentPool parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferTypes.AgentPool parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferTypes.AgentPool parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TransferTypes.AgentPool parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.AgentPool parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TransferTypes.AgentPool> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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;
Returns
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;
Returns
getDefaultInstanceForType()
public TransferTypes.AgentPool getDefaultInstanceForType()
Returns
getDisplayName()
public String getDisplayName()
Specifies the client-specified AgentPool description.
string display_name = 3;
Returns
Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Specifies the client-specified AgentPool description.
string display_name = 3;
Returns
Type |
Description |
ByteString |
The bytes for displayName.
|
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];
Returns
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];
Returns
getParserForType()
public Parser<TransferTypes.AgentPool> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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];
Returns
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];
Returns
Type |
Description |
int |
The enum numeric value on the wire for state.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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;
Returns
Type |
Description |
boolean |
Whether the bandwidthLimit field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TransferTypes.AgentPool.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransferTypes.AgentPool.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TransferTypes.AgentPool.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions