code: func (t *TraceServiceDefinition) GetSpanName() string {
  	if t == nil || t.SpanName == nil {
  		return ""
  	}
  	return *t.SpanName
  }
docs: // GetSpanName returns the SpanName field if non-nil, zero value otherwise.