- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
public static final class PatchDeployments.WeekDayOfMonth.Builder extends GeneratedMessageV3.Builder<PatchDeployments.WeekDayOfMonth.Builder> implements PatchDeployments.WeekDayOfMonthOrBuilder
Represents one week day in a month. An example is "the 4th Sunday".
Protobuf type google.cloud.osconfig.v1beta.WeekDayOfMonth
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PatchDeployments.WeekDayOfMonth.BuilderImplements
PatchDeployments.WeekDayOfMonthOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PatchDeployments.WeekDayOfMonth.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PatchDeployments.WeekDayOfMonth.Builder |
build()
public PatchDeployments.WeekDayOfMonth build()
Type | Description |
PatchDeployments.WeekDayOfMonth |
buildPartial()
public PatchDeployments.WeekDayOfMonth buildPartial()
Type | Description |
PatchDeployments.WeekDayOfMonth |
clear()
public PatchDeployments.WeekDayOfMonth.Builder clear()
Type | Description |
PatchDeployments.WeekDayOfMonth.Builder |
clearDayOfWeek()
public PatchDeployments.WeekDayOfMonth.Builder clearDayOfWeek()
Required. A day of the week.
.google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
PatchDeployments.WeekDayOfMonth.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PatchDeployments.WeekDayOfMonth.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PatchDeployments.WeekDayOfMonth.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PatchDeployments.WeekDayOfMonth.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PatchDeployments.WeekDayOfMonth.Builder |
clearWeekOrdinal()
public PatchDeployments.WeekDayOfMonth.Builder clearWeekOrdinal()
Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month.
int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
PatchDeployments.WeekDayOfMonth.Builder | This builder for chaining. |
clone()
public PatchDeployments.WeekDayOfMonth.Builder clone()
Type | Description |
PatchDeployments.WeekDayOfMonth.Builder |
getDayOfWeek()
public DayOfWeek getDayOfWeek()
Required. A day of the week.
.google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
com.google.type.DayOfWeek | The dayOfWeek. |
getDayOfWeekValue()
public int getDayOfWeekValue()
Required. A day of the week.
.google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The enum numeric value on the wire for dayOfWeek. |
getDefaultInstanceForType()
public PatchDeployments.WeekDayOfMonth getDefaultInstanceForType()
Type | Description |
PatchDeployments.WeekDayOfMonth |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getWeekOrdinal()
public int getWeekOrdinal()
Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month.
int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The weekOrdinal. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(PatchDeployments.WeekDayOfMonth other)
public PatchDeployments.WeekDayOfMonth.Builder mergeFrom(PatchDeployments.WeekDayOfMonth other)
Name | Description |
other | PatchDeployments.WeekDayOfMonth |
Type | Description |
PatchDeployments.WeekDayOfMonth.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PatchDeployments.WeekDayOfMonth.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PatchDeployments.WeekDayOfMonth.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PatchDeployments.WeekDayOfMonth.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PatchDeployments.WeekDayOfMonth.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PatchDeployments.WeekDayOfMonth.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PatchDeployments.WeekDayOfMonth.Builder |
setDayOfWeek(DayOfWeek value)
public PatchDeployments.WeekDayOfMonth.Builder setDayOfWeek(DayOfWeek value)
Required. A day of the week.
.google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | com.google.type.DayOfWeek The dayOfWeek to set. |
Type | Description |
PatchDeployments.WeekDayOfMonth.Builder | This builder for chaining. |
setDayOfWeekValue(int value)
public PatchDeployments.WeekDayOfMonth.Builder setDayOfWeekValue(int value)
Required. A day of the week.
.google.type.DayOfWeek day_of_week = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The enum numeric value on the wire for dayOfWeek to set. |
Type | Description |
PatchDeployments.WeekDayOfMonth.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PatchDeployments.WeekDayOfMonth.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PatchDeployments.WeekDayOfMonth.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PatchDeployments.WeekDayOfMonth.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PatchDeployments.WeekDayOfMonth.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PatchDeployments.WeekDayOfMonth.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PatchDeployments.WeekDayOfMonth.Builder |
setWeekOrdinal(int value)
public PatchDeployments.WeekDayOfMonth.Builder setWeekOrdinal(int value)
Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month.
int32 week_ordinal = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The weekOrdinal to set. |
Type | Description |
PatchDeployments.WeekDayOfMonth.Builder | This builder for chaining. |