Class Instance.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
- com.google.cloud.filestore.v1beta1.Instance.Builder
-
- All Implemented Interfaces:
InstanceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Instance
public static final class Instance.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder> implements InstanceOrBuilder
A Filestore instance.
Protobuf typegoogle.cloud.filestore.v1beta1.Instance
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Instance.BuilderaddAllFileShares(Iterable<? extends FileShareConfig> values)File system shares on the instance.Instance.BuilderaddAllNetworks(Iterable<? extends NetworkConfig> values)VPC networks to which the instance is connected.Instance.BuilderaddAllSuspensionReasons(Iterable<? extends Instance.SuspensionReason> values)Output only.Instance.BuilderaddAllSuspensionReasonsValue(Iterable<Integer> values)Output only.Instance.BuilderaddFileShares(int index, FileShareConfig value)File system shares on the instance.Instance.BuilderaddFileShares(int index, FileShareConfig.Builder builderForValue)File system shares on the instance.Instance.BuilderaddFileShares(FileShareConfig value)File system shares on the instance.Instance.BuilderaddFileShares(FileShareConfig.Builder builderForValue)File system shares on the instance.FileShareConfig.BuilderaddFileSharesBuilder()File system shares on the instance.FileShareConfig.BuilderaddFileSharesBuilder(int index)File system shares on the instance.Instance.BuilderaddNetworks(int index, NetworkConfig value)VPC networks to which the instance is connected.Instance.BuilderaddNetworks(int index, NetworkConfig.Builder builderForValue)VPC networks to which the instance is connected.Instance.BuilderaddNetworks(NetworkConfig value)VPC networks to which the instance is connected.Instance.BuilderaddNetworks(NetworkConfig.Builder builderForValue)VPC networks to which the instance is connected.NetworkConfig.BuilderaddNetworksBuilder()VPC networks to which the instance is connected.NetworkConfig.BuilderaddNetworksBuilder(int index)VPC networks to which the instance is connected.Instance.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Instance.BuilderaddSuspensionReasons(Instance.SuspensionReason value)Output only.Instance.BuilderaddSuspensionReasonsValue(int value)Output only.Instancebuild()InstancebuildPartial()Instance.Builderclear()Instance.BuilderclearCapacityGb()The storage capacity of the instance in gigabytes (GB = 1024^3 bytes).Instance.BuilderclearCapacityStepSizeGb()Output only.Instance.BuilderclearCreateTime()Output only.Instance.BuilderclearDescription()The description of the instance (2048 characters or less).Instance.BuilderclearDirectoryServices()Directory Services configuration for Kerberos-based authentication.Instance.BuilderclearEtag()Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.Instance.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Instance.BuilderclearFileShares()File system shares on the instance.Instance.BuilderclearKmsKeyName()KMS key name used for data encryption.Instance.BuilderclearLabels()Instance.BuilderclearMaxCapacityGb()Output only.Instance.BuilderclearMaxShareCount()The max number of shares allowed.Instance.BuilderclearMultiShareEnabled()Indicates whether this instance uses a multi-share configuration with which it can have more than one file-share or none at all.Instance.BuilderclearName()Output only.Instance.BuilderclearNetworks()VPC networks to which the instance is connected.Instance.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Instance.BuilderclearProtocol()Immutable.Instance.BuilderclearSatisfiesPzs()Output only.Instance.BuilderclearState()Output only.Instance.BuilderclearStatusMessage()Output only.Instance.BuilderclearSuspensionReasons()Output only.Instance.BuilderclearTier()The service tier of the instance.Instance.Builderclone()booleancontainsLabels(String key)Resource labels to represent user provided metadata.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.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.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()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()DirectoryServicesConfiggetDirectoryServices()Directory Services configuration for Kerberos-based authentication.DirectoryServicesConfig.BuildergetDirectoryServicesBuilder()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.FileShareConfig.BuildergetFileSharesBuilder(int index)File system shares on the instance.List<FileShareConfig.Builder>getFileSharesBuilderList()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.Map<String,String>getMutableLabels()Deprecated.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.NetworkConfiggetNetworks(int index)VPC networks to which the instance is connected.NetworkConfig.BuildergetNetworksBuilder(int index)VPC networks to which the instance is connected.List<NetworkConfig.Builder>getNetworksBuilderList()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.Instance.FileProtocolgetProtocol()Immutable.intgetProtocolValue()Immutable.com.google.protobuf.BoolValuegetSatisfiesPzs()Output only.com.google.protobuf.BoolValue.BuildergetSatisfiesPzsBuilder()Output only.com.google.protobuf.BoolValueOrBuildergetSatisfiesPzsOrBuilder()Output only.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.booleanhasSatisfiesPzs()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Instance.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Instance.BuildermergeDirectoryServices(DirectoryServicesConfig value)Directory Services configuration for Kerberos-based authentication.Instance.BuildermergeFrom(Instance other)Instance.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Instance.BuildermergeFrom(com.google.protobuf.Message other)Instance.BuildermergeSatisfiesPzs(com.google.protobuf.BoolValue value)Output only.Instance.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Instance.BuilderputAllLabels(Map<String,String> values)Resource labels to represent user provided metadata.Instance.BuilderputLabels(String key, String value)Resource labels to represent user provided metadata.Instance.BuilderremoveFileShares(int index)File system shares on the instance.Instance.BuilderremoveLabels(String key)Resource labels to represent user provided metadata.Instance.BuilderremoveNetworks(int index)VPC networks to which the instance is connected.Instance.BuildersetCapacityGb(long value)The storage capacity of the instance in gigabytes (GB = 1024^3 bytes).Instance.BuildersetCapacityStepSizeGb(long value)Output only.Instance.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Instance.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Instance.BuildersetDescription(String value)The description of the instance (2048 characters or less).Instance.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)The description of the instance (2048 characters or less).Instance.BuildersetDirectoryServices(DirectoryServicesConfig value)Directory Services configuration for Kerberos-based authentication.Instance.BuildersetDirectoryServices(DirectoryServicesConfig.Builder builderForValue)Directory Services configuration for Kerberos-based authentication.Instance.BuildersetEtag(String value)Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.Instance.BuildersetEtagBytes(com.google.protobuf.ByteString value)Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.Instance.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Instance.BuildersetFileShares(int index, FileShareConfig value)File system shares on the instance.Instance.BuildersetFileShares(int index, FileShareConfig.Builder builderForValue)File system shares on the instance.Instance.BuildersetKmsKeyName(String value)KMS key name used for data encryption.Instance.BuildersetKmsKeyNameBytes(com.google.protobuf.ByteString value)KMS key name used for data encryption.Instance.BuildersetMaxCapacityGb(long value)Output only.Instance.BuildersetMaxShareCount(long value)The max number of shares allowed.Instance.BuildersetMultiShareEnabled(boolean value)Indicates whether this instance uses a multi-share configuration with which it can have more than one file-share or none at all.Instance.BuildersetName(String value)Output only.Instance.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Instance.BuildersetNetworks(int index, NetworkConfig value)VPC networks to which the instance is connected.Instance.BuildersetNetworks(int index, NetworkConfig.Builder builderForValue)VPC networks to which the instance is connected.Instance.BuildersetProtocol(Instance.FileProtocol value)Immutable.Instance.BuildersetProtocolValue(int value)Immutable.Instance.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Instance.BuildersetSatisfiesPzs(com.google.protobuf.BoolValue value)Output only.Instance.BuildersetSatisfiesPzs(com.google.protobuf.BoolValue.Builder builderForValue)Output only.Instance.BuildersetState(Instance.State value)Output only.Instance.BuildersetStateValue(int value)Output only.Instance.BuildersetStatusMessage(String value)Output only.Instance.BuildersetStatusMessageBytes(com.google.protobuf.ByteString value)Output only.Instance.BuildersetSuspensionReasons(int index, Instance.SuspensionReason value)Output only.Instance.BuildersetSuspensionReasonsValue(int index, int value)Output only.Instance.BuildersetTier(Instance.Tier value)The service tier of the instance.Instance.BuildersetTierValue(int value)The service tier of the instance.Instance.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<Instance.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clear
public Instance.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
getDefaultInstanceForType
public Instance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Instance build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Instance buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Instance.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
setField
public Instance.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clearField
public Instance.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clearOneof
public Instance.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
setRepeatedField
public Instance.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
addRepeatedField
public Instance.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(Instance other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Instance.Builder>- Throws:
IOException
-
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.
-
setName
public Instance.Builder setName(String value)
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Instance.Builder clearName()
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];- Returns:
- This builder for chaining.
-
setNameBytes
public Instance.Builder setNameBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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.
-
setDescription
public Instance.Builder setDescription(String value)
The description of the instance (2048 characters or less).
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Instance.Builder clearDescription()
The description of the instance (2048 characters or less).
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Instance.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the instance (2048 characters or less).
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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.
-
setStateValue
public Instance.Builder setStateValue(int value)
Output only. The instance state.
.google.cloud.filestore.v1beta1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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.
-
setState
public Instance.Builder setState(Instance.State value)
Output only. The instance state.
.google.cloud.filestore.v1beta1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Instance.Builder clearState()
Output only. The instance state.
.google.cloud.filestore.v1beta1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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.
-
setStatusMessage
public Instance.Builder setStatusMessage(String value)
Output only. Additional information about the instance state, if available.
string status_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The statusMessage to set.- Returns:
- This builder for chaining.
-
clearStatusMessage
public Instance.Builder clearStatusMessage()
Output only. Additional information about the instance state, if available.
string status_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setStatusMessageBytes
public Instance.Builder setStatusMessageBytes(com.google.protobuf.ByteString value)
Output only. Additional information about the instance state, if available.
string status_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for statusMessage to set.- Returns:
- This builder for chaining.
-
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.
-
setCreateTime
public Instance.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Instance.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Instance.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Instance.Builder clearCreateTime()
Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setTierValue
public Instance.Builder setTierValue(int value)
The service tier of the instance.
.google.cloud.filestore.v1beta1.Instance.Tier tier = 8;- Parameters:
value- The enum numeric value on the wire for tier to set.- Returns:
- This builder for chaining.
-
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.
-
setTier
public Instance.Builder setTier(Instance.Tier value)
The service tier of the instance.
.google.cloud.filestore.v1beta1.Instance.Tier tier = 8;- Parameters:
value- The tier to set.- Returns:
- This builder for chaining.
-
clearTier
public Instance.Builder clearTier()
The service tier of the instance.
.google.cloud.filestore.v1beta1.Instance.Tier tier = 8;- Returns:
- This builder for chaining.
-
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
-
clearLabels
public Instance.Builder clearLabels()
-
removeLabels
public Instance.Builder removeLabels(String key)
Resource labels to represent user provided metadata.
map<string, string> labels = 9;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Instance.Builder putLabels(String key, String value)
Resource labels to represent user provided metadata.
map<string, string> labels = 9;
-
putAllLabels
public Instance.Builder putAllLabels(Map<String,String> values)
Resource labels to represent user provided metadata.
map<string, string> labels = 9;
-
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
-
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
-
setFileShares
public Instance.Builder setFileShares(int index, FileShareConfig value)
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;
-
setFileShares
public Instance.Builder setFileShares(int index, FileShareConfig.Builder builderForValue)
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;
-
addFileShares
public Instance.Builder addFileShares(FileShareConfig value)
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;
-
addFileShares
public Instance.Builder addFileShares(int index, FileShareConfig value)
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;
-
addFileShares
public Instance.Builder addFileShares(FileShareConfig.Builder builderForValue)
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;
-
addFileShares
public Instance.Builder addFileShares(int index, FileShareConfig.Builder builderForValue)
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;
-
addAllFileShares
public Instance.Builder addAllFileShares(Iterable<? extends FileShareConfig> values)
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;
-
clearFileShares
public Instance.Builder clearFileShares()
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;
-
removeFileShares
public Instance.Builder removeFileShares(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;
-
getFileSharesBuilder
public FileShareConfig.Builder getFileSharesBuilder(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;
-
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
-
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
-
addFileSharesBuilder
public FileShareConfig.Builder addFileSharesBuilder()
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;
-
addFileSharesBuilder
public FileShareConfig.Builder addFileSharesBuilder(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;
-
getFileSharesBuilderList
public List<FileShareConfig.Builder> getFileSharesBuilderList()
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;
-
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
-
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
-
setNetworks
public Instance.Builder setNetworks(int index, NetworkConfig value)
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;
-
setNetworks
public Instance.Builder setNetworks(int index, NetworkConfig.Builder builderForValue)
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;
-
addNetworks
public Instance.Builder addNetworks(NetworkConfig value)
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;
-
addNetworks
public Instance.Builder addNetworks(int index, NetworkConfig value)
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;
-
addNetworks
public Instance.Builder addNetworks(NetworkConfig.Builder builderForValue)
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;
-
addNetworks
public Instance.Builder addNetworks(int index, NetworkConfig.Builder builderForValue)
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;
-
addAllNetworks
public Instance.Builder addAllNetworks(Iterable<? extends NetworkConfig> values)
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;
-
clearNetworks
public Instance.Builder clearNetworks()
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;
-
removeNetworks
public Instance.Builder removeNetworks(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;
-
getNetworksBuilder
public NetworkConfig.Builder getNetworksBuilder(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;
-
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
-
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
-
addNetworksBuilder
public NetworkConfig.Builder addNetworksBuilder()
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;
-
addNetworksBuilder
public NetworkConfig.Builder addNetworksBuilder(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;
-
getNetworksBuilderList
public List<NetworkConfig.Builder> getNetworksBuilderList()
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;
-
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.
-
setEtag
public Instance.Builder setEtag(String value)
Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.
string etag = 12;- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
public Instance.Builder clearEtag()
Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.
string etag = 12;- Returns:
- This builder for chaining.
-
setEtagBytes
public Instance.Builder setEtagBytes(com.google.protobuf.ByteString value)
Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.
string etag = 12;- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
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.
-
setSatisfiesPzs
public Instance.Builder setSatisfiesPzs(com.google.protobuf.BoolValue value)
Output only. Reserved for future use.
.google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setSatisfiesPzs
public Instance.Builder setSatisfiesPzs(com.google.protobuf.BoolValue.Builder builderForValue)
Output only. Reserved for future use.
.google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeSatisfiesPzs
public Instance.Builder mergeSatisfiesPzs(com.google.protobuf.BoolValue value)
Output only. Reserved for future use.
.google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearSatisfiesPzs
public Instance.Builder clearSatisfiesPzs()
Output only. Reserved for future use.
.google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getSatisfiesPzsBuilder
public com.google.protobuf.BoolValue.Builder getSatisfiesPzsBuilder()
Output only. Reserved for future use.
.google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setKmsKeyName
public Instance.Builder setKmsKeyName(String value)
KMS key name used for data encryption.
string kms_key_name = 14;- Parameters:
value- The kmsKeyName to set.- Returns:
- This builder for chaining.
-
clearKmsKeyName
public Instance.Builder clearKmsKeyName()
KMS key name used for data encryption.
string kms_key_name = 14;- Returns:
- This builder for chaining.
-
setKmsKeyNameBytes
public Instance.Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value)
KMS key name used for data encryption.
string kms_key_name = 14;- Parameters:
value- The bytes for kmsKeyName to set.- Returns:
- This builder for chaining.
-
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.
-
setSuspensionReasons
public Instance.Builder setSuspensionReasons(int index, Instance.SuspensionReason value)
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];- Parameters:
index- The index to set the value at.value- The suspensionReasons to set.- Returns:
- This builder for chaining.
-
addSuspensionReasons
public Instance.Builder addSuspensionReasons(Instance.SuspensionReason value)
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];- Parameters:
value- The suspensionReasons to add.- Returns:
- This builder for chaining.
-
addAllSuspensionReasons
public Instance.Builder addAllSuspensionReasons(Iterable<? extends Instance.SuspensionReason> values)
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];- Parameters:
values- The suspensionReasons to add.- Returns:
- This builder for chaining.
-
clearSuspensionReasons
public Instance.Builder clearSuspensionReasons()
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];- Returns:
- This builder for chaining.
-
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.
-
setSuspensionReasonsValue
public Instance.Builder setSuspensionReasonsValue(int index, int value)
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];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for suspensionReasons to set.- Returns:
- This builder for chaining.
-
addSuspensionReasonsValue
public Instance.Builder addSuspensionReasonsValue(int value)
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];- Parameters:
value- The enum numeric value on the wire for suspensionReasons to add.- Returns:
- This builder for chaining.
-
addAllSuspensionReasonsValue
public Instance.Builder addAllSuspensionReasonsValue(Iterable<Integer> values)
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];- Parameters:
values- The enum numeric values on the wire for suspensionReasons to add.- Returns:
- This builder for chaining.
-
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.
-
setMaxCapacityGb
public Instance.Builder setMaxCapacityGb(long value)
Output only. The max capacity of the instance.
int64 max_capacity_gb = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The maxCapacityGb to set.- Returns:
- This builder for chaining.
-
clearMaxCapacityGb
public Instance.Builder clearMaxCapacityGb()
Output only. The max capacity of the instance.
int64 max_capacity_gb = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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.
-
setCapacityStepSizeGb
public Instance.Builder setCapacityStepSizeGb(long value)
Output only. The increase/decrease capacity step size.
int64 capacity_step_size_gb = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The capacityStepSizeGb to set.- Returns:
- This builder for chaining.
-
clearCapacityStepSizeGb
public Instance.Builder clearCapacityStepSizeGb()
Output only. The increase/decrease capacity step size.
int64 capacity_step_size_gb = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getMaxShareCount
public long getMaxShareCount()
The max number of shares allowed.
int64 max_share_count = 18;- Specified by:
getMaxShareCountin interfaceInstanceOrBuilder- Returns:
- The maxShareCount.
-
setMaxShareCount
public Instance.Builder setMaxShareCount(long value)
The max number of shares allowed.
int64 max_share_count = 18;- Parameters:
value- The maxShareCount to set.- Returns:
- This builder for chaining.
-
clearMaxShareCount
public Instance.Builder clearMaxShareCount()
The max number of shares allowed.
int64 max_share_count = 18;- Returns:
- This builder for chaining.
-
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.
-
setCapacityGb
public Instance.Builder setCapacityGb(long value)
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;- Parameters:
value- The capacityGb to set.- Returns:
- This builder for chaining.
-
clearCapacityGb
public Instance.Builder clearCapacityGb()
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;- Returns:
- This builder for chaining.
-
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.
-
setMultiShareEnabled
public Instance.Builder setMultiShareEnabled(boolean value)
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;- Parameters:
value- The multiShareEnabled to set.- Returns:
- This builder for chaining.
-
clearMultiShareEnabled
public Instance.Builder clearMultiShareEnabled()
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;- Returns:
- This builder for chaining.
-
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.
-
setProtocolValue
public Instance.Builder setProtocolValue(int value)
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];- Parameters:
value- The enum numeric value on the wire for protocol to set.- Returns:
- This builder for chaining.
-
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.
-
setProtocol
public Instance.Builder setProtocol(Instance.FileProtocol value)
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];- Parameters:
value- The protocol to set.- Returns:
- This builder for chaining.
-
clearProtocol
public Instance.Builder clearProtocol()
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];- Returns:
- This builder for chaining.
-
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.
-
setDirectoryServices
public Instance.Builder setDirectoryServices(DirectoryServicesConfig value)
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;
-
setDirectoryServices
public Instance.Builder setDirectoryServices(DirectoryServicesConfig.Builder builderForValue)
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;
-
mergeDirectoryServices
public Instance.Builder mergeDirectoryServices(DirectoryServicesConfig value)
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;
-
clearDirectoryServices
public Instance.Builder clearDirectoryServices()
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;
-
getDirectoryServicesBuilder
public DirectoryServicesConfig.Builder getDirectoryServicesBuilder()
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;
-
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
-
setUnknownFields
public final Instance.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeUnknownFields
public final Instance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
-