public static final class PatchDeployments.MonthlySchedule extends GeneratedMessageV3 implements PatchDeployments.MonthlyScheduleOrBuilder
Represents a monthly schedule. An example of a valid monthly schedule is
"on the third Tuesday of the month" or "on the 15th of the month".
Protobuf type google.cloud.osconfig.v1.MonthlySchedule
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
MONTH_DAY_FIELD_NUMBER
public static final int MONTH_DAY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
WEEK_DAY_OF_MONTH_FIELD_NUMBER
public static final int WEEK_DAY_OF_MONTH_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static PatchDeployments.MonthlySchedule getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PatchDeployments.MonthlySchedule.Builder newBuilder()
newBuilder(PatchDeployments.MonthlySchedule prototype)
public static PatchDeployments.MonthlySchedule.Builder newBuilder(PatchDeployments.MonthlySchedule prototype)
public static PatchDeployments.MonthlySchedule parseDelimitedFrom(InputStream input)
public static PatchDeployments.MonthlySchedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PatchDeployments.MonthlySchedule parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PatchDeployments.MonthlySchedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PatchDeployments.MonthlySchedule parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PatchDeployments.MonthlySchedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PatchDeployments.MonthlySchedule parseFrom(CodedInputStream input)
public static PatchDeployments.MonthlySchedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PatchDeployments.MonthlySchedule parseFrom(InputStream input)
public static PatchDeployments.MonthlySchedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PatchDeployments.MonthlySchedule parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PatchDeployments.MonthlySchedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PatchDeployments.MonthlySchedule> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDayOfMonthCase()
public PatchDeployments.MonthlySchedule.DayOfMonthCase getDayOfMonthCase()
getDefaultInstanceForType()
public PatchDeployments.MonthlySchedule getDefaultInstanceForType()
getMonthDay()
Required. One day of the month. 1-31 indicates the 1st to the 31st day.
-1 indicates the last day of the month. Months without the target day
will be skipped. For example, a schedule to run "every month on the 31st"
will not run in February, April, June, etc.
int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | The monthDay.
|
getParserForType()
public Parser<PatchDeployments.MonthlySchedule> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getWeekDayOfMonth()
public PatchDeployments.WeekDayOfMonth getWeekDayOfMonth()
Required. Week day in a month.
.google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
getWeekDayOfMonthOrBuilder()
public PatchDeployments.WeekDayOfMonthOrBuilder getWeekDayOfMonthOrBuilder()
Required. Week day in a month.
.google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
hasMonthDay()
public boolean hasMonthDay()
Required. One day of the month. 1-31 indicates the 1st to the 31st day.
-1 indicates the last day of the month. Months without the target day
will be skipped. For example, a schedule to run "every month on the 31st"
will not run in February, April, June, etc.
int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the monthDay field is set.
|
hasWeekDayOfMonth()
public boolean hasWeekDayOfMonth()
Required. Week day in a month.
.google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the weekDayOfMonth field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PatchDeployments.MonthlySchedule.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PatchDeployments.MonthlySchedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public PatchDeployments.MonthlySchedule.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides