public static final class Replication.Builder extends GeneratedMessageV3.Builder<Replication.Builder> implements ReplicationOrBuilder
Replication specifications.
Protobuf type google.cloud.filestore.v1beta1.Replication
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllReplicas(Iterable<? extends ReplicaConfig> values)
public Replication.Builder addAllReplicas(Iterable<? extends ReplicaConfig> values)
Replication configuration for the replica instance associated with this
instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.filestore.v1beta1.ReplicaConfig>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Replication.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addReplicas(ReplicaConfig value)
public Replication.Builder addReplicas(ReplicaConfig value)
Replication configuration for the replica instance associated with this
instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;
addReplicas(ReplicaConfig.Builder builderForValue)
public Replication.Builder addReplicas(ReplicaConfig.Builder builderForValue)
Replication configuration for the replica instance associated with this
instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;
addReplicas(int index, ReplicaConfig value)
public Replication.Builder addReplicas(int index, ReplicaConfig value)
Replication configuration for the replica instance associated with this
instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;
addReplicas(int index, ReplicaConfig.Builder builderForValue)
public Replication.Builder addReplicas(int index, ReplicaConfig.Builder builderForValue)
Replication configuration for the replica instance associated with this
instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;
addReplicasBuilder()
public ReplicaConfig.Builder addReplicasBuilder()
Replication configuration for the replica instance associated with this
instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;
addReplicasBuilder(int index)
public ReplicaConfig.Builder addReplicasBuilder(int index)
Replication configuration for the replica instance associated with this
instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;
Parameter |
Name |
Description |
index |
int
|
build()
public Replication build()
buildPartial()
public Replication buildPartial()
clear()
public Replication.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Replication.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Replication.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReplicas()
public Replication.Builder clearReplicas()
Replication configuration for the replica instance associated with this
instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;
clearRole()
public Replication.Builder clearRole()
Output only. The replication role.
.google.cloud.filestore.v1beta1.Replication.Role role = 1;
clone()
public Replication.Builder clone()
Overrides
getDefaultInstanceForType()
public Replication getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getReplicas(int index)
public ReplicaConfig getReplicas(int index)
Replication configuration for the replica instance associated with this
instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;
Parameter |
Name |
Description |
index |
int
|
getReplicasBuilder(int index)
public ReplicaConfig.Builder getReplicasBuilder(int index)
Replication configuration for the replica instance associated with this
instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;
Parameter |
Name |
Description |
index |
int
|
getReplicasBuilderList()
public List<ReplicaConfig.Builder> getReplicasBuilderList()
Replication configuration for the replica instance associated with this
instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;
getReplicasCount()
public int getReplicasCount()
Replication configuration for the replica instance associated with this
instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;
Returns |
Type |
Description |
int |
|
getReplicasList()
public List<ReplicaConfig> getReplicasList()
Replication configuration for the replica instance associated with this
instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;
getReplicasOrBuilder(int index)
public ReplicaConfigOrBuilder getReplicasOrBuilder(int index)
Replication configuration for the replica instance associated with this
instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;
Parameter |
Name |
Description |
index |
int
|
getReplicasOrBuilderList()
public List<? extends ReplicaConfigOrBuilder> getReplicasOrBuilderList()
Replication configuration for the replica instance associated with this
instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.filestore.v1beta1.ReplicaConfigOrBuilder> |
|
getRole()
public Replication.Role getRole()
Output only. The replication role.
.google.cloud.filestore.v1beta1.Replication.Role role = 1;
getRoleValue()
public int getRoleValue()
Output only. The replication role.
.google.cloud.filestore.v1beta1.Replication.Role role = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for role.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Replication other)
public Replication.Builder mergeFrom(Replication other)
public Replication.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Replication.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Replication.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeReplicas(int index)
public Replication.Builder removeReplicas(int index)
Replication configuration for the replica instance associated with this
instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public Replication.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Replication.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setReplicas(int index, ReplicaConfig value)
public Replication.Builder setReplicas(int index, ReplicaConfig value)
Replication configuration for the replica instance associated with this
instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;
setReplicas(int index, ReplicaConfig.Builder builderForValue)
public Replication.Builder setReplicas(int index, ReplicaConfig.Builder builderForValue)
Replication configuration for the replica instance associated with this
instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;
setRole(Replication.Role value)
public Replication.Builder setRole(Replication.Role value)
Output only. The replication role.
.google.cloud.filestore.v1beta1.Replication.Role role = 1;
setRoleValue(int value)
public Replication.Builder setRoleValue(int value)
Output only. The replication role.
.google.cloud.filestore.v1beta1.Replication.Role role = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for role to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Replication.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides