setInstance

open fun setInstance(index: Int, value: String): ObjectMapping.Builder
Maps an enumeration instance to this object. Enumeration membership is contextual.
repeated string instance = 1;

Return

This builder for chaining.

Parameters

index

The index to set the value at.

value

The instance to set.