@Override @SuppressWarnings("unchecked") public ClusterValue build() { try { ClusterValue record = new ClusterValue(); record.clusterProperties = fieldSetFlags()[0] ? this.clusterProperties : (java.util.Map<java.lang.String,java.lang.String>) defaultValue(fields()[0]); return record; } catch (java.lang.Exception e) { throw new org.apache.avro.AvroRuntimeException(e); } } }