- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public static final class OneTimeWindow.Builder extends GeneratedMessageV3.Builder<OneTimeWindow.Builder> implements OneTimeWindowOrBuilder
One-time window within which actions are restricted. For example, blocking actions over New Year's Eve from December 31st at 5pm to January 1st at 9am.
Protobuf type google.cloud.deploy.v1.OneTimeWindow
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OneTimeWindow.BuilderImplements
OneTimeWindowOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OneTimeWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
build()
public OneTimeWindow build()
Returns | |
---|---|
Type | Description |
OneTimeWindow |
buildPartial()
public OneTimeWindow buildPartial()
Returns | |
---|---|
Type | Description |
OneTimeWindow |
clear()
public OneTimeWindow.Builder clear()
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
clearEndDate()
public OneTimeWindow.Builder clearEndDate()
Required. End date.
.google.type.Date end_date = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
clearEndTime()
public OneTimeWindow.Builder clearEndTime()
Required. End time (exclusive). You may use 24:00 for the end of the day.
.google.type.TimeOfDay end_time = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
clearField(Descriptors.FieldDescriptor field)
public OneTimeWindow.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public OneTimeWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
clearStartDate()
public OneTimeWindow.Builder clearStartDate()
Required. Start date.
.google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
clearStartTime()
public OneTimeWindow.Builder clearStartTime()
Required. Start time (inclusive). Use 00:00 for the beginning of the day.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
clone()
public OneTimeWindow.Builder clone()
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
getDefaultInstanceForType()
public OneTimeWindow getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
OneTimeWindow |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEndDate()
public Date getEndDate()
Required. End date.
.google.type.Date end_date = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
com.google.type.Date |
The endDate. |
getEndDateBuilder()
public Date.Builder getEndDateBuilder()
Required. End date.
.google.type.Date end_date = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
com.google.type.Date.Builder |
getEndDateOrBuilder()
public DateOrBuilder getEndDateOrBuilder()
Required. End date.
.google.type.Date end_date = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
com.google.type.DateOrBuilder |
getEndTime()
public TimeOfDay getEndTime()
Required. End time (exclusive). You may use 24:00 for the end of the day.
.google.type.TimeOfDay end_time = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
com.google.type.TimeOfDay |
The endTime. |
getEndTimeBuilder()
public TimeOfDay.Builder getEndTimeBuilder()
Required. End time (exclusive). You may use 24:00 for the end of the day.
.google.type.TimeOfDay end_time = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
com.google.type.TimeOfDay.Builder |
getEndTimeOrBuilder()
public TimeOfDayOrBuilder getEndTimeOrBuilder()
Required. End time (exclusive). You may use 24:00 for the end of the day.
.google.type.TimeOfDay end_time = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
com.google.type.TimeOfDayOrBuilder |
getStartDate()
public Date getStartDate()
Required. Start date.
.google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
com.google.type.Date |
The startDate. |
getStartDateBuilder()
public Date.Builder getStartDateBuilder()
Required. Start date.
.google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
com.google.type.Date.Builder |
getStartDateOrBuilder()
public DateOrBuilder getStartDateOrBuilder()
Required. Start date.
.google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
com.google.type.DateOrBuilder |
getStartTime()
public TimeOfDay getStartTime()
Required. Start time (inclusive). Use 00:00 for the beginning of the day.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
com.google.type.TimeOfDay |
The startTime. |
getStartTimeBuilder()
public TimeOfDay.Builder getStartTimeBuilder()
Required. Start time (inclusive). Use 00:00 for the beginning of the day.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
com.google.type.TimeOfDay.Builder |
getStartTimeOrBuilder()
public TimeOfDayOrBuilder getStartTimeOrBuilder()
Required. Start time (inclusive). Use 00:00 for the beginning of the day.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
com.google.type.TimeOfDayOrBuilder |
hasEndDate()
public boolean hasEndDate()
Required. End date.
.google.type.Date end_date = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the endDate field is set. |
hasEndTime()
public boolean hasEndTime()
Required. End time (exclusive). You may use 24:00 for the end of the day.
.google.type.TimeOfDay end_time = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the endTime field is set. |
hasStartDate()
public boolean hasStartDate()
Required. Start date.
.google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the startDate field is set. |
hasStartTime()
public boolean hasStartTime()
Required. Start time (inclusive). Use 00:00 for the beginning of the day.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeEndDate(Date value)
public OneTimeWindow.Builder mergeEndDate(Date value)
Required. End date.
.google.type.Date end_date = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Date |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
mergeEndTime(TimeOfDay value)
public OneTimeWindow.Builder mergeEndTime(TimeOfDay value)
Required. End time (exclusive). You may use 24:00 for the end of the day.
.google.type.TimeOfDay end_time = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.TimeOfDay |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
mergeFrom(OneTimeWindow other)
public OneTimeWindow.Builder mergeFrom(OneTimeWindow other)
Parameter | |
---|---|
Name | Description |
other |
OneTimeWindow |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OneTimeWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public OneTimeWindow.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
mergeStartDate(Date value)
public OneTimeWindow.Builder mergeStartDate(Date value)
Required. Start date.
.google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Date |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
mergeStartTime(TimeOfDay value)
public OneTimeWindow.Builder mergeStartTime(TimeOfDay value)
Required. Start time (inclusive). Use 00:00 for the beginning of the day.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.TimeOfDay |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OneTimeWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
setEndDate(Date value)
public OneTimeWindow.Builder setEndDate(Date value)
Required. End date.
.google.type.Date end_date = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Date |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
setEndDate(Date.Builder builderForValue)
public OneTimeWindow.Builder setEndDate(Date.Builder builderForValue)
Required. End date.
.google.type.Date end_date = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.type.Date.Builder |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
setEndTime(TimeOfDay value)
public OneTimeWindow.Builder setEndTime(TimeOfDay value)
Required. End time (exclusive). You may use 24:00 for the end of the day.
.google.type.TimeOfDay end_time = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.TimeOfDay |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
setEndTime(TimeOfDay.Builder builderForValue)
public OneTimeWindow.Builder setEndTime(TimeOfDay.Builder builderForValue)
Required. End time (exclusive). You may use 24:00 for the end of the day.
.google.type.TimeOfDay end_time = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.type.TimeOfDay.Builder |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public OneTimeWindow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OneTimeWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
setStartDate(Date value)
public OneTimeWindow.Builder setStartDate(Date value)
Required. Start date.
.google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Date |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
setStartDate(Date.Builder builderForValue)
public OneTimeWindow.Builder setStartDate(Date.Builder builderForValue)
Required. Start date.
.google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.type.Date.Builder |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
setStartTime(TimeOfDay value)
public OneTimeWindow.Builder setStartTime(TimeOfDay value)
Required. Start time (inclusive). Use 00:00 for the beginning of the day.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.TimeOfDay |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
setStartTime(TimeOfDay.Builder builderForValue)
public OneTimeWindow.Builder setStartTime(TimeOfDay.Builder builderForValue)
Required. Start time (inclusive). Use 00:00 for the beginning of the day.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.type.TimeOfDay.Builder |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final OneTimeWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OneTimeWindow.Builder |