Class DateTimeRangeArray (0.1.0)

public final class DateTimeRangeArray extends GeneratedMessageV3 implements DateTimeRangeArrayOrBuilder

A list of datetime range values.

Protobuf type google.cloud.visionai.v1.DateTimeRangeArray

Static Fields

DATE_TIME_RANGES_FIELD_NUMBER

public static final int DATE_TIME_RANGES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DateTimeRangeArray getDefaultInstance()
Returns
Type Description
DateTimeRangeArray

getDescriptor()

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

newBuilder()

public static DateTimeRangeArray.Builder newBuilder()
Returns
Type Description
DateTimeRangeArray.Builder

newBuilder(DateTimeRangeArray prototype)

public static DateTimeRangeArray.Builder newBuilder(DateTimeRangeArray prototype)
Parameter
Name Description
prototype DateTimeRangeArray
Returns
Type Description
DateTimeRangeArray.Builder

parseDelimitedFrom(InputStream input)

public static DateTimeRangeArray parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DateTimeRangeArray
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DateTimeRangeArray parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DateTimeRangeArray
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DateTimeRangeArray parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DateTimeRangeArray
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DateTimeRangeArray parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DateTimeRangeArray
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DateTimeRangeArray parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DateTimeRangeArray
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DateTimeRangeArray parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DateTimeRangeArray
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DateTimeRangeArray parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DateTimeRangeArray
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DateTimeRangeArray parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DateTimeRangeArray
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DateTimeRangeArray parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DateTimeRangeArray
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DateTimeRangeArray parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DateTimeRangeArray
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DateTimeRangeArray parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DateTimeRangeArray
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DateTimeRangeArray parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DateTimeRangeArray
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DateTimeRangeArray> parser()
Returns
Type Description
Parser<DateTimeRangeArray>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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

getParserForType()

public Parser<DateTimeRangeArray> getParserForType()
Returns
Type Description
Parser<DateTimeRangeArray>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DateTimeRangeArray.Builder newBuilderForType()
Returns
Type Description
DateTimeRangeArray.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DateTimeRangeArray.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DateTimeRangeArray.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DateTimeRangeArray.Builder toBuilder()
Returns
Type Description
DateTimeRangeArray.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException