Class TimestampArray.Builder (0.13.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.contentwarehouse.v1.TimestampValue>
Returns
TypeDescription
TimestampArray.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TimestampArray.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestampValue
Returns
TypeDescription
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
NameDescription
builderForValueTimestampValue.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTimestampValue
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTimestampValue.Builder
Returns
TypeDescription
TimestampArray.Builder

addValuesBuilder()

public TimestampValue.Builder addValuesBuilder()

List of timestamp values.

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

Returns
TypeDescription
TimestampValue.Builder

addValuesBuilder(int index)

public TimestampValue.Builder addValuesBuilder(int index)

List of timestamp values.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TimestampValue.Builder

build()

public TimestampArray build()
Returns
TypeDescription
TimestampArray

buildPartial()

public TimestampArray buildPartial()
Returns
TypeDescription
TimestampArray

clear()

public TimestampArray.Builder clear()
Returns
TypeDescription
TimestampArray.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TimestampArray.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TimestampArray.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TimestampArray.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TimestampArray.Builder
Overrides

clearValues()

public TimestampArray.Builder clearValues()

List of timestamp values.

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

Returns
TypeDescription
TimestampArray.Builder

clone()

public TimestampArray.Builder clone()
Returns
TypeDescription
TimestampArray.Builder
Overrides

getDefaultInstanceForType()

public TimestampArray getDefaultInstanceForType()
Returns
TypeDescription
TimestampArray

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getValues(int index)

public TimestampValue getValues(int index)

List of timestamp values.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TimestampValue

getValuesBuilder(int index)

public TimestampValue.Builder getValuesBuilder(int index)

List of timestamp values.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TimestampValue.Builder

getValuesBuilderList()

public List<TimestampValue.Builder> getValuesBuilderList()

List of timestamp values.

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

Returns
TypeDescription
List<Builder>

getValuesCount()

public int getValuesCount()

List of timestamp values.

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

Returns
TypeDescription
int

getValuesList()

public List<TimestampValue> getValuesList()

List of timestamp values.

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

Returns
TypeDescription
List<TimestampValue>

getValuesOrBuilder(int index)

public TimestampValueOrBuilder getValuesOrBuilder(int index)

List of timestamp values.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TimestampValueOrBuilder

getValuesOrBuilderList()

public List<? extends TimestampValueOrBuilder> getValuesOrBuilderList()

List of timestamp values.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TimestampArray other)

public TimestampArray.Builder mergeFrom(TimestampArray other)
Parameter
NameDescription
otherTimestampArray
Returns
TypeDescription
TimestampArray.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TimestampArray.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimestampArray.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TimestampArray.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TimestampArray.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimestampArray.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TimestampArray.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TimestampArray.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TimestampArray.Builder
Overrides

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

public TimestampArray.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TimestampArray.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TimestampArray.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueTimestampValue
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTimestampValue.Builder
Returns
TypeDescription
TimestampArray.Builder