Class BackupWindow (0.14.0)

publicfinalclass BackupWindowextendsGeneratedMessageV3implementsBackupWindowOrBuilder

BackupWindow defines a window of the day during which backup jobs will run.

Protobuf type google.cloud.backupdr.v1.BackupWindow

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

END_HOUR_OF_DAY_FIELD_NUMBER

publicstaticfinalintEND_HOUR_OF_DAY_FIELD_NUMBER
Field Value
Type Description
int

START_HOUR_OF_DAY_FIELD_NUMBER

publicstaticfinalintSTART_HOUR_OF_DAY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticBackupWindowgetDefaultInstance()
Returns
Type Description
BackupWindow

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticBackupWindow.BuildernewBuilder()
Returns
Type Description
BackupWindow.Builder

newBuilder(BackupWindow prototype)

publicstaticBackupWindow.BuildernewBuilder(BackupWindowprototype)
Parameter
Name Description
prototype BackupWindow
Returns
Type Description
BackupWindow.Builder

parseDelimitedFrom(InputStream input)

publicstaticBackupWindowparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupWindow
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticBackupWindowparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupWindow
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticBackupWindowparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
BackupWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticBackupWindowparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticBackupWindowparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
BackupWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticBackupWindowparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticBackupWindowparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BackupWindow
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticBackupWindowparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupWindow
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticBackupWindowparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupWindow
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticBackupWindowparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupWindow
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticBackupWindowparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BackupWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticBackupWindowparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupWindow
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<BackupWindow>parser()
Returns
Type Description
Parser<BackupWindow>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicBackupWindowgetDefaultInstanceForType()
Returns
Type Description
BackupWindow

getEndHourOfDay()

publicintgetEndHourOfDay()

Required. The hour of day (1-24) when the window end for e.g. if value of end hour of day is 10 that mean backup window end time is 10:00.

End hour of day should be greater than start hour of day. 0 <= start_hour_of_day < end_hour_of_day <= 24

End hour of day is not include in backup window that mean if end_hour_of_day= 10 jobs should start before 10:00.

int32 end_hour_of_day = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The endHourOfDay.

getParserForType()

publicParser<BackupWindow>getParserForType()
Returns
Type Description
Parser<BackupWindow>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getStartHourOfDay()

publicintgetStartHourOfDay()

Required. The hour of day (0-23) when the window starts for e.g. if value of start hour of day is 6 that mean backup window start at 6:00.

int32 start_hour_of_day = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The startHourOfDay.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicBackupWindow.BuildernewBuilderForType()
Returns
Type Description
BackupWindow.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedBackupWindow.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BackupWindow.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicBackupWindow.BuildertoBuilder()
Returns
Type Description
BackupWindow.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.