Class TimestampArray.Builder (0.41.0)

public static final class TimestampArray.Builder extends GeneratedMessageV3.Builder<TimestampArray.Builder> implements TimestampArrayOrBuilder

Timestamp values.

Protobuf type google.cloud.contentwarehouse.v1.TimestampArray

Static Methods

getDescriptor()

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

Methods

addAllValues(Iterable<? extends TimestampValue> values)

public TimestampArray.Builder addAllValues(Iterable<? extends TimestampValue> values)

List of timestamp values.

repeated .google.cloud.contentwarehouse.v1.TimestampValue values = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.contentwarehouse.v1.TimestampValue>
Returns
Type Description
TimestampArray.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addValues(TimestampValue value)

public TimestampArray.Builder addValues(TimestampValue value)

List of timestamp values.

repeated .google.cloud.contentwarehouse.v1.TimestampValue values = 1;

Parameter
Name Description
value TimestampValue
Returns
Type Description
TimestampArray.Builder

addValues(TimestampValue.Builder builderForValue)

public TimestampArray.Builder addValues(TimestampValue.Builder builderForValue)

List of timestamp values.

repeated .google.cloud.contentwarehouse.v1.TimestampValue values = 1;

Parameter
Name Description
builderForValue TimestampValue.Builder
Returns
Type Description
TimestampArray.Builder

addValues(int index, TimestampValue value)

public TimestampArray.Builder addValues(int index, TimestampValue value)

List of timestamp values.

repeated .google.cloud.contentwarehouse.v1.TimestampValue values = 1;

Parameters
Name Description
index int
value TimestampValue
Returns
Type Description
TimestampArray.Builder

addValues(int index, TimestampValue.Builder builderForValue)

public TimestampArray.Builder addValues(int index, TimestampValue.Builder builderForValue)

List of timestamp values.

repeated .google.cloud.contentwarehouse.v1.TimestampValue values = 1;

Parameters
Name Description
index int
builderForValue TimestampValue.Builder
Returns
Type Description
TimestampArray.Builder

addValuesBuilder()

public TimestampValue.Builder addValuesBuilder()

List of timestamp values.

repeated .google.cloud.contentwarehouse.v1.TimestampValue values = 1;

Returns
Type Description
TimestampValue.Builder

addValuesBuilder(int index)

public TimestampValue.Builder addValuesBuilder(int index)

List of timestamp values.

repeated .google.cloud.contentwarehouse.v1.TimestampValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
TimestampValue.Builder

build()

public TimestampArray build()
Returns
Type Description
TimestampArray

buildPartial()

public TimestampArray buildPartial()
Returns
Type Description
TimestampArray

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValues()

public TimestampArray.Builder clearValues()

List of timestamp values.

repeated .google.cloud.contentwarehouse.v1.TimestampValue values = 1;

Returns
Type Description
TimestampArray.Builder

clone()

public TimestampArray.Builder clone()
Returns
Type Description
TimestampArray.Builder
Overrides

getDefaultInstanceForType()

public TimestampArray getDefaultInstanceForType()
Returns
Type Description
TimestampArray

getDescriptorForType()

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

getValues(int index)

public TimestampValue getValues(int index)

List of timestamp values.

repeated .google.cloud.contentwarehouse.v1.TimestampValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
TimestampValue

getValuesBuilder(int index)

public TimestampValue.Builder getValuesBuilder(int index)

List of timestamp values.

repeated .google.cloud.contentwarehouse.v1.TimestampValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
TimestampValue.Builder

getValuesBuilderList()

public List<TimestampValue.Builder> getValuesBuilderList()

List of timestamp values.

repeated .google.cloud.contentwarehouse.v1.TimestampValue values = 1;

Returns
Type Description
List<Builder>

getValuesCount()

public int getValuesCount()

List of timestamp values.

repeated .google.cloud.contentwarehouse.v1.TimestampValue values = 1;

Returns
Type Description
int

getValuesList()

public List<TimestampValue> getValuesList()

List of timestamp values.

repeated .google.cloud.contentwarehouse.v1.TimestampValue values = 1;

Returns
Type Description
List<TimestampValue>

getValuesOrBuilder(int index)

public TimestampValueOrBuilder getValuesOrBuilder(int index)

List of timestamp values.

repeated .google.cloud.contentwarehouse.v1.TimestampValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
TimestampValueOrBuilder

getValuesOrBuilderList()

public List<? extends TimestampValueOrBuilder> getValuesOrBuilderList()

List of timestamp values.

repeated .google.cloud.contentwarehouse.v1.TimestampValue values = 1;

Returns
Type Description
List<? extends com.google.cloud.contentwarehouse.v1.TimestampValueOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TimestampArray other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimestampArray.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TimestampArray.Builder
Overrides

removeValues(int index)

public TimestampArray.Builder removeValues(int index)

List of timestamp values.

repeated .google.cloud.contentwarehouse.v1.TimestampValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
TimestampArray.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValues(int index, TimestampValue value)

public TimestampArray.Builder setValues(int index, TimestampValue value)

List of timestamp values.

repeated .google.cloud.contentwarehouse.v1.TimestampValue values = 1;

Parameters
Name Description
index int
value TimestampValue
Returns
Type Description
TimestampArray.Builder

setValues(int index, TimestampValue.Builder builderForValue)

public TimestampArray.Builder setValues(int index, TimestampValue.Builder builderForValue)

List of timestamp values.

repeated .google.cloud.contentwarehouse.v1.TimestampValue values = 1;

Parameters
Name Description
index int
builderForValue TimestampValue.Builder
Returns
Type Description
TimestampArray.Builder