public static final class PatchDeployments.WeeklySchedule extends GeneratedMessageV3 implements PatchDeployments.WeeklyScheduleOrBuilder
Represents a weekly schedule.
Protobuf type google.cloud.osconfig.v1beta.WeeklySchedule
Static Fields
DAY_OF_WEEK_FIELD_NUMBER
public static final int DAY_OF_WEEK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PatchDeployments.WeeklySchedule getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PatchDeployments.WeeklySchedule.Builder newBuilder()
Returns
newBuilder(PatchDeployments.WeeklySchedule prototype)
public static PatchDeployments.WeeklySchedule.Builder newBuilder(PatchDeployments.WeeklySchedule prototype)
Parameter
Returns
public static PatchDeployments.WeeklySchedule parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PatchDeployments.WeeklySchedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PatchDeployments.WeeklySchedule parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PatchDeployments.WeeklySchedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PatchDeployments.WeeklySchedule parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PatchDeployments.WeeklySchedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PatchDeployments.WeeklySchedule parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PatchDeployments.WeeklySchedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PatchDeployments.WeeklySchedule parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PatchDeployments.WeeklySchedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PatchDeployments.WeeklySchedule parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PatchDeployments.WeeklySchedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PatchDeployments.WeeklySchedule> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDayOfWeek()
public DayOfWeek getDayOfWeek()
Required. Day of the week.
.google.type.DayOfWeek day_of_week = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
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
Type | Description |
int | The enum numeric value on the wire for dayOfWeek.
|
getDefaultInstanceForType()
public PatchDeployments.WeeklySchedule getDefaultInstanceForType()
Returns
getParserForType()
public Parser<PatchDeployments.WeeklySchedule> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PatchDeployments.WeeklySchedule.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PatchDeployments.WeeklySchedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PatchDeployments.WeeklySchedule.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions