use of com.google.api.codegen.util.TypedValue in project toolkit by googleapis.
the class SchemaTypeTable method getSnippetZeroValueAndSaveNicknameFor.
@Override
public String getSnippetZeroValueAndSaveNicknameFor(TypeModel type) {
Schema schema = null;
if (!type.isEmptyType()) {
schema = ((DiscoveryField) type).getDiscoveryField();
}
TypedValue typedValue = typeNameConverter.getSnippetZeroValue(schema);
return typedValue.getValueAndSaveTypeNicknameIn(typeTable);
}
Aggregations