Class PeriodicPartialMaintenanceSchedule (1.105.0)

public final class PeriodicPartialMaintenanceSchedule extends GeneratedMessage implements PeriodicPartialMaintenanceScheduleOrBuilder

The periodic partial maintenance schedule includes 52 weeks worth of maintenance windows. LINT.IfChange(PeriodicPartialMaintenanceSchedule)

Protobuf type google.cloud.compute.v1.PeriodicPartialMaintenanceSchedule

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > PeriodicPartialMaintenanceSchedule

Static Fields

SUB_TYPE_FIELD_NUMBER

public static final int SUB_TYPE_FIELD_NUMBER
Field Value
Type Description
int

TARGET_RESOURCE_FIELD_NUMBER

public static final int TARGET_RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

WINDOW_END_TIME_FIELD_NUMBER

public static final int WINDOW_END_TIME_FIELD_NUMBER
Field Value
Type Description
int

WINDOW_START_TIME_FIELD_NUMBER

public static final int WINDOW_START_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PeriodicPartialMaintenanceSchedule getDefaultInstance()
Returns
Type Description
PeriodicPartialMaintenanceSchedule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PeriodicPartialMaintenanceSchedule.Builder newBuilder()
Returns
Type Description
PeriodicPartialMaintenanceSchedule.Builder

newBuilder(PeriodicPartialMaintenanceSchedule prototype)

public static PeriodicPartialMaintenanceSchedule.Builder newBuilder(PeriodicPartialMaintenanceSchedule prototype)
Parameter
Name Description
prototype PeriodicPartialMaintenanceSchedule
Returns
Type Description
PeriodicPartialMaintenanceSchedule.Builder

parseDelimitedFrom(InputStream input)

public static PeriodicPartialMaintenanceSchedule parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PeriodicPartialMaintenanceSchedule
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PeriodicPartialMaintenanceSchedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PeriodicPartialMaintenanceSchedule
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PeriodicPartialMaintenanceSchedule parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PeriodicPartialMaintenanceSchedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PeriodicPartialMaintenanceSchedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PeriodicPartialMaintenanceSchedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PeriodicPartialMaintenanceSchedule parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PeriodicPartialMaintenanceSchedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PeriodicPartialMaintenanceSchedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PeriodicPartialMaintenanceSchedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PeriodicPartialMaintenanceSchedule parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PeriodicPartialMaintenanceSchedule
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PeriodicPartialMaintenanceSchedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PeriodicPartialMaintenanceSchedule
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PeriodicPartialMaintenanceSchedule parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PeriodicPartialMaintenanceSchedule
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PeriodicPartialMaintenanceSchedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PeriodicPartialMaintenanceSchedule
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PeriodicPartialMaintenanceSchedule parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PeriodicPartialMaintenanceSchedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PeriodicPartialMaintenanceSchedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PeriodicPartialMaintenanceSchedule
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PeriodicPartialMaintenanceSchedule> parser()
Returns
Type Description
Parser<PeriodicPartialMaintenanceSchedule>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PeriodicPartialMaintenanceSchedule getDefaultInstanceForType()
Returns
Type Description
PeriodicPartialMaintenanceSchedule

getParserForType()

public Parser<PeriodicPartialMaintenanceSchedule> getParserForType()
Returns
Type Description
Parser<PeriodicPartialMaintenanceSchedule>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubType()

public String getSubType()

The maintenance type in which the zone is during the given window. Check the SubType enum for the list of possible values.

optional string sub_type = 67924441;

Returns
Type Description
String

The subType.

getSubTypeBytes()

public ByteString getSubTypeBytes()

The maintenance type in which the zone is during the given window. Check the SubType enum for the list of possible values.

optional string sub_type = 67924441;

Returns
Type Description
ByteString

The bytes for subType.

getTargetResource()

public String getTargetResource()

The target resource that the maintenance window is for. For example, "projects/my-project/zones/us-central1-a".

optional string target_resource = 467318524;

Returns
Type Description
String

The targetResource.

getTargetResourceBytes()

public ByteString getTargetResourceBytes()

The target resource that the maintenance window is for. For example, "projects/my-project/zones/us-central1-a".

optional string target_resource = 467318524;

Returns
Type Description
ByteString

The bytes for targetResource.

getType()

public String getType()

Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
Type Description
ByteString

The bytes for type.

getWindowEndTime()

public DateTime getWindowEndTime()

The end civil timestamp of the window (not inclusive). This contains a time zone.

optional .google.cloud.compute.v1.DateTime window_end_time = 271816480;

Returns
Type Description
DateTime

The windowEndTime.

getWindowEndTimeOrBuilder()

public DateTimeOrBuilder getWindowEndTimeOrBuilder()

The end civil timestamp of the window (not inclusive). This contains a time zone.

optional .google.cloud.compute.v1.DateTime window_end_time = 271816480;

Returns
Type Description
DateTimeOrBuilder

getWindowStartTime()

public DateTime getWindowStartTime()

The start civil timestamp of the window. This contains a time zone.

optional .google.cloud.compute.v1.DateTime window_start_time = 473061433;

Returns
Type Description
DateTime

The windowStartTime.

getWindowStartTimeOrBuilder()

public DateTimeOrBuilder getWindowStartTimeOrBuilder()

The start civil timestamp of the window. This contains a time zone.

optional .google.cloud.compute.v1.DateTime window_start_time = 473061433;

Returns
Type Description
DateTimeOrBuilder

hasSubType()

public boolean hasSubType()

The maintenance type in which the zone is during the given window. Check the SubType enum for the list of possible values.

optional string sub_type = 67924441;

Returns
Type Description
boolean

Whether the subType field is set.

hasTargetResource()

public boolean hasTargetResource()

The target resource that the maintenance window is for. For example, "projects/my-project/zones/us-central1-a".

optional string target_resource = 467318524;

Returns
Type Description
boolean

Whether the targetResource field is set.

hasType()

public boolean hasType()

Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
Type Description
boolean

Whether the type field is set.

hasWindowEndTime()

public boolean hasWindowEndTime()

The end civil timestamp of the window (not inclusive). This contains a time zone.

optional .google.cloud.compute.v1.DateTime window_end_time = 271816480;

Returns
Type Description
boolean

Whether the windowEndTime field is set.

hasWindowStartTime()

public boolean hasWindowStartTime()

The start civil timestamp of the window. This contains a time zone.

optional .google.cloud.compute.v1.DateTime window_start_time = 473061433;

Returns
Type Description
boolean

Whether the windowStartTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PeriodicPartialMaintenanceSchedule.Builder newBuilderForType()
Returns
Type Description
PeriodicPartialMaintenanceSchedule.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected PeriodicPartialMaintenanceSchedule.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PeriodicPartialMaintenanceSchedule.Builder
Overrides

toBuilder()

public PeriodicPartialMaintenanceSchedule.Builder toBuilder()
Returns
Type Description
PeriodicPartialMaintenanceSchedule.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException