Class DateTimeRangeArray.Builder (0.3.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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>
Returns
Type Description
DateTimeRangeArray.Builder

addDateTimeRanges(DateTimeRange value)

public DateTimeRangeArray.Builder addDateTimeRanges(DateTimeRange value)

Date time ranges.

repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;

Parameter
Name Description
value DateTimeRange
Returns
Type Description
DateTimeRangeArray.Builder

addDateTimeRanges(DateTimeRange.Builder builderForValue)

public DateTimeRangeArray.Builder addDateTimeRanges(DateTimeRange.Builder builderForValue)

Date time ranges.

repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;

Parameter
Name Description
builderForValue DateTimeRange.Builder
Returns
Type Description
DateTimeRangeArray.Builder

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;

Parameters
Name Description
index int
value DateTimeRange
Returns
Type Description
DateTimeRangeArray.Builder

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;

Parameters
Name Description
index int
builderForValue DateTimeRange.Builder
Returns
Type Description
DateTimeRangeArray.Builder

addDateTimeRangesBuilder()

public DateTimeRange.Builder addDateTimeRangesBuilder()

Date time ranges.

repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;

Returns
Type Description
DateTimeRange.Builder

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
Returns
Type Description
DateTimeRange.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DateTimeRangeArray.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DateTimeRangeArray.Builder
Overrides

build()

public DateTimeRangeArray build()
Returns
Type Description
DateTimeRangeArray

buildPartial()

public DateTimeRangeArray buildPartial()
Returns
Type Description
DateTimeRangeArray

clear()

public DateTimeRangeArray.Builder clear()
Returns
Type Description
DateTimeRangeArray.Builder
Overrides

clearDateTimeRanges()

public DateTimeRangeArray.Builder clearDateTimeRanges()

Date time ranges.

repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;

Returns
Type Description
DateTimeRangeArray.Builder

clearField(Descriptors.FieldDescriptor field)

public DateTimeRangeArray.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DateTimeRangeArray.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DateTimeRangeArray.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DateTimeRangeArray.Builder
Overrides

clone()

public DateTimeRangeArray.Builder clone()
Returns
Type Description
DateTimeRangeArray.Builder
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
Returns
Type Description
DateTimeRange

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
Returns
Type Description
DateTimeRange.Builder

getDateTimeRangesBuilderList()

public List<DateTimeRange.Builder> getDateTimeRangesBuilderList()

Date time ranges.

repeated .google.cloud.visionai.v1.DateTimeRange date_time_ranges = 1;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
List<DateTimeRange>

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
Returns
Type Description
DateTimeRangeOrBuilder

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()
Returns
Type Description
DateTimeRangeArray

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DateTimeRangeArray other)

public DateTimeRangeArray.Builder mergeFrom(DateTimeRangeArray other)
Parameter
Name Description
other DateTimeRangeArray
Returns
Type Description
DateTimeRangeArray.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DateTimeRangeArray.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DateTimeRangeArray.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DateTimeRangeArray.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DateTimeRangeArray.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DateTimeRangeArray.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DateTimeRangeArray.Builder
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
Returns
Type Description
DateTimeRangeArray.Builder

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;

Parameters
Name Description
index int
value DateTimeRange
Returns
Type Description
DateTimeRangeArray.Builder

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;

Parameters
Name Description
index int
builderForValue DateTimeRange.Builder
Returns
Type Description
DateTimeRangeArray.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DateTimeRangeArray.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DateTimeRangeArray.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DateTimeRangeArray.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DateTimeRangeArray.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DateTimeRangeArray.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DateTimeRangeArray.Builder
Overrides