public static final class Instance.UpdatePolicy.Builder extends GeneratedMessageV3.Builder<Instance.UpdatePolicy.Builder> implements Instance.UpdatePolicyOrBuilder
Policy to be used while updating the instance.
Protobuf type google.cloud.alloydb.v1alpha.Instance.UpdatePolicy
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.UpdatePolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Instance.UpdatePolicy build()
buildPartial()
public Instance.UpdatePolicy buildPartial()
clear()
public Instance.UpdatePolicy.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Instance.UpdatePolicy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMode()
public Instance.UpdatePolicy.Builder clearMode()
Mode for updating the instance.
.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.UpdatePolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Instance.UpdatePolicy.Builder clone()
Overrides
getDefaultInstanceForType()
public Instance.UpdatePolicy getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMode()
public Instance.UpdatePolicy.Mode getMode()
Mode for updating the instance.
.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1;
getModeValue()
public int getModeValue()
Mode for updating the instance.
.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for mode.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Instance.UpdatePolicy other)
public Instance.UpdatePolicy.Builder mergeFrom(Instance.UpdatePolicy other)
public Instance.UpdatePolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Instance.UpdatePolicy.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.UpdatePolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.UpdatePolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMode(Instance.UpdatePolicy.Mode value)
public Instance.UpdatePolicy.Builder setMode(Instance.UpdatePolicy.Mode value)
Mode for updating the instance.
.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1;
setModeValue(int value)
public Instance.UpdatePolicy.Builder setModeValue(int value)
Mode for updating the instance.
.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for mode to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.UpdatePolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.UpdatePolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides