Package com.google.cloud.filestore.v1
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.v1.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.v1.Instance
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Instance.Builder
addAllFileShares(Iterable<? extends FileShareConfig> values)
File system shares on the instance.Instance.Builder
addAllNetworks(Iterable<? extends NetworkConfig> values)
VPC networks to which the instance is connected.Instance.Builder
addAllSuspensionReasons(Iterable<? extends Instance.SuspensionReason> values)
Output only.Instance.Builder
addAllSuspensionReasonsValue(Iterable<Integer> values)
Output only.Instance.Builder
addFileShares(int index, FileShareConfig value)
File system shares on the instance.Instance.Builder
addFileShares(int index, FileShareConfig.Builder builderForValue)
File system shares on the instance.Instance.Builder
addFileShares(FileShareConfig value)
File system shares on the instance.Instance.Builder
addFileShares(FileShareConfig.Builder builderForValue)
File system shares on the instance.FileShareConfig.Builder
addFileSharesBuilder()
File system shares on the instance.FileShareConfig.Builder
addFileSharesBuilder(int index)
File system shares on the instance.Instance.Builder
addNetworks(int index, NetworkConfig value)
VPC networks to which the instance is connected.Instance.Builder
addNetworks(int index, NetworkConfig.Builder builderForValue)
VPC networks to which the instance is connected.Instance.Builder
addNetworks(NetworkConfig value)
VPC networks to which the instance is connected.Instance.Builder
addNetworks(NetworkConfig.Builder builderForValue)
VPC networks to which the instance is connected.NetworkConfig.Builder
addNetworksBuilder()
VPC networks to which the instance is connected.NetworkConfig.Builder
addNetworksBuilder(int index)
VPC networks to which the instance is connected.Instance.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Instance.Builder
addSuspensionReasons(Instance.SuspensionReason value)
Output only.Instance.Builder
addSuspensionReasonsValue(int value)
Output only.Instance
build()
Instance
buildPartial()
Instance.Builder
clear()
Instance.Builder
clearCreateTime()
Output only.Instance.Builder
clearDescription()
The description of the instance (2048 characters or less).Instance.Builder
clearEtag()
Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.Instance.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Instance.Builder
clearFileShares()
File system shares on the instance.Instance.Builder
clearKmsKeyName()
KMS key name used for data encryption.Instance.Builder
clearLabels()
Instance.Builder
clearName()
Output only.Instance.Builder
clearNetworks()
VPC networks to which the instance is connected.Instance.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Instance.Builder
clearSatisfiesPzs()
Output only.Instance.Builder
clearState()
Output only.Instance.Builder
clearStatusMessage()
Output only.Instance.Builder
clearSuspensionReasons()
Output only.Instance.Builder
clearTier()
The service tier of the instance.Instance.Builder
clone()
boolean
containsLabels(String key)
Resource labels to represent user provided metadata.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.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()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.FileShareConfig.Builder
getFileSharesBuilder(int index)
File system shares on the instance.List<FileShareConfig.Builder>
getFileSharesBuilderList()
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.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.NetworkConfig
getNetworks(int index)
VPC networks to which the instance is connected.NetworkConfig.Builder
getNetworksBuilder(int index)
VPC networks to which the instance is connected.List<NetworkConfig.Builder>
getNetworksBuilderList()
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.BoolValue
getSatisfiesPzs()
Output only.com.google.protobuf.BoolValue.Builder
getSatisfiesPzsBuilder()
Output only.com.google.protobuf.BoolValueOrBuilder
getSatisfiesPzsOrBuilder()
Output only.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
hasSatisfiesPzs()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Instance.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Instance.Builder
mergeFrom(Instance other)
Instance.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Instance.Builder
mergeFrom(com.google.protobuf.Message other)
Instance.Builder
mergeSatisfiesPzs(com.google.protobuf.BoolValue value)
Output only.Instance.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Instance.Builder
putAllLabels(Map<String,String> values)
Resource labels to represent user provided metadata.Instance.Builder
putLabels(String key, String value)
Resource labels to represent user provided metadata.Instance.Builder
removeFileShares(int index)
File system shares on the instance.Instance.Builder
removeLabels(String key)
Resource labels to represent user provided metadata.Instance.Builder
removeNetworks(int index)
VPC networks to which the instance is connected.Instance.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Instance.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Instance.Builder
setDescription(String value)
The description of the instance (2048 characters or less).Instance.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the instance (2048 characters or less).Instance.Builder
setEtag(String value)
Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.Instance.Builder
setEtagBytes(com.google.protobuf.ByteString value)
Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.Instance.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Instance.Builder
setFileShares(int index, FileShareConfig value)
File system shares on the instance.Instance.Builder
setFileShares(int index, FileShareConfig.Builder builderForValue)
File system shares on the instance.Instance.Builder
setKmsKeyName(String value)
KMS key name used for data encryption.Instance.Builder
setKmsKeyNameBytes(com.google.protobuf.ByteString value)
KMS key name used for data encryption.Instance.Builder
setName(String value)
Output only.Instance.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Instance.Builder
setNetworks(int index, NetworkConfig value)
VPC networks to which the instance is connected.Instance.Builder
setNetworks(int index, NetworkConfig.Builder builderForValue)
VPC networks to which the instance is connected.Instance.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Instance.Builder
setSatisfiesPzs(com.google.protobuf.BoolValue value)
Output only.Instance.Builder
setSatisfiesPzs(com.google.protobuf.BoolValue.Builder builderForValue)
Output only.Instance.Builder
setState(Instance.State value)
Output only.Instance.Builder
setStateValue(int value)
Output only.Instance.Builder
setStatusMessage(String value)
Output only.Instance.Builder
setStatusMessageBytes(com.google.protobuf.ByteString value)
Output only.Instance.Builder
setSuspensionReasons(int index, Instance.SuspensionReason value)
Output only.Instance.Builder
setSuspensionReasonsValue(int index, int value)
Output only.Instance.Builder
setTier(Instance.Tier value)
The service tier of the instance.Instance.Builder
setTierValue(int value)
The service tier of the instance.Instance.Builder
setUnknownFields(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clear
public Instance.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
getDefaultInstanceForType
public Instance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Instance build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Instance buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Instance.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
setField
public Instance.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clearField
public Instance.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clearOneof
public Instance.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
setRepeatedField
public Instance.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
addRepeatedField
public Instance.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(Instance other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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}/locations/{location}/instances/{instance}`.
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}/locations/{location}/instances/{instance}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in 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}/locations/{location}/instances/{instance}`.
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}/locations/{location}/instances/{instance}`.
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}/locations/{location}/instances/{instance}`.
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:
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.
-
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.v1.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.
-
setStateValue
public Instance.Builder setStateValue(int value)
Output only. The instance state.
.google.cloud.filestore.v1.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.v1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceInstanceOrBuilder
- Returns:
- The state.
-
setState
public Instance.Builder setState(Instance.State value)
Output only. The instance state.
.google.cloud.filestore.v1.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.v1.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:
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.
-
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:
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.
-
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:
getCreateTimeOrBuilder
in interfaceInstanceOrBuilder
-
getTierValue
public int getTierValue()
The service tier of the instance.
.google.cloud.filestore.v1.Instance.Tier tier = 8;
- Specified by:
getTierValue
in 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.v1.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.v1.Instance.Tier tier = 8;
- Specified by:
getTier
in interfaceInstanceOrBuilder
- Returns:
- The tier.
-
setTier
public Instance.Builder setTier(Instance.Tier value)
The service tier of the instance.
.google.cloud.filestore.v1.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.v1.Instance.Tier tier = 8;
- Returns:
- This builder for chaining.
-
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
-
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.v1.FileShareConfig file_shares = 10;
- Specified by:
getFileSharesList
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.v1.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.v1.FileShareConfig file_shares = 10;
- Specified by:
getFileShares
in 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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.FileShareConfig file_shares = 10;
- Specified by:
getFileSharesOrBuilder
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.v1.FileShareConfig file_shares = 10;
- Specified by:
getFileSharesOrBuilderList
in 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.v1.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.v1.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.v1.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.v1.NetworkConfig networks = 11;
- Specified by:
getNetworksList
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.v1.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.v1.NetworkConfig networks = 11;
- Specified by:
getNetworks
in 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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.NetworkConfig networks = 11;
- Specified by:
getNetworksOrBuilder
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.v1.NetworkConfig networks = 11;
- Specified by:
getNetworksOrBuilderList
in 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.v1.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.v1.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.v1.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:
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.
-
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:
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.
-
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:
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.
-
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.v1.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.v1.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.v1.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.
-
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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.
-
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.v1.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.v1.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.v1.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.
-
setUnknownFields
public final Instance.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeUnknownFields
public final Instance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
-