- 1.79.0 (latest)
 - 1.77.0
 - 1.76.0
 - 1.75.0
 - 1.74.0
 - 1.73.0
 - 1.71.0
 - 1.69.0
 - 1.68.0
 - 1.65.0
 - 1.64.0
 - 1.63.0
 - 1.61.0
 - 1.60.0
 - 1.59.0
 - 1.58.0
 - 1.57.0
 - 1.56.0
 - 1.55.0
 - 1.54.0
 - 1.53.0
 - 1.52.0
 - 1.50.0
 - 1.49.0
 - 1.48.0
 - 1.47.0
 - 1.46.0
 - 1.45.0
 - 1.44.0
 - 1.43.0
 - 1.42.0
 - 1.41.0
 - 1.40.0
 - 1.38.0
 - 1.37.0
 - 1.36.0
 - 1.35.0
 - 1.34.0
 - 1.33.0
 - 1.32.0
 - 1.31.0
 - 1.30.0
 - 1.29.0
 - 1.28.0
 - 1.25.0
 - 1.24.0
 - 1.23.0
 - 1.22.0
 - 1.21.0
 - 1.20.0
 - 1.19.0
 - 1.18.0
 - 1.17.0
 - 1.16.0
 - 1.15.0
 - 1.14.0
 - 1.13.0
 - 1.12.0
 - 1.10.0
 - 1.9.0
 - 1.8.0
 - 1.7.0
 - 1.6.0
 - 1.5.0
 - 1.2.0
 
public static final class ReplicaConfig.Builder extends GeneratedMessageV3.Builder<ReplicaConfig.Builder> implements ReplicaConfigOrBuilderReplica configuration for the instance.
 Protobuf type google.cloud.filestore.v1.ReplicaConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReplicaConfig.BuilderImplements
ReplicaConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addAllStateReasons(Iterable<? extends ReplicaConfig.StateReason> values)
public ReplicaConfig.Builder addAllStateReasons(Iterable<? extends ReplicaConfig.StateReason> values)Output only. Additional information about the replication state, if available.
 
 repeated .google.cloud.filestore.v1.ReplicaConfig.StateReason state_reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<? extends com.google.cloud.filestore.v1.ReplicaConfig.StateReason>The stateReasons to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        This builder for chaining.  | 
      
addAllStateReasonsValue(Iterable<Integer> values)
public ReplicaConfig.Builder addAllStateReasonsValue(Iterable<Integer> values)Output only. Additional information about the replication state, if available.
 
 repeated .google.cloud.filestore.v1.ReplicaConfig.StateReason state_reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<Integer>The enum numeric values on the wire for stateReasons to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        This builder for chaining.  | 
      
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReplicaConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        |
addStateReasons(ReplicaConfig.StateReason value)
public ReplicaConfig.Builder addStateReasons(ReplicaConfig.StateReason value)Output only. Additional information about the replication state, if available.
 
 repeated .google.cloud.filestore.v1.ReplicaConfig.StateReason state_reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ReplicaConfig.StateReasonThe stateReasons to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        This builder for chaining.  | 
      
addStateReasonsValue(int value)
public ReplicaConfig.Builder addStateReasonsValue(int value)Output only. Additional information about the replication state, if available.
 
 repeated .google.cloud.filestore.v1.ReplicaConfig.StateReason state_reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for stateReasons to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        This builder for chaining.  | 
      
build()
public ReplicaConfig build()| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig | 
        |
buildPartial()
public ReplicaConfig buildPartial()| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig | 
        |
clear()
public ReplicaConfig.Builder clear()| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public ReplicaConfig.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        |
clearLastActiveSyncTime()
public ReplicaConfig.Builder clearLastActiveSyncTime()Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely.
 
 .google.protobuf.Timestamp last_active_sync_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReplicaConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        |
clearPeerInstance()
public ReplicaConfig.Builder clearPeerInstance()Optional. The peer instance.
 
 string peer_instance = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        This builder for chaining.  | 
      
clearState()
public ReplicaConfig.Builder clearState()Output only. The replica state.
 
 .google.cloud.filestore.v1.ReplicaConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        This builder for chaining.  | 
      
clearStateReasons()
public ReplicaConfig.Builder clearStateReasons()Output only. Additional information about the replication state, if available.
 
 repeated .google.cloud.filestore.v1.ReplicaConfig.StateReason state_reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        This builder for chaining.  | 
      
clone()
public ReplicaConfig.Builder clone()| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        |
getDefaultInstanceForType()
public ReplicaConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getLastActiveSyncTime()
public Timestamp getLastActiveSyncTime()Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely.
 
 .google.protobuf.Timestamp last_active_sync_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Timestamp | 
        The lastActiveSyncTime.  | 
      
getLastActiveSyncTimeBuilder()
public Timestamp.Builder getLastActiveSyncTimeBuilder()Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely.
 
 .google.protobuf.Timestamp last_active_sync_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getLastActiveSyncTimeOrBuilder()
public TimestampOrBuilder getLastActiveSyncTimeOrBuilder()Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely.
 
 .google.protobuf.Timestamp last_active_sync_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
TimestampOrBuilder | 
        |
getPeerInstance()
public String getPeerInstance()Optional. The peer instance.
 
 string peer_instance = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
String | 
        The peerInstance.  | 
      
getPeerInstanceBytes()
public ByteString getPeerInstanceBytes()Optional. The peer instance.
 
 string peer_instance = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for peerInstance.  | 
      
getState()
public ReplicaConfig.State getState()Output only. The replica state.
 
 .google.cloud.filestore.v1.ReplicaConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.State | 
        The state.  | 
      
getStateReasons(int index)
public ReplicaConfig.StateReason getStateReasons(int index)Output only. Additional information about the replication state, if available.
 
 repeated .google.cloud.filestore.v1.ReplicaConfig.StateReason state_reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the element to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.StateReason | 
        The stateReasons at the given index.  | 
      
getStateReasonsCount()
public int getStateReasonsCount()Output only. Additional information about the replication state, if available.
 
 repeated .google.cloud.filestore.v1.ReplicaConfig.StateReason state_reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        The count of stateReasons.  | 
      
getStateReasonsList()
public List<ReplicaConfig.StateReason> getStateReasonsList()Output only. Additional information about the replication state, if available.
 
 repeated .google.cloud.filestore.v1.ReplicaConfig.StateReason state_reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
List<StateReason> | 
        A list containing the stateReasons.  | 
      
getStateReasonsValue(int index)
public int getStateReasonsValue(int index)Output only. Additional information about the replication state, if available.
 
 repeated .google.cloud.filestore.v1.ReplicaConfig.StateReason state_reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the value to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire of stateReasons at the given index.  | 
      
getStateReasonsValueList()
public List<Integer> getStateReasonsValueList()Output only. Additional information about the replication state, if available.
 
 repeated .google.cloud.filestore.v1.ReplicaConfig.StateReason state_reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
List<Integer> | 
        A list containing the enum numeric values on the wire for stateReasons.  | 
      
getStateValue()
public int getStateValue()Output only. The replica state.
 
 .google.cloud.filestore.v1.ReplicaConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for state.  | 
      
hasLastActiveSyncTime()
public boolean hasLastActiveSyncTime()Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely.
 
 .google.protobuf.Timestamp last_active_sync_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the lastActiveSyncTime field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(ReplicaConfig other)
public ReplicaConfig.Builder mergeFrom(ReplicaConfig other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        ReplicaConfig | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReplicaConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public ReplicaConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        |
mergeLastActiveSyncTime(Timestamp value)
public ReplicaConfig.Builder mergeLastActiveSyncTime(Timestamp value)Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely.
 
 .google.protobuf.Timestamp last_active_sync_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReplicaConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public ReplicaConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        |
setLastActiveSyncTime(Timestamp value)
public ReplicaConfig.Builder setLastActiveSyncTime(Timestamp value)Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely.
 
 .google.protobuf.Timestamp last_active_sync_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        |
setLastActiveSyncTime(Timestamp.Builder builderForValue)
public ReplicaConfig.Builder setLastActiveSyncTime(Timestamp.Builder builderForValue)Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely.
 
 .google.protobuf.Timestamp last_active_sync_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        |
setPeerInstance(String value)
public ReplicaConfig.Builder setPeerInstance(String value)Optional. The peer instance.
 
 string peer_instance = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe peerInstance to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        This builder for chaining.  | 
      
setPeerInstanceBytes(ByteString value)
public ReplicaConfig.Builder setPeerInstanceBytes(ByteString value)Optional. The peer instance.
 
 string peer_instance = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for peerInstance to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReplicaConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        |
setState(ReplicaConfig.State value)
public ReplicaConfig.Builder setState(ReplicaConfig.State value)Output only. The replica state.
 
 .google.cloud.filestore.v1.ReplicaConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ReplicaConfig.StateThe state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        This builder for chaining.  | 
      
setStateReasons(int index, ReplicaConfig.StateReason value)
public ReplicaConfig.Builder setStateReasons(int index, ReplicaConfig.StateReason value)Output only. Additional information about the replication state, if available.
 
 repeated .google.cloud.filestore.v1.ReplicaConfig.StateReason state_reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        intThe index to set the value at.  | 
      
value | 
        ReplicaConfig.StateReasonThe stateReasons to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        This builder for chaining.  | 
      
setStateReasonsValue(int index, int value)
public ReplicaConfig.Builder setStateReasonsValue(int index, int value)Output only. Additional information about the replication state, if available.
 
 repeated .google.cloud.filestore.v1.ReplicaConfig.StateReason state_reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        intThe index to set the value at.  | 
      
value | 
        intThe enum numeric value on the wire for stateReasons to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        This builder for chaining.  | 
      
setStateValue(int value)
public ReplicaConfig.Builder setStateValue(int value)Output only. The replica state.
 
 .google.cloud.filestore.v1.ReplicaConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final ReplicaConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
ReplicaConfig.Builder | 
        |