public final class DateTimeArray extends GeneratedMessageV3 implements DateTimeArrayOrBuilder
DateTime values.
Protobuf type google.cloud.contentwarehouse.v1.DateTimeArray
Static Fields
VALUES_FIELD_NUMBER
public static final int VALUES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DateTimeArray getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DateTimeArray.Builder newBuilder()
Returns
newBuilder(DateTimeArray prototype)
public static DateTimeArray.Builder newBuilder(DateTimeArray prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static DateTimeArray parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DateTimeArray parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DateTimeArray parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DateTimeArray parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DateTimeArray parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DateTimeArray parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static DateTimeArray parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DateTimeArray parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static DateTimeArray parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DateTimeArray parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DateTimeArray parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DateTimeArray parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DateTimeArray> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DateTimeArray getDefaultInstanceForType()
Returns
getParserForType()
public Parser<DateTimeArray> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getValues(int index)
public DateTime getValues(int index)
List of datetime values.
Both OffsetDateTime and ZonedDateTime are supported.
repeated .google.type.DateTime values = 1;
Parameter
Returns
Type | Description |
com.google.type.DateTime | |
getValuesCount()
public int getValuesCount()
List of datetime values.
Both OffsetDateTime and ZonedDateTime are supported.
repeated .google.type.DateTime values = 1;
Returns
getValuesList()
public List<DateTime> getValuesList()
List of datetime values.
Both OffsetDateTime and ZonedDateTime are supported.
repeated .google.type.DateTime values = 1;
Returns
Type | Description |
List<com.google.type.DateTime> | |
getValuesOrBuilder(int index)
public DateTimeOrBuilder getValuesOrBuilder(int index)
List of datetime values.
Both OffsetDateTime and ZonedDateTime are supported.
repeated .google.type.DateTime values = 1;
Parameter
Returns
Type | Description |
com.google.type.DateTimeOrBuilder | |
getValuesOrBuilderList()
public List<? extends DateTimeOrBuilder> getValuesOrBuilderList()
List of datetime values.
Both OffsetDateTime and ZonedDateTime are supported.
repeated .google.type.DateTime values = 1;
Returns
Type | Description |
List<? extends com.google.type.DateTimeOrBuilder> | |
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DateTimeArray.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DateTimeArray.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DateTimeArray.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions