public static final class MaintenanceUpdatePolicy.Builder extends GeneratedMessageV3.Builder<MaintenanceUpdatePolicy.Builder> implements MaintenanceUpdatePolicyOrBuilder
MaintenanceUpdatePolicy defines the policy for system updates.
Protobuf type google.cloud.alloydb.v1.MaintenanceUpdatePolicy
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
addAllMaintenanceWindows(Iterable<? extends MaintenanceUpdatePolicy.MaintenanceWindow> values)
public MaintenanceUpdatePolicy.Builder addAllMaintenanceWindows(Iterable<? extends MaintenanceUpdatePolicy.MaintenanceWindow> values)
Preferred windows to perform maintenance. Currently limited to 1.
repeated .google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow>
|
addMaintenanceWindows(MaintenanceUpdatePolicy.MaintenanceWindow value)
public MaintenanceUpdatePolicy.Builder addMaintenanceWindows(MaintenanceUpdatePolicy.MaintenanceWindow value)
Preferred windows to perform maintenance. Currently limited to 1.
repeated .google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1;
addMaintenanceWindows(MaintenanceUpdatePolicy.MaintenanceWindow.Builder builderForValue)
public MaintenanceUpdatePolicy.Builder addMaintenanceWindows(MaintenanceUpdatePolicy.MaintenanceWindow.Builder builderForValue)
Preferred windows to perform maintenance. Currently limited to 1.
repeated .google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1;
addMaintenanceWindows(int index, MaintenanceUpdatePolicy.MaintenanceWindow value)
public MaintenanceUpdatePolicy.Builder addMaintenanceWindows(int index, MaintenanceUpdatePolicy.MaintenanceWindow value)
Preferred windows to perform maintenance. Currently limited to 1.
repeated .google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1;
addMaintenanceWindows(int index, MaintenanceUpdatePolicy.MaintenanceWindow.Builder builderForValue)
public MaintenanceUpdatePolicy.Builder addMaintenanceWindows(int index, MaintenanceUpdatePolicy.MaintenanceWindow.Builder builderForValue)
Preferred windows to perform maintenance. Currently limited to 1.
repeated .google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1;
addMaintenanceWindowsBuilder()
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder addMaintenanceWindowsBuilder()
Preferred windows to perform maintenance. Currently limited to 1.
repeated .google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1;
addMaintenanceWindowsBuilder(int index)
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder addMaintenanceWindowsBuilder(int index)
Preferred windows to perform maintenance. Currently limited to 1.
repeated .google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceUpdatePolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MaintenanceUpdatePolicy build()
buildPartial()
public MaintenanceUpdatePolicy buildPartial()
clear()
public MaintenanceUpdatePolicy.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MaintenanceUpdatePolicy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMaintenanceWindows()
public MaintenanceUpdatePolicy.Builder clearMaintenanceWindows()
Preferred windows to perform maintenance. Currently limited to 1.
repeated .google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public MaintenanceUpdatePolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public MaintenanceUpdatePolicy.Builder clone()
Overrides
getDefaultInstanceForType()
public MaintenanceUpdatePolicy getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMaintenanceWindows(int index)
public MaintenanceUpdatePolicy.MaintenanceWindow getMaintenanceWindows(int index)
Preferred windows to perform maintenance. Currently limited to 1.
repeated .google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1;
Parameter |
Name |
Description |
index |
int
|
getMaintenanceWindowsBuilder(int index)
public MaintenanceUpdatePolicy.MaintenanceWindow.Builder getMaintenanceWindowsBuilder(int index)
Preferred windows to perform maintenance. Currently limited to 1.
repeated .google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1;
Parameter |
Name |
Description |
index |
int
|
getMaintenanceWindowsBuilderList()
public List<MaintenanceUpdatePolicy.MaintenanceWindow.Builder> getMaintenanceWindowsBuilderList()
Preferred windows to perform maintenance. Currently limited to 1.
repeated .google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1;
getMaintenanceWindowsCount()
public int getMaintenanceWindowsCount()
Preferred windows to perform maintenance. Currently limited to 1.
repeated .google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1;
Returns |
Type |
Description |
int |
|
getMaintenanceWindowsList()
public List<MaintenanceUpdatePolicy.MaintenanceWindow> getMaintenanceWindowsList()
Preferred windows to perform maintenance. Currently limited to 1.
repeated .google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1;
getMaintenanceWindowsOrBuilder(int index)
public MaintenanceUpdatePolicy.MaintenanceWindowOrBuilder getMaintenanceWindowsOrBuilder(int index)
Preferred windows to perform maintenance. Currently limited to 1.
repeated .google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1;
Parameter |
Name |
Description |
index |
int
|
getMaintenanceWindowsOrBuilderList()
public List<? extends MaintenanceUpdatePolicy.MaintenanceWindowOrBuilder> getMaintenanceWindowsOrBuilderList()
Preferred windows to perform maintenance. Currently limited to 1.
repeated .google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindowOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MaintenanceUpdatePolicy other)
public MaintenanceUpdatePolicy.Builder mergeFrom(MaintenanceUpdatePolicy other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MaintenanceUpdatePolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MaintenanceUpdatePolicy.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceUpdatePolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeMaintenanceWindows(int index)
public MaintenanceUpdatePolicy.Builder removeMaintenanceWindows(int index)
Preferred windows to perform maintenance. Currently limited to 1.
repeated .google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceUpdatePolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMaintenanceWindows(int index, MaintenanceUpdatePolicy.MaintenanceWindow value)
public MaintenanceUpdatePolicy.Builder setMaintenanceWindows(int index, MaintenanceUpdatePolicy.MaintenanceWindow value)
Preferred windows to perform maintenance. Currently limited to 1.
repeated .google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1;
setMaintenanceWindows(int index, MaintenanceUpdatePolicy.MaintenanceWindow.Builder builderForValue)
public MaintenanceUpdatePolicy.Builder setMaintenanceWindows(int index, MaintenanceUpdatePolicy.MaintenanceWindow.Builder builderForValue)
Preferred windows to perform maintenance. Currently limited to 1.
repeated .google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow maintenance_windows = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MaintenanceUpdatePolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceUpdatePolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides