public static final class Instance.PerformanceConfig extends GeneratedMessage implements Instance.PerformanceConfigOrBuilder
Used for setting the performance configuration.
If the user doesn't specify PerformanceConfig, automatically provision
the default performance settings as described in
https://cloud.google.com/filestore/docs/performance. Larger instances will
be linearly set to more IOPS. If the instance's capacity is increased or
decreased, its performance will be automatically adjusted upwards or
downwards accordingly (respectively).
Protobuf type google.cloud.filestore.v1.Instance.PerformanceConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int FIXED_IOPS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int IOPS_PER_TB_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static Instance.PerformanceConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Instance.PerformanceConfig.Builder newBuilder()
public static Instance.PerformanceConfig.Builder newBuilder(Instance.PerformanceConfig prototype)
public static Instance.PerformanceConfig parseDelimitedFrom(InputStream input)
public static Instance.PerformanceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.PerformanceConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static Instance.PerformanceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Instance.PerformanceConfig parseFrom(ByteString data)
public static Instance.PerformanceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance.PerformanceConfig parseFrom(CodedInputStream input)
public static Instance.PerformanceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.PerformanceConfig parseFrom(InputStream input)
public static Instance.PerformanceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.PerformanceConfig parseFrom(ByteBuffer data)
public static Instance.PerformanceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Instance.PerformanceConfig> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public Instance.PerformanceConfig getDefaultInstanceForType()
public Instance.FixedIOPS getFixedIops()
Choose a fixed provisioned IOPS value for the instance, which will
remain constant regardless of instance capacity. Value must be a
multiple of 1000.
If the chosen value is outside the supported range for the instance's
capacity during instance creation, instance creation will fail with an
InvalidArgument error. Similarly, if an instance capacity update
would result in a value outside the supported range, the update will
fail with an InvalidArgument error.
.google.cloud.filestore.v1.Instance.FixedIOPS fixed_iops = 2;
public Instance.FixedIOPSOrBuilder getFixedIopsOrBuilder()
Choose a fixed provisioned IOPS value for the instance, which will
remain constant regardless of instance capacity. Value must be a
multiple of 1000.
If the chosen value is outside the supported range for the instance's
capacity during instance creation, instance creation will fail with an
InvalidArgument error. Similarly, if an instance capacity update
would result in a value outside the supported range, the update will
fail with an InvalidArgument error.
.google.cloud.filestore.v1.Instance.FixedIOPS fixed_iops = 2;
public Instance.IOPSPerTB getIopsPerTb()
Provision IOPS dynamically based on the capacity of the instance.
Provisioned IOPS will be calculated by multiplying the capacity of the
instance in TiB by the iops_per_tb value. For example, for a 2 TiB
instance with an iops_per_tb value of 17000 the provisioned IOPS will
be 34000.
If the calculated value is outside the supported range for the
instance's capacity during instance creation, instance creation will
fail with an InvalidArgument error. Similarly, if an instance
capacity update would result in a value outside the supported range,
the update will fail with an InvalidArgument error.
.google.cloud.filestore.v1.Instance.IOPSPerTB iops_per_tb = 4;
public Instance.IOPSPerTBOrBuilder getIopsPerTbOrBuilder()
Provision IOPS dynamically based on the capacity of the instance.
Provisioned IOPS will be calculated by multiplying the capacity of the
instance in TiB by the iops_per_tb value. For example, for a 2 TiB
instance with an iops_per_tb value of 17000 the provisioned IOPS will
be 34000.
If the calculated value is outside the supported range for the
instance's capacity during instance creation, instance creation will
fail with an InvalidArgument error. Similarly, if an instance
capacity update would result in a value outside the supported range,
the update will fail with an InvalidArgument error.
.google.cloud.filestore.v1.Instance.IOPSPerTB iops_per_tb = 4;
public Instance.PerformanceConfig.ModeCase getModeCase()
public Parser<Instance.PerformanceConfig> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public boolean hasFixedIops()
Choose a fixed provisioned IOPS value for the instance, which will
remain constant regardless of instance capacity. Value must be a
multiple of 1000.
If the chosen value is outside the supported range for the instance's
capacity during instance creation, instance creation will fail with an
InvalidArgument error. Similarly, if an instance capacity update
would result in a value outside the supported range, the update will
fail with an InvalidArgument error.
.google.cloud.filestore.v1.Instance.FixedIOPS fixed_iops = 2;
| Returns |
| Type |
Description |
boolean |
Whether the fixedIops field is set.
|
public boolean hasIopsPerTb()
Provision IOPS dynamically based on the capacity of the instance.
Provisioned IOPS will be calculated by multiplying the capacity of the
instance in TiB by the iops_per_tb value. For example, for a 2 TiB
instance with an iops_per_tb value of 17000 the provisioned IOPS will
be 34000.
If the calculated value is outside the supported range for the
instance's capacity during instance creation, instance creation will
fail with an InvalidArgument error. Similarly, if an instance
capacity update would result in a value outside the supported range,
the update will fail with an InvalidArgument error.
.google.cloud.filestore.v1.Instance.IOPSPerTB iops_per_tb = 4;
| Returns |
| Type |
Description |
boolean |
Whether the iopsPerTb field is set.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Instance.PerformanceConfig.Builder newBuilderForType()
protected Instance.PerformanceConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public Instance.PerformanceConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides