- 3.87.0 (latest)
- 3.86.0
- 3.85.0
- 3.84.0
- 3.82.0
- 3.80.0
- 3.79.0
- 3.78.0
- 3.77.0
- 3.76.0
- 3.74.0
- 3.72.0
- 3.71.0
- 3.68.0
- 3.67.0
- 3.66.0
- 3.64.0
- 3.63.0
- 3.62.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.2-SNAPSHOT
- 3.6.0
- 3.4.1
- 3.3.1
- 3.2.17
public static final class TimeWindow.Builder extends GeneratedMessage.Builder<TimeWindow.Builder> implements TimeWindowOrBuilder A time window specified by its start_time and end_time.
Protobuf type google.cloud.asset.v1.TimeWindow
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TimeWindow.BuilderImplements
TimeWindowOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public TimeWindow build()| Returns | |
|---|---|
| Type | Description |
TimeWindow |
|
buildPartial()
public TimeWindow buildPartial()| Returns | |
|---|---|
| Type | Description |
TimeWindow |
|
clear()
public TimeWindow.Builder clear()| Returns | |
|---|---|
| Type | Description |
TimeWindow.Builder |
|
clearEndTime()
public TimeWindow.Builder clearEndTime()End time of the time window (inclusive). If not specified, the current timestamp is used instead.
.google.protobuf.Timestamp end_time = 2;
| Returns | |
|---|---|
| Type | Description |
TimeWindow.Builder |
|
clearStartTime()
public TimeWindow.Builder clearStartTime()Start time of the time window (exclusive).
.google.protobuf.Timestamp start_time = 1;
| Returns | |
|---|---|
| Type | Description |
TimeWindow.Builder |
|
getDefaultInstanceForType()
public TimeWindow getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TimeWindow |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndTime()
public Timestamp getEndTime()End time of the time window (inclusive). If not specified, the current timestamp is used instead.
.google.protobuf.Timestamp end_time = 2;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()End time of the time window (inclusive). If not specified, the current timestamp is used instead.
.google.protobuf.Timestamp end_time = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()End time of the time window (inclusive). If not specified, the current timestamp is used instead.
.google.protobuf.Timestamp end_time = 2;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getStartTime()
public Timestamp getStartTime()Start time of the time window (exclusive).
.google.protobuf.Timestamp start_time = 1;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()Start time of the time window (exclusive).
.google.protobuf.Timestamp start_time = 1;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()Start time of the time window (exclusive).
.google.protobuf.Timestamp start_time = 1;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasEndTime()
public boolean hasEndTime()End time of the time window (inclusive). If not specified, the current timestamp is used instead.
.google.protobuf.Timestamp end_time = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endTime field is set. |
hasStartTime()
public boolean hasStartTime()Start time of the time window (exclusive).
.google.protobuf.Timestamp start_time = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEndTime(Timestamp value)
public TimeWindow.Builder mergeEndTime(Timestamp value)End time of the time window (inclusive). If not specified, the current timestamp is used instead.
.google.protobuf.Timestamp end_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
TimeWindow.Builder |
|
mergeFrom(TimeWindow other)
public TimeWindow.Builder mergeFrom(TimeWindow other)| Parameter | |
|---|---|
| Name | Description |
other |
TimeWindow |
| Returns | |
|---|---|
| Type | Description |
TimeWindow.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TimeWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TimeWindow.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TimeWindow.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TimeWindow.Builder |
|
mergeStartTime(Timestamp value)
public TimeWindow.Builder mergeStartTime(Timestamp value)Start time of the time window (exclusive).
.google.protobuf.Timestamp start_time = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
TimeWindow.Builder |
|
setEndTime(Timestamp value)
public TimeWindow.Builder setEndTime(Timestamp value)End time of the time window (inclusive). If not specified, the current timestamp is used instead.
.google.protobuf.Timestamp end_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
TimeWindow.Builder |
|
setEndTime(Timestamp.Builder builderForValue)
public TimeWindow.Builder setEndTime(Timestamp.Builder builderForValue)End time of the time window (inclusive). If not specified, the current timestamp is used instead.
.google.protobuf.Timestamp end_time = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
TimeWindow.Builder |
|
setStartTime(Timestamp value)
public TimeWindow.Builder setStartTime(Timestamp value)Start time of the time window (exclusive).
.google.protobuf.Timestamp start_time = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
TimeWindow.Builder |
|
setStartTime(Timestamp.Builder builderForValue)
public TimeWindow.Builder setStartTime(Timestamp.Builder builderForValue)Start time of the time window (exclusive).
.google.protobuf.Timestamp start_time = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
TimeWindow.Builder |
|