public final class MaintenanceUpdatePolicy extends GeneratedMessageV3 implements MaintenanceUpdatePolicyOrBuilder
MaintenanceUpdatePolicy defines the policy for system updates.
Protobuf type google.cloud.alloydb.v1.MaintenanceUpdatePolicy
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > MaintenanceUpdatePolicyImplements
MaintenanceUpdatePolicyOrBuilderStatic Fields
MAINTENANCE_WINDOWS_FIELD_NUMBER
public static final int MAINTENANCE_WINDOWS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static MaintenanceUpdatePolicy getDefaultInstance()
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static MaintenanceUpdatePolicy.Builder newBuilder()
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy.Builder |
newBuilder(MaintenanceUpdatePolicy prototype)
public static MaintenanceUpdatePolicy.Builder newBuilder(MaintenanceUpdatePolicy prototype)
Parameter | |
---|---|
Name | Description |
prototype |
MaintenanceUpdatePolicy |
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy.Builder |
parseDelimitedFrom(InputStream input)
public static MaintenanceUpdatePolicy parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MaintenanceUpdatePolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static MaintenanceUpdatePolicy parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MaintenanceUpdatePolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static MaintenanceUpdatePolicy parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MaintenanceUpdatePolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static MaintenanceUpdatePolicy parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MaintenanceUpdatePolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static MaintenanceUpdatePolicy parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MaintenanceUpdatePolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static MaintenanceUpdatePolicy parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MaintenanceUpdatePolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<MaintenanceUpdatePolicy> parser()
Returns | |
---|---|
Type | Description |
Parser<MaintenanceUpdatePolicy> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public MaintenanceUpdatePolicy getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy |
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 |
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy.MaintenanceWindow |
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;
Returns | |
---|---|
Type | Description |
List<MaintenanceWindow> |
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 |
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy.MaintenanceWindowOrBuilder |
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> |
getParserForType()
public Parser<MaintenanceUpdatePolicy> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<MaintenanceUpdatePolicy> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public MaintenanceUpdatePolicy.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MaintenanceUpdatePolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public MaintenanceUpdatePolicy.Builder toBuilder()
Returns | |
---|---|
Type | Description |
MaintenanceUpdatePolicy.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |