Class PatchDeployments.WeeklySchedule (2.10.0)

public static final class PatchDeployments.WeeklySchedule extends GeneratedMessageV3 implements PatchDeployments.WeeklyScheduleOrBuilder

Represents a weekly schedule.

Protobuf type google.cloud.osconfig.v1beta.WeeklySchedule

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PatchDeployments.WeeklySchedule

Static Fields

DAY_OF_WEEK_FIELD_NUMBER

public static final int DAY_OF_WEEK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PatchDeployments.WeeklySchedule getDefaultInstance()
Returns
TypeDescription
PatchDeployments.WeeklySchedule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PatchDeployments.WeeklySchedule.Builder newBuilder()
Returns
TypeDescription
PatchDeployments.WeeklySchedule.Builder

newBuilder(PatchDeployments.WeeklySchedule prototype)

public static PatchDeployments.WeeklySchedule.Builder newBuilder(PatchDeployments.WeeklySchedule prototype)
Parameter
NameDescription
prototypePatchDeployments.WeeklySchedule
Returns
TypeDescription
PatchDeployments.WeeklySchedule.Builder

parseDelimitedFrom(InputStream input)

public static PatchDeployments.WeeklySchedule parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PatchDeployments.WeeklySchedule
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.WeeklySchedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchDeployments.WeeklySchedule
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PatchDeployments.WeeklySchedule parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PatchDeployments.WeeklySchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.WeeklySchedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchDeployments.WeeklySchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PatchDeployments.WeeklySchedule parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PatchDeployments.WeeklySchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.WeeklySchedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchDeployments.WeeklySchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PatchDeployments.WeeklySchedule parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PatchDeployments.WeeklySchedule
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.WeeklySchedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchDeployments.WeeklySchedule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PatchDeployments.WeeklySchedule parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PatchDeployments.WeeklySchedule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.WeeklySchedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchDeployments.WeeklySchedule
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PatchDeployments.WeeklySchedule parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PatchDeployments.WeeklySchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PatchDeployments.WeeklySchedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchDeployments.WeeklySchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PatchDeployments.WeeklySchedule> parser()
Returns
TypeDescription
Parser<WeeklySchedule>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDayOfWeek()

public DayOfWeek getDayOfWeek()

Required. Day of the week.

.google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
com.google.type.DayOfWeek

The dayOfWeek.

getDayOfWeekValue()

public int getDayOfWeekValue()

Required. Day of the week.

.google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for dayOfWeek.

getDefaultInstanceForType()

public PatchDeployments.WeeklySchedule getDefaultInstanceForType()
Returns
TypeDescription
PatchDeployments.WeeklySchedule

getParserForType()

public Parser<PatchDeployments.WeeklySchedule> getParserForType()
Returns
TypeDescription
Parser<WeeklySchedule>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PatchDeployments.WeeklySchedule.Builder newBuilderForType()
Returns
TypeDescription
PatchDeployments.WeeklySchedule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PatchDeployments.WeeklySchedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PatchDeployments.WeeklySchedule.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PatchDeployments.WeeklySchedule.Builder toBuilder()
Returns
TypeDescription
PatchDeployments.WeeklySchedule.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException