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 class
Instance.Builder
A Filestore instance.static class
Instance.FileProtocol
File access protocol.static class
Instance.State
The instance state.static class
Instance.SuspensionReason
SuspensionReason contains the possible reasons for a suspension.static class
Instance.Tier
Available 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 int
CAPACITY_GB_FIELD_NUMBER
static int
CAPACITY_STEP_SIZE_GB_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
DIRECTORY_SERVICES_FIELD_NUMBER
static int
ETAG_FIELD_NUMBER
static int
FILE_SHARES_FIELD_NUMBER
static int
KMS_KEY_NAME_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
MAX_CAPACITY_GB_FIELD_NUMBER
static int
MAX_SHARE_COUNT_FIELD_NUMBER
static int
MULTI_SHARE_ENABLED_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
NETWORKS_FIELD_NUMBER
static int
PROTOCOL_FIELD_NUMBER
static int
SATISFIES_PZS_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
STATUS_MESSAGE_FIELD_NUMBER
static int
SUSPENSION_REASONS_FIELD_NUMBER
static int
TIER_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Resource labels to represent user provided metadata.boolean
equals(Object obj)
long
getCapacityGb()
The storage capacity of the instance in gigabytes (GB = 1024^3 bytes).long
getCapacityStepSizeGb()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static Instance
getDefaultInstance()
Instance
getDefaultInstanceForType()
String
getDescription()
The description of the instance (2048 characters or less).com.google.protobuf.ByteString
getDescriptionBytes()
The description of the instance (2048 characters or less).static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
DirectoryServicesConfig
getDirectoryServices()
Directory Services configuration for Kerberos-based authentication.DirectoryServicesConfigOrBuilder
getDirectoryServicesOrBuilder()
Directory Services configuration for Kerberos-based authentication.String
getEtag()
Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.com.google.protobuf.ByteString
getEtagBytes()
Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.FileShareConfig
getFileShares(int index)
File system shares on the instance.int
getFileSharesCount()
File system shares on the instance.List<FileShareConfig>
getFileSharesList()
File system shares on the instance.FileShareConfigOrBuilder
getFileSharesOrBuilder(int index)
File system shares on the instance.List<? extends FileShareConfigOrBuilder>
getFileSharesOrBuilderList()
File system shares on the instance.String
getKmsKeyName()
KMS key name used for data encryption.com.google.protobuf.ByteString
getKmsKeyNameBytes()
KMS key name used for data encryption.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Resource labels to represent user provided metadata.Map<String,String>
getLabelsMap()
Resource labels to represent user provided metadata.String
getLabelsOrDefault(String key, String defaultValue)
Resource labels to represent user provided metadata.String
getLabelsOrThrow(String key)
Resource labels to represent user provided metadata.long
getMaxCapacityGb()
Output only.long
getMaxShareCount()
The max number of shares allowed.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.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.NetworkConfig
getNetworks(int index)
VPC networks to which the instance is connected.int
getNetworksCount()
VPC networks to which the instance is connected.List<NetworkConfig>
getNetworksList()
VPC networks to which the instance is connected.NetworkConfigOrBuilder
getNetworksOrBuilder(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.FileProtocol
getProtocol()
Immutable.int
getProtocolValue()
Immutable.com.google.protobuf.BoolValue
getSatisfiesPzs()
Output only.com.google.protobuf.BoolValueOrBuilder
getSatisfiesPzsOrBuilder()
Output only.int
getSerializedSize()
Instance.State
getState()
Output only.int
getStateValue()
Output only.String
getStatusMessage()
Output only.com.google.protobuf.ByteString
getStatusMessageBytes()
Output only.Instance.SuspensionReason
getSuspensionReasons(int index)
Output only.int
getSuspensionReasonsCount()
Output only.List<Instance.SuspensionReason>
getSuspensionReasonsList()
Output only.int
getSuspensionReasonsValue(int index)
Output only.List<Integer>
getSuspensionReasonsValueList()
Output only.Instance.Tier
getTier()
The service tier of the instance.int
getTierValue()
The service tier of the instance.boolean
hasCreateTime()
Output only.boolean
hasDirectoryServices()
Directory Services configuration for Kerberos-based authentication.int
hashCode()
boolean
hasSatisfiesPzs()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Instance.Builder
newBuilder()
static Instance.Builder
newBuilder(Instance prototype)
Instance.Builder
newBuilderForType()
protected Instance.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Instance
parseDelimitedFrom(InputStream input)
static Instance
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(byte[] data)
static Instance
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(com.google.protobuf.ByteString data)
static Instance
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(com.google.protobuf.CodedInputStream input)
static Instance
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(InputStream input)
static Instance
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(ByteBuffer data)
static Instance
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Instance>
parser()
Instance.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getName
in 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:
getNameBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for name.
-
getDescription
public String getDescription()
The description of the instance (2048 characters or less).
string description = 2;
- Specified by:
getDescription
in 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:
getDescriptionBytes
in 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:
getStateValue
in 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:
getState
in 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:
getStatusMessage
in 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:
getStatusMessageBytes
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in interfaceInstanceOrBuilder
-
getTierValue
public int getTierValue()
The service tier of the instance.
.google.cloud.filestore.v1beta1.Instance.Tier tier = 8;
- Specified by:
getTierValue
in 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:
getTier
in interfaceInstanceOrBuilder
- Returns:
- The tier.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:InstanceOrBuilder
Resource labels to represent user provided metadata.
map<string, string> labels = 9;
- Specified by:
getLabelsCount
in interfaceInstanceOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Resource labels to represent user provided metadata.
map<string, string> labels = 9;
- Specified by:
containsLabels
in interfaceInstanceOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceInstanceOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Resource labels to represent user provided metadata.
map<string, string> labels = 9;
- Specified by:
getLabelsMap
in interfaceInstanceOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Resource labels to represent user provided metadata.
map<string, string> labels = 9;
- Specified by:
getLabelsOrDefault
in interfaceInstanceOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Resource labels to represent user provided metadata.
map<string, string> labels = 9;
- Specified by:
getLabelsOrThrow
in 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:
getFileSharesList
in 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:
getFileSharesOrBuilderList
in 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:
getFileSharesCount
in 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:
getFileShares
in 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:
getFileSharesOrBuilder
in 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:
getNetworksList
in 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:
getNetworksOrBuilderList
in 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:
getNetworksCount
in 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:
getNetworks
in 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:
getNetworksOrBuilder
in 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:
getEtag
in 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:
getEtagBytes
in 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:
hasSatisfiesPzs
in 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:
getSatisfiesPzs
in 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:
getSatisfiesPzsOrBuilder
in interfaceInstanceOrBuilder
-
getKmsKeyName
public String getKmsKeyName()
KMS key name used for data encryption.
string kms_key_name = 14;
- Specified by:
getKmsKeyName
in 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:
getKmsKeyNameBytes
in 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:
getSuspensionReasonsList
in 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:
getSuspensionReasonsCount
in 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:
getSuspensionReasons
in 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:
getSuspensionReasonsValueList
in 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:
getSuspensionReasonsValue
in 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:
getMaxCapacityGb
in 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:
getCapacityStepSizeGb
in interfaceInstanceOrBuilder
- Returns:
- The capacityStepSizeGb.
-
getMaxShareCount
public long getMaxShareCount()
The max number of shares allowed.
int64 max_share_count = 18;
- Specified by:
getMaxShareCount
in 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:
getCapacityGb
in 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:
getMultiShareEnabled
in 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:
getProtocolValue
in 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:
getProtocol
in 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:
hasDirectoryServices
in 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:
getDirectoryServices
in 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:
getDirectoryServicesOrBuilder
in interfaceInstanceOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Instance.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Instance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-