- 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.1
- 2.4.0
- 2.3.0
- 2.2.3
- 2.1.0
- 2.0.19
public static final class Condition.TimeRange.Builder extends GeneratedMessageV3.Builder<Condition.TimeRange.Builder> implements Condition.TimeRangeOrBuilder
Used for time-dependent conditions. Example: Want to have rule applied for week long sale.
Protobuf type google.cloud.retail.v2alpha.Condition.TimeRange
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Condition.TimeRange.BuilderImplements
Condition.TimeRangeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Condition.TimeRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Condition.TimeRange.Builder |
build()
public Condition.TimeRange build()
Type | Description |
Condition.TimeRange |
buildPartial()
public Condition.TimeRange buildPartial()
Type | Description |
Condition.TimeRange |
clear()
public Condition.TimeRange.Builder clear()
Type | Description |
Condition.TimeRange.Builder |
clearEndTime()
public Condition.TimeRange.Builder clearEndTime()
End of time range. Range is inclusive.
.google.protobuf.Timestamp end_time = 2;
Type | Description |
Condition.TimeRange.Builder |
clearField(Descriptors.FieldDescriptor field)
public Condition.TimeRange.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Condition.TimeRange.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Condition.TimeRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Condition.TimeRange.Builder |
clearStartTime()
public Condition.TimeRange.Builder clearStartTime()
Start of time range. Range is inclusive.
.google.protobuf.Timestamp start_time = 1;
Type | Description |
Condition.TimeRange.Builder |
clone()
public Condition.TimeRange.Builder clone()
Type | Description |
Condition.TimeRange.Builder |
getDefaultInstanceForType()
public Condition.TimeRange getDefaultInstanceForType()
Type | Description |
Condition.TimeRange |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
End of time range. Range is inclusive.
.google.protobuf.Timestamp end_time = 2;
Type | Description |
Timestamp | The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
End of time range. Range is inclusive.
.google.protobuf.Timestamp end_time = 2;
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
End of time range. Range is inclusive.
.google.protobuf.Timestamp end_time = 2;
Type | Description |
TimestampOrBuilder |
getStartTime()
public Timestamp getStartTime()
Start of time range. Range is inclusive.
.google.protobuf.Timestamp start_time = 1;
Type | Description |
Timestamp | The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Start of time range. Range is inclusive.
.google.protobuf.Timestamp start_time = 1;
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Start of time range. Range is inclusive.
.google.protobuf.Timestamp start_time = 1;
Type | Description |
TimestampOrBuilder |
hasEndTime()
public boolean hasEndTime()
End of time range. Range is inclusive.
.google.protobuf.Timestamp end_time = 2;
Type | Description |
boolean | Whether the endTime field is set. |
hasStartTime()
public boolean hasStartTime()
Start of time range. Range is inclusive.
.google.protobuf.Timestamp start_time = 1;
Type | Description |
boolean | Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeEndTime(Timestamp value)
public Condition.TimeRange.Builder mergeEndTime(Timestamp value)
End of time range. Range is inclusive.
.google.protobuf.Timestamp end_time = 2;
Name | Description |
value | Timestamp |
Type | Description |
Condition.TimeRange.Builder |
mergeFrom(Condition.TimeRange other)
public Condition.TimeRange.Builder mergeFrom(Condition.TimeRange other)
Name | Description |
other | Condition.TimeRange |
Type | Description |
Condition.TimeRange.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Condition.TimeRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Condition.TimeRange.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Condition.TimeRange.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Condition.TimeRange.Builder |
mergeStartTime(Timestamp value)
public Condition.TimeRange.Builder mergeStartTime(Timestamp value)
Start of time range. Range is inclusive.
.google.protobuf.Timestamp start_time = 1;
Name | Description |
value | Timestamp |
Type | Description |
Condition.TimeRange.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Condition.TimeRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Condition.TimeRange.Builder |
setEndTime(Timestamp value)
public Condition.TimeRange.Builder setEndTime(Timestamp value)
End of time range. Range is inclusive.
.google.protobuf.Timestamp end_time = 2;
Name | Description |
value | Timestamp |
Type | Description |
Condition.TimeRange.Builder |
setEndTime(Timestamp.Builder builderForValue)
public Condition.TimeRange.Builder setEndTime(Timestamp.Builder builderForValue)
End of time range. Range is inclusive.
.google.protobuf.Timestamp end_time = 2;
Name | Description |
builderForValue | Builder |
Type | Description |
Condition.TimeRange.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Condition.TimeRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Condition.TimeRange.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Condition.TimeRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Condition.TimeRange.Builder |
setStartTime(Timestamp value)
public Condition.TimeRange.Builder setStartTime(Timestamp value)
Start of time range. Range is inclusive.
.google.protobuf.Timestamp start_time = 1;
Name | Description |
value | Timestamp |
Type | Description |
Condition.TimeRange.Builder |
setStartTime(Timestamp.Builder builderForValue)
public Condition.TimeRange.Builder setStartTime(Timestamp.Builder builderForValue)
Start of time range. Range is inclusive.
.google.protobuf.Timestamp start_time = 1;
Name | Description |
builderForValue | Builder |
Type | Description |
Condition.TimeRange.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Condition.TimeRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Condition.TimeRange.Builder |