public static final class DateTimeRangeArray.Builder extends GeneratedMessageV3.Builder<DateTimeRangeArray.Builder> implements DateTimeRangeArrayOrBuilder
A list of datetime range values.
Protobuf type google.cloud.visionai.v1.DateTimeRangeArray
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
addAllDateTimeRanges(Iterable<? extends DateTimeRange> values)
public DateTimeRangeArray.Builder addAllDateTimeRanges(Iterable<? extends DateTimeRange> values)
Date time ranges.
repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.visionai.v1.DateTimeRange>
|
addDateTimeRanges(DateTimeRange value)
public DateTimeRangeArray.Builder addDateTimeRanges(DateTimeRange value)
Date time ranges.
repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;
addDateTimeRanges(DateTimeRange.Builder builderForValue)
public DateTimeRangeArray.Builder addDateTimeRanges(DateTimeRange.Builder builderForValue)
Date time ranges.
repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;
addDateTimeRanges(int index, DateTimeRange value)
public DateTimeRangeArray.Builder addDateTimeRanges(int index, DateTimeRange value)
Date time ranges.
repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;
addDateTimeRanges(int index, DateTimeRange.Builder builderForValue)
public DateTimeRangeArray.Builder addDateTimeRanges(int index, DateTimeRange.Builder builderForValue)
Date time ranges.
repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;
addDateTimeRangesBuilder()
public DateTimeRange.Builder addDateTimeRangesBuilder()
Date time ranges.
repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;
addDateTimeRangesBuilder(int index)
public DateTimeRange.Builder addDateTimeRangesBuilder(int index)
Date time ranges.
repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DateTimeRangeArray.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DateTimeRangeArray build()
buildPartial()
public DateTimeRangeArray buildPartial()
clear()
public DateTimeRangeArray.Builder clear()
Overrides
clearDateTimeRanges()
public DateTimeRangeArray.Builder clearDateTimeRanges()
Date time ranges.
repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;
clearField(Descriptors.FieldDescriptor field)
public DateTimeRangeArray.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DateTimeRangeArray.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DateTimeRangeArray.Builder clone()
Overrides
getDateTimeRanges(int index)
public DateTimeRange getDateTimeRanges(int index)
Date time ranges.
repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;
Parameter |
Name |
Description |
index |
int
|
getDateTimeRangesBuilder(int index)
public DateTimeRange.Builder getDateTimeRangesBuilder(int index)
Date time ranges.
repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;
Parameter |
Name |
Description |
index |
int
|
getDateTimeRangesBuilderList()
public List<DateTimeRange.Builder> getDateTimeRangesBuilderList()
Date time ranges.
repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;
getDateTimeRangesCount()
public int getDateTimeRangesCount()
Date time ranges.
repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;
Returns |
Type |
Description |
int |
|
getDateTimeRangesList()
public List<DateTimeRange> getDateTimeRangesList()
Date time ranges.
repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;
getDateTimeRangesOrBuilder(int index)
public DateTimeRangeOrBuilder getDateTimeRangesOrBuilder(int index)
Date time ranges.
repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;
Parameter |
Name |
Description |
index |
int
|
getDateTimeRangesOrBuilderList()
public List<? extends DateTimeRangeOrBuilder> getDateTimeRangesOrBuilderList()
Date time ranges.
repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.visionai.v1.DateTimeRangeOrBuilder> |
|
getDefaultInstanceForType()
public DateTimeRangeArray getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DateTimeRangeArray other)
public DateTimeRangeArray.Builder mergeFrom(DateTimeRangeArray other)
public DateTimeRangeArray.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DateTimeRangeArray.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DateTimeRangeArray.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeDateTimeRanges(int index)
public DateTimeRangeArray.Builder removeDateTimeRanges(int index)
Date time ranges.
repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;
Parameter |
Name |
Description |
index |
int
|
setDateTimeRanges(int index, DateTimeRange value)
public DateTimeRangeArray.Builder setDateTimeRanges(int index, DateTimeRange value)
Date time ranges.
repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;
setDateTimeRanges(int index, DateTimeRange.Builder builderForValue)
public DateTimeRangeArray.Builder setDateTimeRanges(int index, DateTimeRange.Builder builderForValue)
Date time ranges.
repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public DateTimeRangeArray.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DateTimeRangeArray.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DateTimeRangeArray.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides