Class Instance
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.filestore.v1beta1.Instance
-
- All Implemented Interfaces:
InstanceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Instance extends com.google.protobuf.GeneratedMessageV3 implements InstanceOrBuilder
A Filestore instance.
Protobuf typegoogle.cloud.filestore.v1beta1.Instance- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInstance.BuilderA Filestore instance.static classInstance.FileProtocolFile access protocol.static classInstance.StateThe instance state.static classInstance.SuspensionReasonSuspensionReason contains the possible reasons for a suspension.static classInstance.TierAvailable service tiers.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCAPACITY_GB_FIELD_NUMBERstatic intCAPACITY_STEP_SIZE_GB_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intDIRECTORY_SERVICES_FIELD_NUMBERstatic intETAG_FIELD_NUMBERstatic intFILE_SHARES_FIELD_NUMBERstatic intKMS_KEY_NAME_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intMAX_CAPACITY_GB_FIELD_NUMBERstatic intMAX_SHARE_COUNT_FIELD_NUMBERstatic intMULTI_SHARE_ENABLED_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNETWORKS_FIELD_NUMBERstatic intPROTOCOL_FIELD_NUMBERstatic intSATISFIES_PZS_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intSTATUS_MESSAGE_FIELD_NUMBERstatic intSUSPENSION_REASONS_FIELD_NUMBERstatic intTIER_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Resource labels to represent user provided metadata.booleanequals(Object obj)longgetCapacityGb()The storage capacity of the instance in gigabytes (GB = 1024^3 bytes).longgetCapacityStepSizeGb()Output only.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static InstancegetDefaultInstance()InstancegetDefaultInstanceForType()StringgetDescription()The description of the instance (2048 characters or less).com.google.protobuf.ByteStringgetDescriptionBytes()The description of the instance (2048 characters or less).static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DirectoryServicesConfiggetDirectoryServices()Directory Services configuration for Kerberos-based authentication.DirectoryServicesConfigOrBuildergetDirectoryServicesOrBuilder()Directory Services configuration for Kerberos-based authentication.StringgetEtag()Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.com.google.protobuf.ByteStringgetEtagBytes()Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.FileShareConfiggetFileShares(int index)File system shares on the instance.intgetFileSharesCount()File system shares on the instance.List<FileShareConfig>getFileSharesList()File system shares on the instance.FileShareConfigOrBuildergetFileSharesOrBuilder(int index)File system shares on the instance.List<? extends FileShareConfigOrBuilder>getFileSharesOrBuilderList()File system shares on the instance.StringgetKmsKeyName()KMS key name used for data encryption.com.google.protobuf.ByteStringgetKmsKeyNameBytes()KMS key name used for data encryption.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Resource labels to represent user provided metadata.Map<String,String>getLabelsMap()Resource labels to represent user provided metadata.StringgetLabelsOrDefault(String key, String defaultValue)Resource labels to represent user provided metadata.StringgetLabelsOrThrow(String key)Resource labels to represent user provided metadata.longgetMaxCapacityGb()Output only.longgetMaxShareCount()The max number of shares allowed.booleangetMultiShareEnabled()Indicates whether this instance uses a multi-share configuration with which it can have more than one file-share or none at all.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.NetworkConfiggetNetworks(int index)VPC networks to which the instance is connected.intgetNetworksCount()VPC networks to which the instance is connected.List<NetworkConfig>getNetworksList()VPC networks to which the instance is connected.NetworkConfigOrBuildergetNetworksOrBuilder(int index)VPC networks to which the instance is connected.List<? extends NetworkConfigOrBuilder>getNetworksOrBuilderList()VPC networks to which the instance is connected.com.google.protobuf.Parser<Instance>getParserForType()Instance.FileProtocolgetProtocol()Immutable.intgetProtocolValue()Immutable.com.google.protobuf.BoolValuegetSatisfiesPzs()Output only.com.google.protobuf.BoolValueOrBuildergetSatisfiesPzsOrBuilder()Output only.intgetSerializedSize()Instance.StategetState()Output only.intgetStateValue()Output only.StringgetStatusMessage()Output only.com.google.protobuf.ByteStringgetStatusMessageBytes()Output only.Instance.SuspensionReasongetSuspensionReasons(int index)Output only.intgetSuspensionReasonsCount()Output only.List<Instance.SuspensionReason>getSuspensionReasonsList()Output only.intgetSuspensionReasonsValue(int index)Output only.List<Integer>getSuspensionReasonsValueList()Output only.Instance.TiergetTier()The service tier of the instance.intgetTierValue()The service tier of the instance.booleanhasCreateTime()Output only.booleanhasDirectoryServices()Directory Services configuration for Kerberos-based authentication.inthashCode()booleanhasSatisfiesPzs()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Instance.BuildernewBuilder()static Instance.BuildernewBuilder(Instance prototype)Instance.BuildernewBuilderForType()protected Instance.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static InstanceparseDelimitedFrom(InputStream input)static InstanceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceparseFrom(byte[] data)static InstanceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceparseFrom(com.google.protobuf.ByteString data)static InstanceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceparseFrom(com.google.protobuf.CodedInputStream input)static InstanceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceparseFrom(InputStream input)static InstanceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceparseFrom(ByteBuffer data)static InstanceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Instance>parser()Instance.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_MESSAGE_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIER_FIELD_NUMBER
public static final int TIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILE_SHARES_FIELD_NUMBER
public static final int FILE_SHARES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORKS_FIELD_NUMBER
public static final int NETWORKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SATISFIES_PZS_FIELD_NUMBER
public static final int SATISFIES_PZS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KMS_KEY_NAME_FIELD_NUMBER
public static final int KMS_KEY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUSPENSION_REASONS_FIELD_NUMBER
public static final int SUSPENSION_REASONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_CAPACITY_GB_FIELD_NUMBER
public static final int MAX_CAPACITY_GB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CAPACITY_STEP_SIZE_GB_FIELD_NUMBER
public static final int CAPACITY_STEP_SIZE_GB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_SHARE_COUNT_FIELD_NUMBER
public static final int MAX_SHARE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CAPACITY_GB_FIELD_NUMBER
public static final int CAPACITY_GB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MULTI_SHARE_ENABLED_FIELD_NUMBER
public static final int MULTI_SHARE_ENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROTOCOL_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DIRECTORY_SERVICES_FIELD_NUMBER
public static final int DIRECTORY_SERVICES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Output only. The resource name of the instance, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceInstanceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the instance, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for name.
-
getDescription
public String getDescription()
The description of the instance (2048 characters or less).
string description = 2;- Specified by:
getDescriptionin interfaceInstanceOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
The description of the instance (2048 characters or less).
string description = 2;- Specified by:
getDescriptionBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for description.
-
getStateValue
public int getStateValue()
Output only. The instance state.
.google.cloud.filestore.v1beta1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceInstanceOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public Instance.State getState()
Output only. The instance state.
.google.cloud.filestore.v1beta1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceInstanceOrBuilder- Returns:
- The state.
-
getStatusMessage
public String getStatusMessage()
Output only. Additional information about the instance state, if available.
string status_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusMessagein interfaceInstanceOrBuilder- Returns:
- The statusMessage.
-
getStatusMessageBytes
public com.google.protobuf.ByteString getStatusMessageBytes()
Output only. Additional information about the instance state, if available.
string status_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusMessageBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for statusMessage.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceInstanceOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceInstanceOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceInstanceOrBuilder
-
getTierValue
public int getTierValue()
The service tier of the instance.
.google.cloud.filestore.v1beta1.Instance.Tier tier = 8;- Specified by:
getTierValuein interfaceInstanceOrBuilder- Returns:
- The enum numeric value on the wire for tier.
-
getTier
public Instance.Tier getTier()
The service tier of the instance.
.google.cloud.filestore.v1beta1.Instance.Tier tier = 8;- Specified by:
getTierin interfaceInstanceOrBuilder- Returns:
- The tier.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:InstanceOrBuilderResource labels to represent user provided metadata.
map<string, string> labels = 9;- Specified by:
getLabelsCountin interfaceInstanceOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Resource labels to represent user provided metadata.
map<string, string> labels = 9;- Specified by:
containsLabelsin interfaceInstanceOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceInstanceOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Resource labels to represent user provided metadata.
map<string, string> labels = 9;- Specified by:
getLabelsMapin interfaceInstanceOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Resource labels to represent user provided metadata.
map<string, string> labels = 9;- Specified by:
getLabelsOrDefaultin interfaceInstanceOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Resource labels to represent user provided metadata.
map<string, string> labels = 9;- Specified by:
getLabelsOrThrowin interfaceInstanceOrBuilder
-
getFileSharesList
public List<FileShareConfig> getFileSharesList()
File system shares on the instance. For this version, only a single file share is supported.
repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;- Specified by:
getFileSharesListin interfaceInstanceOrBuilder
-
getFileSharesOrBuilderList
public List<? extends FileShareConfigOrBuilder> getFileSharesOrBuilderList()
File system shares on the instance. For this version, only a single file share is supported.
repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;- Specified by:
getFileSharesOrBuilderListin interfaceInstanceOrBuilder
-
getFileSharesCount
public int getFileSharesCount()
File system shares on the instance. For this version, only a single file share is supported.
repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;- Specified by:
getFileSharesCountin interfaceInstanceOrBuilder
-
getFileShares
public FileShareConfig getFileShares(int index)
File system shares on the instance. For this version, only a single file share is supported.
repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;- Specified by:
getFileSharesin interfaceInstanceOrBuilder
-
getFileSharesOrBuilder
public FileShareConfigOrBuilder getFileSharesOrBuilder(int index)
File system shares on the instance. For this version, only a single file share is supported.
repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;- Specified by:
getFileSharesOrBuilderin interfaceInstanceOrBuilder
-
getNetworksList
public List<NetworkConfig> getNetworksList()
VPC networks to which the instance is connected. For this version, only a single network is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;- Specified by:
getNetworksListin interfaceInstanceOrBuilder
-
getNetworksOrBuilderList
public List<? extends NetworkConfigOrBuilder> getNetworksOrBuilderList()
VPC networks to which the instance is connected. For this version, only a single network is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;- Specified by:
getNetworksOrBuilderListin interfaceInstanceOrBuilder
-
getNetworksCount
public int getNetworksCount()
VPC networks to which the instance is connected. For this version, only a single network is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;- Specified by:
getNetworksCountin interfaceInstanceOrBuilder
-
getNetworks
public NetworkConfig getNetworks(int index)
VPC networks to which the instance is connected. For this version, only a single network is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;- Specified by:
getNetworksin interfaceInstanceOrBuilder
-
getNetworksOrBuilder
public NetworkConfigOrBuilder getNetworksOrBuilder(int index)
VPC networks to which the instance is connected. For this version, only a single network is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;- Specified by:
getNetworksOrBuilderin interfaceInstanceOrBuilder
-
getEtag
public String getEtag()
Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.
string etag = 12;- Specified by:
getEtagin interfaceInstanceOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.
string etag = 12;- Specified by:
getEtagBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for etag.
-
hasSatisfiesPzs
public boolean hasSatisfiesPzs()
Output only. Reserved for future use.
.google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSatisfiesPzsin interfaceInstanceOrBuilder- Returns:
- Whether the satisfiesPzs field is set.
-
getSatisfiesPzs
public com.google.protobuf.BoolValue getSatisfiesPzs()
Output only. Reserved for future use.
.google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPzsin interfaceInstanceOrBuilder- Returns:
- The satisfiesPzs.
-
getSatisfiesPzsOrBuilder
public com.google.protobuf.BoolValueOrBuilder getSatisfiesPzsOrBuilder()
Output only. Reserved for future use.
.google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPzsOrBuilderin interfaceInstanceOrBuilder
-
getKmsKeyName
public String getKmsKeyName()
KMS key name used for data encryption.
string kms_key_name = 14;- Specified by:
getKmsKeyNamein interfaceInstanceOrBuilder- Returns:
- The kmsKeyName.
-
getKmsKeyNameBytes
public com.google.protobuf.ByteString getKmsKeyNameBytes()
KMS key name used for data encryption.
string kms_key_name = 14;- Specified by:
getKmsKeyNameBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for kmsKeyName.
-
getSuspensionReasonsList
public List<Instance.SuspensionReason> getSuspensionReasonsList()
Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.
repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuspensionReasonsListin interfaceInstanceOrBuilder- Returns:
- A list containing the suspensionReasons.
-
getSuspensionReasonsCount
public int getSuspensionReasonsCount()
Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.
repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuspensionReasonsCountin interfaceInstanceOrBuilder- Returns:
- The count of suspensionReasons.
-
getSuspensionReasons
public Instance.SuspensionReason getSuspensionReasons(int index)
Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.
repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuspensionReasonsin interfaceInstanceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The suspensionReasons at the given index.
-
getSuspensionReasonsValueList
public List<Integer> getSuspensionReasonsValueList()
Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.
repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuspensionReasonsValueListin interfaceInstanceOrBuilder- Returns:
- A list containing the enum numeric values on the wire for suspensionReasons.
-
getSuspensionReasonsValue
public int getSuspensionReasonsValue(int index)
Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.
repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuspensionReasonsValuein interfaceInstanceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of suspensionReasons at the given index.
-
getMaxCapacityGb
public long getMaxCapacityGb()
Output only. The max capacity of the instance.
int64 max_capacity_gb = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaxCapacityGbin interfaceInstanceOrBuilder- Returns:
- The maxCapacityGb.
-
getCapacityStepSizeGb
public long getCapacityStepSizeGb()
Output only. The increase/decrease capacity step size.
int64 capacity_step_size_gb = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCapacityStepSizeGbin interfaceInstanceOrBuilder- Returns:
- The capacityStepSizeGb.
-
getMaxShareCount
public long getMaxShareCount()
The max number of shares allowed.
int64 max_share_count = 18;- Specified by:
getMaxShareCountin interfaceInstanceOrBuilder- Returns:
- The maxShareCount.
-
getCapacityGb
public long getCapacityGb()
The storage capacity of the instance in gigabytes (GB = 1024^3 bytes). This capacity can be increased up to `max_capacity_gb` GB in multipliers of `capacity_step_size_gb` GB.
int64 capacity_gb = 19;- Specified by:
getCapacityGbin interfaceInstanceOrBuilder- Returns:
- The capacityGb.
-
getMultiShareEnabled
public boolean getMultiShareEnabled()
Indicates whether this instance uses a multi-share configuration with which it can have more than one file-share or none at all. File-shares are added, updated and removed through the separate file-share APIs.
bool multi_share_enabled = 20;- Specified by:
getMultiShareEnabledin interfaceInstanceOrBuilder- Returns:
- The multiShareEnabled.
-
getProtocolValue
public int getProtocolValue()
Immutable. The protocol indicates the access protocol for all shares in the instance. This field is immutable and it cannot be changed after the instance has been created. Default value: `NFS_V3`.
.google.cloud.filestore.v1beta1.Instance.FileProtocol protocol = 21 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getProtocolValuein interfaceInstanceOrBuilder- Returns:
- The enum numeric value on the wire for protocol.
-
getProtocol
public Instance.FileProtocol getProtocol()
Immutable. The protocol indicates the access protocol for all shares in the instance. This field is immutable and it cannot be changed after the instance has been created. Default value: `NFS_V3`.
.google.cloud.filestore.v1beta1.Instance.FileProtocol protocol = 21 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getProtocolin interfaceInstanceOrBuilder- Returns:
- The protocol.
-
hasDirectoryServices
public boolean hasDirectoryServices()
Directory Services configuration for Kerberos-based authentication. Should only be set if protocol is "NFS_V4_1".
.google.cloud.filestore.v1beta1.DirectoryServicesConfig directory_services = 24;- Specified by:
hasDirectoryServicesin interfaceInstanceOrBuilder- Returns:
- Whether the directoryServices field is set.
-
getDirectoryServices
public DirectoryServicesConfig getDirectoryServices()
Directory Services configuration for Kerberos-based authentication. Should only be set if protocol is "NFS_V4_1".
.google.cloud.filestore.v1beta1.DirectoryServicesConfig directory_services = 24;- Specified by:
getDirectoryServicesin interfaceInstanceOrBuilder- Returns:
- The directoryServices.
-
getDirectoryServicesOrBuilder
public DirectoryServicesConfigOrBuilder getDirectoryServicesOrBuilder()
Directory Services configuration for Kerberos-based authentication. Should only be set if protocol is "NFS_V4_1".
.google.cloud.filestore.v1beta1.DirectoryServicesConfig directory_services = 24;- Specified by:
getDirectoryServicesOrBuilderin interfaceInstanceOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Instance parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Instance parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Instance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Instance.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Instance.Builder newBuilder()
-
newBuilder
public static Instance.Builder newBuilder(Instance prototype)
-
toBuilder
public Instance.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Instance.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Instance getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Instance> parser()
-
getParserForType
public com.google.protobuf.Parser<Instance> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Instance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-