public static final class DateTimeRange.Builder extends GeneratedMessageV3.Builder<DateTimeRange.Builder> implements DateTimeRangeOrBuilder
Datetime range type.
Protobuf type google.cloud.visionai.v1.DateTimeRange
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DateTimeRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DateTimeRange build()
buildPartial()
public DateTimeRange buildPartial()
clear()
public DateTimeRange.Builder clear()
Overrides
clearEnd()
public DateTimeRange.Builder clearEnd()
End data time.
.google.type.DateTime end = 2;
clearField(Descriptors.FieldDescriptor field)
public DateTimeRange.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DateTimeRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStart()
public DateTimeRange.Builder clearStart()
Start date time.
.google.type.DateTime start = 1;
clone()
public DateTimeRange.Builder clone()
Overrides
getDefaultInstanceForType()
public DateTimeRange getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnd()
End data time.
.google.type.DateTime end = 2;
Returns |
Type |
Description |
com.google.type.DateTime |
The end.
|
getEndBuilder()
public DateTime.Builder getEndBuilder()
End data time.
.google.type.DateTime end = 2;
Returns |
Type |
Description |
com.google.type.DateTime.Builder |
|
getEndOrBuilder()
public DateTimeOrBuilder getEndOrBuilder()
End data time.
.google.type.DateTime end = 2;
Returns |
Type |
Description |
com.google.type.DateTimeOrBuilder |
|
getStart()
public DateTime getStart()
Start date time.
.google.type.DateTime start = 1;
Returns |
Type |
Description |
com.google.type.DateTime |
The start.
|
getStartBuilder()
public DateTime.Builder getStartBuilder()
Start date time.
.google.type.DateTime start = 1;
Returns |
Type |
Description |
com.google.type.DateTime.Builder |
|
getStartOrBuilder()
public DateTimeOrBuilder getStartOrBuilder()
Start date time.
.google.type.DateTime start = 1;
Returns |
Type |
Description |
com.google.type.DateTimeOrBuilder |
|
hasEnd()
End data time.
.google.type.DateTime end = 2;
Returns |
Type |
Description |
boolean |
Whether the end field is set.
|
hasStart()
public boolean hasStart()
Start date time.
.google.type.DateTime start = 1;
Returns |
Type |
Description |
boolean |
Whether the start field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeEnd(DateTime value)
public DateTimeRange.Builder mergeEnd(DateTime value)
End data time.
.google.type.DateTime end = 2;
Parameter |
Name |
Description |
value |
com.google.type.DateTime
|
mergeFrom(DateTimeRange other)
public DateTimeRange.Builder mergeFrom(DateTimeRange other)
public DateTimeRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DateTimeRange.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeStart(DateTime value)
public DateTimeRange.Builder mergeStart(DateTime value)
Start date time.
.google.type.DateTime start = 1;
Parameter |
Name |
Description |
value |
com.google.type.DateTime
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DateTimeRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEnd(DateTime value)
public DateTimeRange.Builder setEnd(DateTime value)
End data time.
.google.type.DateTime end = 2;
Parameter |
Name |
Description |
value |
com.google.type.DateTime
|
setEnd(DateTime.Builder builderForValue)
public DateTimeRange.Builder setEnd(DateTime.Builder builderForValue)
End data time.
.google.type.DateTime end = 2;
Parameter |
Name |
Description |
builderForValue |
com.google.type.DateTime.Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public DateTimeRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DateTimeRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStart(DateTime value)
public DateTimeRange.Builder setStart(DateTime value)
Start date time.
.google.type.DateTime start = 1;
Parameter |
Name |
Description |
value |
com.google.type.DateTime
|
setStart(DateTime.Builder builderForValue)
public DateTimeRange.Builder setStart(DateTime.Builder builderForValue)
Start date time.
.google.type.DateTime start = 1;
Parameter |
Name |
Description |
builderForValue |
com.google.type.DateTime.Builder
|
setUnknownFields(UnknownFieldSet unknownFields)
public final DateTimeRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides