func (s *String) SetValue(value *structpb.Value) error {
	sv, ok := value.Kind.(*structpb.Value_StringValue)
	if !ok {
		return errors.New("value is not a string value")
	}
	*s = String(sv.StringValue)
	return nil
}
// SetValue sets a new value
SetValue sets a new value
// SetValue sets a new value
func (s *String) SetValue(value *structpb.Value) error {
	sv, ok := value.Kind.(*structpb.Value_StringValue)
	if !ok {
		return errors.New("value is not a string value")
	}
	*s = String(sv.StringValue)
	return nil
}
func ( s * String ) SetValue ( value * structpb . Value ) error { sv , ok := value . Kind . ( * structpb . Value_StringValue ) if ! ok { return errors . New ( " " ) } * s = String ( sv . StringValue ) return nil }
SetValue sets a new value
SetValue sets a new value